[INFO] cloning repository https://github.com/djboardman/gimbal_server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/djboardman/gimbal_server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjboardman%2Fgimbal_server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjboardman%2Fgimbal_server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4f74844b4ae69eba45020f5ccd97928b79272216 [INFO] checking djboardman/gimbal_server against master#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjboardman%2Fgimbal_server" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/djboardman/gimbal_server on toolchain 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/djboardman/gimbal_server [INFO] finished tweaking git repo https://github.com/djboardman/gimbal_server [INFO] tweaked toml for git repo https://github.com/djboardman/gimbal_server written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/djboardman/gimbal_server already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16ca51cabce57f3080ebf0dcd19cff4a2cf0a31082861e8cb45ac116e275c9ea [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "16ca51cabce57f3080ebf0dcd19cff4a2cf0a31082861e8cb45ac116e275c9ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16ca51cabce57f3080ebf0dcd19cff4a2cf0a31082861e8cb45ac116e275c9ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16ca51cabce57f3080ebf0dcd19cff4a2cf0a31082861e8cb45ac116e275c9ea", kill_on_drop: false }` [INFO] [stdout] 16ca51cabce57f3080ebf0dcd19cff4a2cf0a31082861e8cb45ac116e275c9ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1773fb338ce0a58f20085ff82496cf194a024b455f51fac243b36e04b80d096a [INFO] running `Command { std: "docker" "start" "-a" "1773fb338ce0a58f20085ff82496cf194a024b455f51fac243b36e04b80d096a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Checking smartstring v0.2.7 [INFO] [stderr] Checking pest v2.1.3 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling rhai_codegen v1.0.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking rhai v1.0.0 [INFO] [stderr] Checking serde v1.0.126 [INFO] [stderr] Compiling rust_decimal v1.14.3 [INFO] [stderr] Checking serde_yaml v0.8.17 [INFO] [stderr] Compiling rust_decimal_macros v1.14.3 [INFO] [stderr] Checking gimbal_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `serde_yaml::from_str` [INFO] [stdout] --> src/model/aggregate.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_yaml::from_str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_yaml::from_str` [INFO] [stdout] --> src/model/entity.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_yaml::from_str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/model/field.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/model/field.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Span` [INFO] [stdout] --> src/model/parser.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use pest::{Parser, Span}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_yaml::from_str` [INFO] [stdout] --> src/model/aggregate.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_yaml::from_str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_yaml::from_str` [INFO] [stdout] --> src/model/entity.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_yaml::from_str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/model/field.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/model/field.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Span` [INFO] [stdout] --> src/model/parser.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use pest::{Parser, Span}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_o` [INFO] [stdout] --> src/model/command.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | Ok(d_o) => Ok(EventInstance{event_name: self.event_name.clone(), data_object: command_data.clone()}), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_d_o` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/model/command.rs:60:68 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn process_command(&self, command_data: &DataObjectInstance, event: &Event) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load_from_str` [INFO] [stdout] --> src/model/aggregate.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn load_from_str(yaml: &str) -> serde_yaml::Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fields` [INFO] [stdout] --> src/model/entity.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | fields: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load_from_str` [INFO] [stdout] --> src/model/entity.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn load_from_str(yaml: &str) -> serde_yaml::Result{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fields_for_country` [INFO] [stdout] --> src/model/entity.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn fields_for_country(&self, country: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `label_for_lang` [INFO] [stdout] --> src/model/label.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn label_for_lang(&self, lang: &str, default_lang: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `field_for_country` [INFO] [stdout] --> src/model/field.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn field_for_country(&self, country: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ScriptMissing` [INFO] [stdout] --> src/model/command.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | ScriptMissing [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load_from_str` [INFO] [stdout] --> src/model/command.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn load_from_str(yaml: &str) -> serde_yaml::Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `process_command` [INFO] [stdout] --> src/model/command.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn process_command(&self, command_data: &DataObjectInstance, event: &Event) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run_script` [INFO] [stdout] --> src/model/command.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn run_script(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load_from_str` [INFO] [stdout] --> src/model/event.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn load_from_str(yaml: &str) -> serde_yaml::Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load_from_str` [INFO] [stdout] --> src/model/data_type.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn load_from_str(yaml: &str) -> serde_yaml::Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load_from_str` [INFO] [stdout] --> src/model/data_type.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn load_from_str(yaml: &str) -> serde_yaml::Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_model` [INFO] [stdout] --> src/model/parser.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn parse_model(source: &str) -> Result, pest::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `new_model` [INFO] [stdout] --> src/model/parser.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn new_model(pairs: Pairs) -> Result, pest::error::Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rule` [INFO] [stdout] --> src/model/parser.rs:35:3 [INFO] [stdout] | [INFO] [stdout] 35 | rule: Rule, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `children` [INFO] [stdout] --> src/model/parser.rs:36:3 [INFO] [stdout] | [INFO] [stdout] 36 | children: Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/model/parser.rs:40:6 [INFO] [stdout] | [INFO] [stdout] 40 | fn new() -> RuleTree { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `GroupedItems` [INFO] [stdout] --> src/model/parser.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | type GroupedItems = HashMap>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rule` [INFO] [stdout] --> src/model/parser.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 54 | rule: Rule, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `value` [INFO] [stdout] --> src/model/parser.rs:55:3 [INFO] [stdout] | [INFO] [stdout] 55 | value: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `source` [INFO] [stdout] --> src/model/parser.rs:56:3 [INFO] [stdout] | [INFO] [stdout] 56 | source: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `start` [INFO] [stdout] --> src/model/parser.rs:57:3 [INFO] [stdout] | [INFO] [stdout] 57 | start: (usize, usize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `end` [INFO] [stdout] --> src/model/parser.rs:58:3 [INFO] [stdout] | [INFO] [stdout] 58 | end: (usize, usize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/model/parser.rs:59:3 [INFO] [stdout] | [INFO] [stdout] 59 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `properties` [INFO] [stdout] --> src/model/parser.rs:60:3 [INFO] [stdout] | [INFO] [stdout] 60 | properties: Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/model/parser.rs:64:6 [INFO] [stdout] | [INFO] [stdout] 64 | fn new(pair: Pair) -> ModelItem { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parent` [INFO] [stdout] --> src/model/parser.rs:87:6 [INFO] [stdout] | [INFO] [stdout] 87 | fn parent(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `property` [INFO] [stdout] --> src/model/parser.rs:95:6 [INFO] [stdout] | [INFO] [stdout] 95 | fn property(&self, rule: Rule) -> Option<&ModelItem> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `multi_property` [INFO] [stdout] --> src/model/parser.rs:99:6 [INFO] [stdout] | [INFO] [stdout] 99 | fn multi_property(&self, rule: Rule) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `item` [INFO] [stdout] --> src/model/parser.rs:106:3 [INFO] [stdout] | [INFO] [stdout] 106 | item: ModelItem, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `children` [INFO] [stdout] --> src/model/parser.rs:107:3 [INFO] [stdout] | [INFO] [stdout] 107 | children: Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/model/parser.rs:111:6 [INFO] [stdout] | [INFO] [stdout] 111 | fn new(grouped_items: &GroupedItems, rule_tree: RuleTree) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/model.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `default_lang` [INFO] [stdout] --> src/model.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | default_lang: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `aggregates` [INFO] [stdout] --> src/model.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | aggregates: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `labels` [INFO] [stdout] --> src/model.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | labels: LabelMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data_types` [INFO] [stdout] --> src/model.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 23 | data_types: Option> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load_from_str` [INFO] [stdout] --> src/model.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn load_from_str(str: String) -> serde_yaml::Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `String` [INFO] [stdout] --> src/data/data_instance.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | String(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Number` [INFO] [stdout] --> src/data/data_instance.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | Number(f64), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Decimal` [INFO] [stdout] --> src/data/data_instance.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | Decimal(Decimal), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Money` [INFO] [stdout] --> src/data/data_instance.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | Money(Decimal, DataTypeData), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Quantity` [INFO] [stdout] --> src/data/data_instance.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | Quantity(i64), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Amount` [INFO] [stdout] --> src/data/data_instance.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | Amount(Decimal, DataTypeData) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `display` [INFO] [stdout] --> src/data/data_instance.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn display(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 53 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_o` [INFO] [stdout] --> src/model/command.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | Ok(d_o) => Ok(EventInstance{event_name: self.event_name.clone(), data_object: command_data.clone()}), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_d_o` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/model/command.rs:60:68 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn process_command(&self, command_data: &DataObjectInstance, event: &Event) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_object` [INFO] [stdout] --> src/model/aggregate.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let event_object = c.process_command(&command_object, e); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fields` [INFO] [stdout] --> src/model/entity.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | fields: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fields_for_country` [INFO] [stdout] --> src/model/entity.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn fields_for_country(&self, country: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `field_for_country` [INFO] [stdout] --> src/model/field.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn field_for_country(&self, country: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `source` [INFO] [stdout] --> src/model/parser.rs:56:3 [INFO] [stdout] | [INFO] [stdout] 56 | source: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `start` [INFO] [stdout] --> src/model/parser.rs:57:3 [INFO] [stdout] | [INFO] [stdout] 57 | start: (usize, usize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `end` [INFO] [stdout] --> src/model/parser.rs:58:3 [INFO] [stdout] | [INFO] [stdout] 58 | end: (usize, usize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parent` [INFO] [stdout] --> src/model/parser.rs:87:6 [INFO] [stdout] | [INFO] [stdout] 87 | fn parent(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `two_aggs` [INFO] [stdout] --> src/model/parser.rs:170:6 [INFO] [stdout] | [INFO] [stdout] 170 | fn two_aggs() -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/model.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `default_lang` [INFO] [stdout] --> src/model.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | default_lang: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `aggregates` [INFO] [stdout] --> src/model.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | aggregates: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `labels` [INFO] [stdout] --> src/model.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | labels: LabelMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data_types` [INFO] [stdout] --> src/model.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 23 | data_types: Option> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load_from_str` [INFO] [stdout] --> src/model.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn load_from_str(str: String) -> serde_yaml::Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Decimal` [INFO] [stdout] --> src/data/data_instance.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | Decimal(Decimal), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Quantity` [INFO] [stdout] --> src/data/data_instance.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | Quantity(i64), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Amount` [INFO] [stdout] --> src/data/data_instance.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | Amount(Decimal, DataTypeData) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 14s [INFO] running `Command { std: "docker" "inspect" "1773fb338ce0a58f20085ff82496cf194a024b455f51fac243b36e04b80d096a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1773fb338ce0a58f20085ff82496cf194a024b455f51fac243b36e04b80d096a", kill_on_drop: false }` [INFO] [stdout] 1773fb338ce0a58f20085ff82496cf194a024b455f51fac243b36e04b80d096a