[INFO] cloning repository https://github.com/hapejot/fiori-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hapejot/fiori-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhapejot%2Ffiori-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhapejot%2Ffiori-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d66191c3e83aaa1872b39c76f8fcc8e25a1b3fb3 [INFO] checking hapejot/fiori-server against 14450d27a2d0d3b3cb66037c8111ee3da14ed3c2 for pr-160391 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhapejot%2Ffiori-server" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hapejot/fiori-server [INFO] finished tweaking git repo https://github.com/hapejot/fiori-server [INFO] tweaked toml for git repo https://github.com/hapejot/fiori-server written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hapejot/fiori-server on toolchain 14450d27a2d0d3b3cb66037c8111ee3da14ed3c2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+14450d27a2d0d3b3cb66037c8111ee3da14ed3c2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hapejot/fiori-server 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" "+14450d27a2d0d3b3cb66037c8111ee3da14ed3c2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 00b99a80ccea81667f03e3da441337238328855811c98e1ad8d2cfef91f30429 [INFO] running `Command { std: "docker" "start" "00b99a80ccea81667f03e3da441337238328855811c98e1ad8d2cfef91f30429", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "00b99a80ccea81667f03e3da441337238328855811c98e1ad8d2cfef91f30429", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "00b99a80ccea81667f03e3da441337238328855811c98e1ad8d2cfef91f30429" "/opt/rustwide/cargo-home/bin/cargo" "+14450d27a2d0d3b3cb66037c8111ee3da14ed3c2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "00b99a80ccea81667f03e3da441337238328855811c98e1ad8d2cfef91f30429", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "00b99a80ccea81667f03e3da441337238328855811c98e1ad8d2cfef91f30429" "/opt/rustwide/cargo-home/bin/cargo" "+14450d27a2d0d3b3cb66037c8111ee3da14ed3c2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Checking bytes v1.11.1 [INFO] [stderr] Compiling siphasher v1.0.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Checking futures-core v0.3.32 [INFO] [stderr] Compiling rand v0.8.6 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling libm v0.2.16 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking mio v1.2.0 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Checking socket2 v0.6.3 [INFO] [stderr] Checking futures-channel v0.3.32 [INFO] [stderr] Compiling bigdecimal v0.4.10 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking futures-task v0.3.32 [INFO] [stderr] Compiling peg-runtime v0.8.6 [INFO] [stderr] Compiling unicase v2.9.0 [INFO] [stderr] Checking iana-time-zone v0.1.65 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Compiling peg-macros v0.8.6 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Checking uuid v1.23.1 [INFO] [stderr] Checking peg v0.8.6 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Checking bitflags v2.11.1 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking tokio v1.52.3 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Checking tower-http v0.6.10 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking odata-params v0.4.0 (https://github.com/hapejot/odata-params.git#78ddc74e) [INFO] [stderr] Checking hyper v1.9.0 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking axum v0.8.9 [INFO] [stderr] Checking simple-fiori-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ops::Index` [INFO] [stdout] --> src/runtime/data_store.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::Index; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Index` [INFO] [stdout] --> src/runtime/data_store.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::Index; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/runtime/data_store.rs:962:9 [INFO] [stdout] | [INFO] [stdout] 961 | todo!("Implement {query:?}"); [INFO] [stdout] | ---------------------------- any code following this expression is unreachable [INFO] [stdout] 962 | json!([]) [INFO] [stdout] | ^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::json_internal` which comes from the expansion of the macro `json` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/runtime/data_store.rs:962:9 [INFO] [stdout] | [INFO] [stdout] 961 | todo!("Implement {query:?}"); [INFO] [stdout] | ---------------------------- any code following this expression is unreachable [INFO] [stdout] 962 | json!([]) [INFO] [stdout] | ^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::json_internal` which comes from the expansion of the macro `json` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/runtime/handlers.rs:808:5 [INFO] [stdout] | [INFO] [stdout] 806 | return handle_collection(url, state, query); [INFO] [stdout] | ------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 807 | [INFO] [stdout] 808 | let entities = state.entities.read().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/runtime/handlers.rs:808:5 [INFO] [stdout] | [INFO] [stdout] 806 | return handle_collection(url, state, query); [INFO] [stdout] | ------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 807 | [INFO] [stdout] 808 | let entities = state.entities.read().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/runtime/query.rs:307:17 [INFO] [stdout] | [INFO] [stdout] 305 | todo!("expand record"); [INFO] [stdout] | ---------------------- any code following this expression is unreachable [INFO] [stdout] 306 | // DraftAdministrativeData: inject null for active, minimal object for drafts [INFO] [stdout] 307 | / if nav_refs.iter().any(|n| *n == "DraftAdministrativeData") { [INFO] [stdout] 308 | | if let Some(obj) = r.as_object_mut() { [INFO] [stdout] 309 | | let is_draft = [INFO] [stdout] 310 | | obj.get("IsActiveEntity").and_then(|v| v.as_bool()) == Some(false); [INFO] [stdout] ... | [INFO] [stdout] 321 | | } [INFO] [stdout] | |_________________^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/runtime/query.rs:307:17 [INFO] [stdout] | [INFO] [stdout] 305 | todo!("expand record"); [INFO] [stdout] | ---------------------- any code following this expression is unreachable [INFO] [stdout] 306 | // DraftAdministrativeData: inject null for active, minimal object for drafts [INFO] [stdout] 307 | / if nav_refs.iter().any(|n| *n == "DraftAdministrativeData") { [INFO] [stdout] 308 | | if let Some(obj) = r.as_object_mut() { [INFO] [stdout] 309 | | let is_draft = [INFO] [stdout] 310 | | obj.get("IsActiveEntity").and_then(|v| v.as_bool()) == Some(false); [INFO] [stdout] ... | [INFO] [stdout] 321 | | } [INFO] [stdout] | |_________________^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/runtime/data_store.rs:276:18 [INFO] [stdout] | [INFO] [stdout] 276 | Expr::In(expr, exprs) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exprs` [INFO] [stdout] --> src/runtime/data_store.rs:276:24 [INFO] [stdout] | [INFO] [stdout] 276 | Expr::In(expr, exprs) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_exprs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exprs` [INFO] [stdout] --> src/runtime/data_store.rs:277:27 [INFO] [stdout] | [INFO] [stdout] 277 | Expr::Function(_, exprs) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_exprs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/runtime/data_store.rs:279:21 [INFO] [stdout] | [INFO] [stdout] 279 | Expr::Value(value) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `values` [INFO] [stdout] --> src/runtime/data_store.rs:298:30 [INFO] [stdout] | [INFO] [stdout] 298 | Value::Array(values) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_values` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/runtime/data_store.rs:299:31 [INFO] [stdout] | [INFO] [stdout] 299 | Value::Object(map) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_name` [INFO] [stdout] --> src/runtime/data_store.rs:645:21 [INFO] [stdout] | [INFO] [stdout] 645 | fn count(&self, set_name: &str, query: &ODataQuery, parent: Option<&ParentKey>) -> usize { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> src/runtime/data_store.rs:645:37 [INFO] [stdout] | [INFO] [stdout] 645 | fn count(&self, set_name: &str, query: &ODataQuery, parent: Option<&ParentKey>) -> usize { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent` [INFO] [stdout] --> src/runtime/data_store.rs:645:57 [INFO] [stdout] | [INFO] [stdout] 645 | fn count(&self, set_name: &str, query: &ODataQuery, parent: Option<&ParentKey>) -> usize { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sel_draft_admin` [INFO] [stdout] --> src/runtime/data_store.rs:660:13 [INFO] [stdout] | [INFO] [stdout] 660 | let sel_draft_admin = select [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sel_draft_admin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `removed` [INFO] [stdout] --> src/runtime/data_store.rs:667:13 [INFO] [stdout] | [INFO] [stdout] 667 | let removed = expand [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_removed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_name` [INFO] [stdout] --> src/runtime/data_store.rs:685:9 [INFO] [stdout] | [INFO] [stdout] 685 | set_name: &str, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/runtime/data_store.rs:686:9 [INFO] [stdout] | [INFO] [stdout] 686 | data: &Value, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent` [INFO] [stdout] --> src/runtime/data_store.rs:687:9 [INFO] [stdout] | [INFO] [stdout] 687 | parent: Option<&ParentKey>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_name` [INFO] [stdout] --> src/runtime/data_store.rs:694:9 [INFO] [stdout] | [INFO] [stdout] 694 | set_name: &str, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/runtime/data_store.rs:695:9 [INFO] [stdout] | [INFO] [stdout] 695 | key: &EntityKey, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `patch` [INFO] [stdout] --> src/runtime/data_store.rs:696:9 [INFO] [stdout] | [INFO] [stdout] 696 | patch: &Value, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_patch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_name` [INFO] [stdout] --> src/runtime/data_store.rs:701:29 [INFO] [stdout] | [INFO] [stdout] 701 | fn delete_entity(&self, set_name: &str, key: &EntityKey) -> Result<(), StoreError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/runtime/data_store.rs:701:45 [INFO] [stdout] | [INFO] [stdout] 701 | fn delete_entity(&self, set_name: &str, key: &EntityKey) -> Result<(), StoreError> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_name` [INFO] [stdout] --> src/runtime/data_store.rs:705:26 [INFO] [stdout] | [INFO] [stdout] 705 | fn draft_edit(&self, set_name: &str, key: &EntityKey) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/runtime/data_store.rs:705:42 [INFO] [stdout] | [INFO] [stdout] 705 | fn draft_edit(&self, set_name: &str, key: &EntityKey) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_name` [INFO] [stdout] --> src/runtime/data_store.rs:709:30 [INFO] [stdout] | [INFO] [stdout] 709 | fn draft_activate(&self, set_name: &str, key: &EntityKey) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/runtime/data_store.rs:709:46 [INFO] [stdout] | [INFO] [stdout] 709 | fn draft_activate(&self, set_name: &str, key: &EntityKey) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_name` [INFO] [stdout] --> src/runtime/data_store.rs:713:29 [INFO] [stdout] | [INFO] [stdout] 713 | fn draft_prepare(&self, set_name: &str, key: &EntityKey) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/runtime/data_store.rs:713:45 [INFO] [stdout] | [INFO] [stdout] 713 | fn draft_prepare(&self, set_name: &str, key: &EntityKey) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_name` [INFO] [stdout] --> src/runtime/data_store.rs:717:35 [INFO] [stdout] | [INFO] [stdout] 717 | fn read_sibling_entity(&self, set_name: &str, key: &EntityKey) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/runtime/data_store.rs:717:51 [INFO] [stdout] | [INFO] [stdout] 717 | fn read_sibling_entity(&self, set_name: &str, key: &EntityKey) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_name` [INFO] [stdout] --> src/runtime/data_store.rs:723:9 [INFO] [stdout] | [INFO] [stdout] 723 | set_name: &str, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/runtime/data_store.rs:724:9 [INFO] [stdout] | [INFO] [stdout] 724 | key: &EntityKey, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `property` [INFO] [stdout] --> src/runtime/data_store.rs:725:9 [INFO] [stdout] | [INFO] [stdout] 725 | property: &str, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_name` [INFO] [stdout] --> src/runtime/data_store.rs:730:27 [INFO] [stdout] | [INFO] [stdout] 730 | fn get_records(&self, set_name: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entities` [INFO] [stdout] --> src/runtime/data_store.rs:738:31 [INFO] [stdout] | [INFO] [stdout] 738 | fn update_entities(&self, entities: &[ODataEntity]) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entities` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_name` [INFO] [stdout] --> src/runtime/data_store.rs:742:34 [INFO] [stdout] | [INFO] [stdout] 742 | fn initialize_records(&self, set_name: &str, records: Vec) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `records` [INFO] [stdout] --> src/runtime/data_store.rs:742:50 [INFO] [stdout] | [INFO] [stdout] 742 | fn initialize_records(&self, set_name: &str, records: Vec) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_records` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> src/runtime/data_store.rs:950:48 [INFO] [stdout] | [INFO] [stdout] 950 | pub fn expand_record(&self, r: &mut Value, arg: &str) -> Result<(), StoreError> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/runtime/data_store.rs:978:13 [INFO] [stdout] | [INFO] [stdout] 978 | let entity = self [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entities_snap` [INFO] [stdout] --> src/runtime/data_store.rs:981:13 [INFO] [stdout] | [INFO] [stdout] 981 | let entities_snap = self.entities_snapshot(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entities_snap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resolved_entities` [INFO] [stdout] --> src/runtime/data_store.rs:982:13 [INFO] [stdout] | [INFO] [stdout] 982 | let resolved_entities = self.resolved_entities_snapshot(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resolved_entities` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent_is_active` [INFO] [stdout] --> src/runtime/data_store.rs:1032:21 [INFO] [stdout] | [INFO] [stdout] 1032 | let parent_is_active = parent_ref.key.is_active(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_is_active` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_name` [INFO] [stdout] --> src/runtime/data_store.rs:1311:26 [INFO] [stdout] | [INFO] [stdout] 1311 | fn draft_edit(&self, set_name: &str, key: &EntityKey) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/runtime/data_store.rs:1311:42 [INFO] [stdout] | [INFO] [stdout] 1311 | fn draft_edit(&self, set_name: &str, key: &EntityKey) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_name` [INFO] [stdout] --> src/runtime/data_store.rs:1315:30 [INFO] [stdout] | [INFO] [stdout] 1315 | fn draft_activate(&self, set_name: &str, key: &EntityKey) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/runtime/data_store.rs:1315:46 [INFO] [stdout] | [INFO] [stdout] 1315 | fn draft_activate(&self, set_name: &str, key: &EntityKey) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_name` [INFO] [stdout] --> src/runtime/data_store.rs:1319:29 [INFO] [stdout] | [INFO] [stdout] 1319 | fn draft_prepare(&self, set_name: &str, key: &EntityKey) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/runtime/data_store.rs:1319:45 [INFO] [stdout] | [INFO] [stdout] 1319 | fn draft_prepare(&self, set_name: &str, key: &EntityKey) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_name` [INFO] [stdout] --> src/runtime/data_store.rs:1323:35 [INFO] [stdout] | [INFO] [stdout] 1323 | fn read_sibling_entity(&self, set_name: &str, key: &EntityKey) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/runtime/data_store.rs:1323:51 [INFO] [stdout] | [INFO] [stdout] 1323 | fn read_sibling_entity(&self, set_name: &str, key: &EntityKey) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_active` [INFO] [stdout] --> src/runtime/data_store.rs:1337:25 [INFO] [stdout] | [INFO] [stdout] 1337 | let (key_value, is_active) = self.resolve_key(set_name, key)?; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_active` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `items` [INFO] [stdout] --> src/runtime/handlers.rs:222:55 [INFO] [stdout] | [INFO] [stdout] 222 | ODataPathSegment::KeyPredicate(_, items) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_items` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entities` [INFO] [stdout] --> src/runtime/query.rs:254:5 [INFO] [stdout] | [INFO] [stdout] 254 | entities: &[ODataEntity], [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entities` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data_store` [INFO] [stdout] --> src/runtime/query.rs:255:5 [INFO] [stdout] | [INFO] [stdout] 255 | data_store: impl DataStore, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_store` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nav_refs` [INFO] [stdout] --> src/runtime/query.rs:302:17 [INFO] [stdout] | [INFO] [stdout] 302 | let nav_refs: Vec<&str> = nav_names.iter().map(|s| s.as_str()).collect(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nav_refs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/runtime/query.rs:303:17 [INFO] [stdout] | [INFO] [stdout] 303 | for r in &mut results { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/runtime/data_store.rs:276:18 [INFO] [stdout] | [INFO] [stdout] 276 | Expr::In(expr, exprs) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exprs` [INFO] [stdout] --> src/runtime/data_store.rs:276:24 [INFO] [stdout] | [INFO] [stdout] 276 | Expr::In(expr, exprs) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_exprs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exprs` [INFO] [stdout] --> src/runtime/data_store.rs:277:27 [INFO] [stdout] | [INFO] [stdout] 277 | Expr::Function(_, exprs) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_exprs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/runtime/data_store.rs:279:21 [INFO] [stdout] | [INFO] [stdout] 279 | Expr::Value(value) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `values` [INFO] [stdout] --> src/runtime/data_store.rs:298:30 [INFO] [stdout] | [INFO] [stdout] 298 | Value::Array(values) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_values` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/runtime/data_store.rs:299:31 [INFO] [stdout] | [INFO] [stdout] 299 | Value::Object(map) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_name` [INFO] [stdout] --> src/runtime/data_store.rs:645:21 [INFO] [stdout] | [INFO] [stdout] 645 | fn count(&self, set_name: &str, query: &ODataQuery, parent: Option<&ParentKey>) -> usize { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> src/runtime/data_store.rs:645:37 [INFO] [stdout] | [INFO] [stdout] 645 | fn count(&self, set_name: &str, query: &ODataQuery, parent: Option<&ParentKey>) -> usize { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent` [INFO] [stdout] --> src/runtime/data_store.rs:645:57 [INFO] [stdout] | [INFO] [stdout] 645 | fn count(&self, set_name: &str, query: &ODataQuery, parent: Option<&ParentKey>) -> usize { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sel_draft_admin` [INFO] [stdout] --> src/runtime/data_store.rs:660:13 [INFO] [stdout] | [INFO] [stdout] 660 | let sel_draft_admin = select [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sel_draft_admin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `removed` [INFO] [stdout] --> src/runtime/data_store.rs:667:13 [INFO] [stdout] | [INFO] [stdout] 667 | let removed = expand [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_removed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_name` [INFO] [stdout] --> src/runtime/data_store.rs:685:9 [INFO] [stdout] | [INFO] [stdout] 685 | set_name: &str, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/runtime/data_store.rs:686:9 [INFO] [stdout] | [INFO] [stdout] 686 | data: &Value, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent` [INFO] [stdout] --> src/runtime/data_store.rs:687:9 [INFO] [stdout] | [INFO] [stdout] 687 | parent: Option<&ParentKey>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_name` [INFO] [stdout] --> src/runtime/data_store.rs:694:9 [INFO] [stdout] | [INFO] [stdout] 694 | set_name: &str, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/runtime/data_store.rs:695:9 [INFO] [stdout] | [INFO] [stdout] 695 | key: &EntityKey, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `patch` [INFO] [stdout] --> src/runtime/data_store.rs:696:9 [INFO] [stdout] | [INFO] [stdout] 696 | patch: &Value, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_patch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_name` [INFO] [stdout] --> src/runtime/data_store.rs:701:29 [INFO] [stdout] | [INFO] [stdout] 701 | fn delete_entity(&self, set_name: &str, key: &EntityKey) -> Result<(), StoreError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/runtime/data_store.rs:701:45 [INFO] [stdout] | [INFO] [stdout] 701 | fn delete_entity(&self, set_name: &str, key: &EntityKey) -> Result<(), StoreError> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_name` [INFO] [stdout] --> src/runtime/data_store.rs:705:26 [INFO] [stdout] | [INFO] [stdout] 705 | fn draft_edit(&self, set_name: &str, key: &EntityKey) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/runtime/data_store.rs:705:42 [INFO] [stdout] | [INFO] [stdout] 705 | fn draft_edit(&self, set_name: &str, key: &EntityKey) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_name` [INFO] [stdout] --> src/runtime/data_store.rs:709:30 [INFO] [stdout] | [INFO] [stdout] 709 | fn draft_activate(&self, set_name: &str, key: &EntityKey) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/runtime/data_store.rs:709:46 [INFO] [stdout] | [INFO] [stdout] 709 | fn draft_activate(&self, set_name: &str, key: &EntityKey) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_name` [INFO] [stdout] --> src/runtime/data_store.rs:713:29 [INFO] [stdout] | [INFO] [stdout] 713 | fn draft_prepare(&self, set_name: &str, key: &EntityKey) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/runtime/data_store.rs:713:45 [INFO] [stdout] | [INFO] [stdout] 713 | fn draft_prepare(&self, set_name: &str, key: &EntityKey) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_name` [INFO] [stdout] --> src/runtime/data_store.rs:717:35 [INFO] [stdout] | [INFO] [stdout] 717 | fn read_sibling_entity(&self, set_name: &str, key: &EntityKey) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/runtime/data_store.rs:717:51 [INFO] [stdout] | [INFO] [stdout] 717 | fn read_sibling_entity(&self, set_name: &str, key: &EntityKey) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_name` [INFO] [stdout] --> src/runtime/data_store.rs:723:9 [INFO] [stdout] | [INFO] [stdout] 723 | set_name: &str, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/runtime/data_store.rs:724:9 [INFO] [stdout] | [INFO] [stdout] 724 | key: &EntityKey, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `property` [INFO] [stdout] --> src/runtime/data_store.rs:725:9 [INFO] [stdout] | [INFO] [stdout] 725 | property: &str, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_name` [INFO] [stdout] --> src/runtime/data_store.rs:730:27 [INFO] [stdout] | [INFO] [stdout] 730 | fn get_records(&self, set_name: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entities` [INFO] [stdout] --> src/runtime/data_store.rs:738:31 [INFO] [stdout] | [INFO] [stdout] 738 | fn update_entities(&self, entities: &[ODataEntity]) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entities` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_name` [INFO] [stdout] --> src/runtime/data_store.rs:742:34 [INFO] [stdout] | [INFO] [stdout] 742 | fn initialize_records(&self, set_name: &str, records: Vec) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `records` [INFO] [stdout] --> src/runtime/data_store.rs:742:50 [INFO] [stdout] | [INFO] [stdout] 742 | fn initialize_records(&self, set_name: &str, records: Vec) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_records` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> src/runtime/data_store.rs:950:48 [INFO] [stdout] | [INFO] [stdout] 950 | pub fn expand_record(&self, r: &mut Value, arg: &str) -> Result<(), StoreError> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/runtime/data_store.rs:978:13 [INFO] [stdout] | [INFO] [stdout] 978 | let entity = self [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entities_snap` [INFO] [stdout] --> src/runtime/data_store.rs:981:13 [INFO] [stdout] | [INFO] [stdout] 981 | let entities_snap = self.entities_snapshot(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entities_snap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resolved_entities` [INFO] [stdout] --> src/runtime/data_store.rs:982:13 [INFO] [stdout] | [INFO] [stdout] 982 | let resolved_entities = self.resolved_entities_snapshot(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resolved_entities` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent_is_active` [INFO] [stdout] --> src/runtime/data_store.rs:1032:21 [INFO] [stdout] | [INFO] [stdout] 1032 | let parent_is_active = parent_ref.key.is_active(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_is_active` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_name` [INFO] [stdout] --> src/runtime/data_store.rs:1311:26 [INFO] [stdout] | [INFO] [stdout] 1311 | fn draft_edit(&self, set_name: &str, key: &EntityKey) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/runtime/data_store.rs:1311:42 [INFO] [stdout] | [INFO] [stdout] 1311 | fn draft_edit(&self, set_name: &str, key: &EntityKey) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_name` [INFO] [stdout] --> src/runtime/data_store.rs:1315:30 [INFO] [stdout] | [INFO] [stdout] 1315 | fn draft_activate(&self, set_name: &str, key: &EntityKey) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/runtime/data_store.rs:1315:46 [INFO] [stdout] | [INFO] [stdout] 1315 | fn draft_activate(&self, set_name: &str, key: &EntityKey) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_name` [INFO] [stdout] --> src/runtime/data_store.rs:1319:29 [INFO] [stdout] | [INFO] [stdout] 1319 | fn draft_prepare(&self, set_name: &str, key: &EntityKey) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/runtime/data_store.rs:1319:45 [INFO] [stdout] | [INFO] [stdout] 1319 | fn draft_prepare(&self, set_name: &str, key: &EntityKey) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_name` [INFO] [stdout] --> src/runtime/data_store.rs:1323:35 [INFO] [stdout] | [INFO] [stdout] 1323 | fn read_sibling_entity(&self, set_name: &str, key: &EntityKey) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/runtime/data_store.rs:1323:51 [INFO] [stdout] | [INFO] [stdout] 1323 | fn read_sibling_entity(&self, set_name: &str, key: &EntityKey) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_active` [INFO] [stdout] --> src/runtime/data_store.rs:1337:25 [INFO] [stdout] | [INFO] [stdout] 1337 | let (key_value, is_active) = self.resolve_key(set_name, key)?; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_active` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `items` [INFO] [stdout] --> src/runtime/handlers.rs:222:55 [INFO] [stdout] | [INFO] [stdout] 222 | ODataPathSegment::KeyPredicate(_, items) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_items` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entities` [INFO] [stdout] --> src/runtime/query.rs:254:5 [INFO] [stdout] | [INFO] [stdout] 254 | entities: &[ODataEntity], [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entities` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data_store` [INFO] [stdout] --> src/runtime/query.rs:255:5 [INFO] [stdout] | [INFO] [stdout] 255 | data_store: impl DataStore, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_store` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nav_refs` [INFO] [stdout] --> src/runtime/query.rs:302:17 [INFO] [stdout] | [INFO] [stdout] 302 | let nav_refs: Vec<&str> = nav_names.iter().map(|s| s.as_str()).collect(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nav_refs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/runtime/query.rs:303:17 [INFO] [stdout] | [INFO] [stdout] 303 | for r in &mut results { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contains` is never used [INFO] [stdout] --> src/runtime/data_store.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 74 | impl ChangeSet { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 82 | fn contains(&self, set_name: &str, key_field: &str, key_value: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inject_draft_flags` is never used [INFO] [stdout] --> src/runtime/data_store.rs:92:15 [INFO] [stdout] | [INFO] [stdout] 92 | pub(crate) fn inject_draft_flags( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `changeset` is never read [INFO] [stdout] --> src/runtime/data_store.rs:601:5 [INFO] [stdout] | [INFO] [stdout] 598 | pub struct DraftDataStore { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 601 | changeset: RwLock, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `fallback_expand_collection`, `fallback_expand_record`, and `query_collection_from` are never used [INFO] [stdout] --> src/runtime/data_store.rs:829:8 [INFO] [stdout] | [INFO] [stdout] 764 | impl InMemoryDataStore { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 829 | fn fallback_expand_collection( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 854 | fn fallback_expand_record( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 955 | fn query_collection_from(&self, query: &ODataQuery) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inject_draft_admin_data` is never used [INFO] [stdout] --> src/runtime/data_store.rs:1429:15 [INFO] [stdout] | [INFO] [stdout] 1429 | pub(crate) fn inject_draft_admin_data(record: &mut Value, key_field: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inject_sibling_entity_from_changeset` is never used [INFO] [stdout] --> src/runtime/data_store.rs:1451:15 [INFO] [stdout] | [INFO] [stdout] 1451 | pub(crate) fn inject_sibling_entity_from_changeset( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inject_sibling_entity` is never used [INFO] [stdout] --> src/runtime/query.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn inject_sibling_entity(record: &mut Value, key_field: &str, all_records: &[Value]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> tests/query.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | Err(e) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> tests/common_store.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> tests/common_store.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FieldDef`, `NavigationPropertyDef`, `ODataEntity`, and `entities::EntityFacetEntity` [INFO] [stdout] --> tests/common_store.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | entities::EntityFacetEntity, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | entity::{ODataEntity, ODataEntityImp}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 7 | runtime::data_store::*, [INFO] [stdout] 8 | spec::{FieldDef, NavigationPropertyDef}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ODataEntityImp` [INFO] [stdout] --> tests/common_store.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | entity::{ODataEntity, ODataEntityImp}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contains` is never used [INFO] [stdout] --> src/runtime/data_store.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 74 | impl ChangeSet { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 82 | fn contains(&self, set_name: &str, key_field: &str, key_value: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inject_draft_flags` is never used [INFO] [stdout] --> src/runtime/data_store.rs:92:15 [INFO] [stdout] | [INFO] [stdout] 92 | pub(crate) fn inject_draft_flags( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `changeset` is never read [INFO] [stdout] --> src/runtime/data_store.rs:601:5 [INFO] [stdout] | [INFO] [stdout] 598 | pub struct DraftDataStore { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 601 | changeset: RwLock, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `fallback_expand_collection`, `fallback_expand_record`, and `query_collection_from` are never used [INFO] [stdout] --> src/runtime/data_store.rs:829:8 [INFO] [stdout] | [INFO] [stdout] 764 | impl InMemoryDataStore { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 829 | fn fallback_expand_collection( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 854 | fn fallback_expand_record( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 955 | fn query_collection_from(&self, query: &ODataQuery) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inject_draft_admin_data` is never used [INFO] [stdout] --> src/runtime/data_store.rs:1429:15 [INFO] [stdout] | [INFO] [stdout] 1429 | pub(crate) fn inject_draft_admin_data(record: &mut Value, key_field: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inject_sibling_entity_from_changeset` is never used [INFO] [stdout] --> src/runtime/data_store.rs:1451:15 [INFO] [stdout] | [INFO] [stdout] 1451 | pub(crate) fn inject_sibling_entity_from_changeset( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inject_sibling_entity` is never used [INFO] [stdout] --> src/runtime/query.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn inject_sibling_entity(record: &mut Value, key_field: &str, all_records: &[Value]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestEntity` is never constructed [INFO] [stdout] --> src/runtime/query.rs:427:12 [INFO] [stdout] | [INFO] [stdout] 427 | struct TestEntity; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/runtime/query.rs:429:12 [INFO] [stdout] | [INFO] [stdout] 428 | impl TestEntity { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 429 | fn new() -> ODataEntity { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_qs` is never used [INFO] [stdout] --> src/runtime/query.rs:510:8 [INFO] [stdout] | [INFO] [stdout] 510 | fn make_qs(pairs: &[(&str, &str)]) -> HashMap { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `empty_ds` is never used [INFO] [stdout] --> src/runtime/query.rs:517:8 [INFO] [stdout] | [INFO] [stdout] 517 | fn empty_ds() -> HashMap> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 23s [INFO] running `Command { std: "docker" "inspect" "00b99a80ccea81667f03e3da441337238328855811c98e1ad8d2cfef91f30429", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00b99a80ccea81667f03e3da441337238328855811c98e1ad8d2cfef91f30429", kill_on_drop: false }` [INFO] [stdout] 00b99a80ccea81667f03e3da441337238328855811c98e1ad8d2cfef91f30429