[INFO] cloning repository https://github.com/gears-project/gearsx [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gears-project/gearsx" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgears-project%2Fgearsx", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgears-project%2Fgearsx'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 228930be913036cfea5441a176c5c0e5343fa457 [INFO] checking gears-project/gearsx against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgears-project%2Fgearsx" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gears-project/gearsx on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gears-project/gearsx [INFO] finished tweaking git repo https://github.com/gears-project/gearsx [INFO] tweaked toml for git repo https://github.com/gears-project/gearsx written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/gears-project/gearsx already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", 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] 01ae254f26b966c1df993b779c7590fbb438a5fdc7865fd2cb3c674d6db702ed [INFO] running `Command { std: "docker" "start" "-a" "01ae254f26b966c1df993b779c7590fbb438a5fdc7865fd2cb3c674d6db702ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01ae254f26b966c1df993b779c7590fbb438a5fdc7865fd2cb3c674d6db702ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01ae254f26b966c1df993b779c7590fbb438a5fdc7865fd2cb3c674d6db702ed", kill_on_drop: false }` [INFO] [stdout] 01ae254f26b966c1df993b779c7590fbb438a5fdc7865fd2cb3c674d6db702ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7941b87203e266cc35deca785f97e06fb15a09a2ed8208e7d5331139c6043da [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" "a7941b87203e266cc35deca785f97e06fb15a09a2ed8208e7d5331139c6043da", kill_on_drop: false }` [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking futures-sink v0.3.3 [INFO] [stderr] Checking futures-core v0.3.3 [INFO] [stderr] Checking futures-io v0.3.3 [INFO] [stderr] Checking futures-task v0.3.3 [INFO] [stderr] Checking utf-8 v0.7.5 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking lock_api v0.3.2 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking parking_lot_core v0.7.0 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking crossbeam-utils v0.7.0 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking futures-channel v0.3.3 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking backtrace v0.3.43 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking input_buffer v0.2.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking headers-core v0.1.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking parking_lot v0.10.0 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking crossbeam-epoch v0.8.0 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking mime_guess v2.0.1 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking headers v0.2.3 [INFO] [stderr] Checking scheduled-thread-pool v0.2.3 [INFO] [stderr] Checking url v2.1.0 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Compiling mime_guess v1.8.7 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking r2d2 v0.8.8 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-uds v0.2.6 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking tungstenite v0.9.2 [INFO] [stderr] Checking multipart v0.16.1 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling juniper_codegen v0.14.2 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Compiling futures-macro v0.3.3 [INFO] [stderr] Checking futures-util v0.3.3 [INFO] [stderr] Checking futures-executor v0.3.3 [INFO] [stderr] Checking futures v0.3.3 [INFO] [stderr] Checking serde v1.0.104 [INFO] [stderr] Checking serde_json v1.0.44 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking serde_yaml v0.8.11 [INFO] [stderr] Compiling serde_tuple v0.4.0 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking juniper v0.14.2 [INFO] [stderr] Checking diesel v1.4.4 [INFO] [stderr] Checking hyper v0.12.35 [INFO] [stderr] Checking warp v0.1.20 [INFO] [stderr] Checking juniper_warp v0.5.2 [INFO] [stderr] Checking gearsx v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/structure/data.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/domain.rs:172:61 [INFO] [stdout] | [INFO] [stdout] 172 | let res: Vec<&Entity> = self.entities.iter().filter({ |e| e.id.eq(&id) }).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/domain.rs:181:51 [INFO] [stdout] | [INFO] [stdout] 181 | let index = self.entities.iter().position({ |e| e.id.eq(&id) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/domain.rs:193:21 [INFO] [stdout] | [INFO] [stdout] 193 | .filter({ |e| e.name.eq(name) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/domain.rs:215:51 [INFO] [stdout] | [INFO] [stdout] 215 | let index = entities.into_iter().position({ |e| e.id.eq(&id) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/domain.rs:262:21 [INFO] [stdout] | [INFO] [stdout] 262 | .filter({ |e| e.name.eq(name) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/structure/xflow.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/structure/data.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DocumentReference` [INFO] [stdout] --> src/structure/fngroup.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use super::common::{Document, DocumentReference}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FnGroupFnNew` [INFO] [stdout] --> src/structure/fngroup.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::messages::{FnGroupFnNew, FnGroupFnUpdate}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/fngroup.rs:124:46 [INFO] [stdout] | [INFO] [stdout] 124 | let index = self.fns.iter().position({ |e| e.id.eq(&id) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/domain.rs:172:61 [INFO] [stdout] | [INFO] [stdout] 172 | let res: Vec<&Entity> = self.entities.iter().filter({ |e| e.id.eq(&id) }).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/domain.rs:181:51 [INFO] [stdout] | [INFO] [stdout] 181 | let index = self.entities.iter().position({ |e| e.id.eq(&id) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/domain.rs:193:21 [INFO] [stdout] | [INFO] [stdout] 193 | .filter({ |e| e.name.eq(name) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/domain.rs:215:51 [INFO] [stdout] | [INFO] [stdout] 215 | let index = entities.into_iter().position({ |e| e.id.eq(&id) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/domain.rs:262:21 [INFO] [stdout] | [INFO] [stdout] 262 | .filter({ |e| e.name.eq(name) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/structure/xflow.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DocumentReference` [INFO] [stdout] --> src/structure/fngroup.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use super::common::{Document, DocumentReference}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FnGroupFnNew` [INFO] [stdout] --> src/structure/fngroup.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::messages::{FnGroupFnNew, FnGroupFnUpdate}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/fngroup.rs:124:46 [INFO] [stdout] | [INFO] [stdout] 124 | let index = self.fns.iter().position({ |e| e.id.eq(&id) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:15:68 [INFO] [stdout] | [INFO] [stdout] 15 | Err(why) => panic!("couldn't open {}: {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:15:68 [INFO] [stdout] | [INFO] [stdout] 15 | Err(why) => panic!("couldn't open {}: {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:21:56 [INFO] [stdout] | [INFO] [stdout] 21 | panic!("couldn't read {}: {}", display, Error::description(&why)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:21:56 [INFO] [stdout] | [INFO] [stdout] 21 | panic!("couldn't read {}: {}", display, Error::description(&why)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/structure/data.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 164 | unimplemented!(); [INFO] [stdout] | ----------------- any code following this expression is unreachable [INFO] [stdout] 165 | [INFO] [stdout] 166 | ids [INFO] [stdout] | ^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/structure/data.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 164 | unimplemented!(); [INFO] [stdout] | ----------------- any code following this expression is unreachable [INFO] [stdout] 165 | [INFO] [stdout] 166 | ids [INFO] [stdout] | ^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:33:59 [INFO] [stdout] | [INFO] [stdout] 33 | error!("couldn't create {}: {}", display, why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:34:59 [INFO] [stdout] | [INFO] [stdout] 34 | panic!("couldn't create {}: {}", display, why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:41:61 [INFO] [stdout] | [INFO] [stdout] 41 | error!("couldn't write to {}: {}", display, why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:42:61 [INFO] [stdout] | [INFO] [stdout] 42 | panic!("couldn't write to {}: {}", display, why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:33:59 [INFO] [stdout] | [INFO] [stdout] 33 | error!("couldn't create {}: {}", display, why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:34:59 [INFO] [stdout] | [INFO] [stdout] 34 | panic!("couldn't create {}: {}", display, why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:41:61 [INFO] [stdout] | [INFO] [stdout] 41 | error!("couldn't write to {}: {}", display, why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:42:61 [INFO] [stdout] | [INFO] [stdout] 42 | panic!("couldn't write to {}: {}", display, why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/structure/domain.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/structure/xflow.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/structure/fngroup.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/structure/domain.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | &mut self.entities.remove(idx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 218 | let _ = &mut self.entities.remove(idx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/structure/domain.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/structure/xflow.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/structure/fngroup.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/structure/domain.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | &mut self.entities.remove(idx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 218 | let _ = &mut self.entities.remove(idx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> tests/common/mod.rs:27:68 [INFO] [stdout] | [INFO] [stdout] 27 | Err(why) => panic!("couldn't open {}: {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> tests/common/mod.rs:34:56 [INFO] [stdout] | [INFO] [stdout] 34 | panic!("couldn't read {}: {}", display, Error::description(&why)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> tests/common/mod.rs:27:68 [INFO] [stdout] | [INFO] [stdout] 27 | Err(why) => panic!("couldn't open {}: {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> tests/common/mod.rs:34:56 [INFO] [stdout] | [INFO] [stdout] 34 | panic!("couldn't read {}: {}", display, Error::description(&why)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/structure/data.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/domain.rs:172:61 [INFO] [stdout] | [INFO] [stdout] 172 | let res: Vec<&Entity> = self.entities.iter().filter({ |e| e.id.eq(&id) }).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/domain.rs:181:51 [INFO] [stdout] | [INFO] [stdout] 181 | let index = self.entities.iter().position({ |e| e.id.eq(&id) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/domain.rs:193:21 [INFO] [stdout] | [INFO] [stdout] 193 | .filter({ |e| e.name.eq(name) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/domain.rs:215:51 [INFO] [stdout] | [INFO] [stdout] 215 | let index = entities.into_iter().position({ |e| e.id.eq(&id) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/domain.rs:262:21 [INFO] [stdout] | [INFO] [stdout] 262 | .filter({ |e| e.name.eq(name) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/structure/xflow.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DocumentReference` [INFO] [stdout] --> src/structure/fngroup.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use super::common::{Document, DocumentReference}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FnGroupFnNew` [INFO] [stdout] --> src/structure/fngroup.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::messages::{FnGroupFnNew, FnGroupFnUpdate}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/fngroup.rs:124:46 [INFO] [stdout] | [INFO] [stdout] 124 | let index = self.fns.iter().position({ |e| e.id.eq(&id) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/structure/data.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/domain.rs:172:61 [INFO] [stdout] | [INFO] [stdout] 172 | let res: Vec<&Entity> = self.entities.iter().filter({ |e| e.id.eq(&id) }).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/domain.rs:181:51 [INFO] [stdout] | [INFO] [stdout] 181 | let index = self.entities.iter().position({ |e| e.id.eq(&id) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/domain.rs:193:21 [INFO] [stdout] | [INFO] [stdout] 193 | .filter({ |e| e.name.eq(name) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/domain.rs:215:51 [INFO] [stdout] | [INFO] [stdout] 215 | let index = entities.into_iter().position({ |e| e.id.eq(&id) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/domain.rs:262:21 [INFO] [stdout] | [INFO] [stdout] 262 | .filter({ |e| e.name.eq(name) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/structure/xflow.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DocumentReference` [INFO] [stdout] --> src/structure/fngroup.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use super::common::{Document, DocumentReference}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FnGroupFnNew` [INFO] [stdout] --> src/structure/fngroup.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::messages::{FnGroupFnNew, FnGroupFnUpdate}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/fngroup.rs:124:46 [INFO] [stdout] | [INFO] [stdout] 124 | let index = self.fns.iter().position({ |e| e.id.eq(&id) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:15:68 [INFO] [stdout] | [INFO] [stdout] 15 | Err(why) => panic!("couldn't open {}: {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:21:56 [INFO] [stdout] | [INFO] [stdout] 21 | panic!("couldn't read {}: {}", display, Error::description(&why)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:15:68 [INFO] [stdout] | [INFO] [stdout] 15 | Err(why) => panic!("couldn't open {}: {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:21:56 [INFO] [stdout] | [INFO] [stdout] 21 | panic!("couldn't read {}: {}", display, Error::description(&why)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/structure/data.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 164 | unimplemented!(); [INFO] [stdout] | ----------------- any code following this expression is unreachable [INFO] [stdout] 165 | [INFO] [stdout] 166 | ids [INFO] [stdout] | ^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/structure/data.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 164 | unimplemented!(); [INFO] [stdout] | ----------------- any code following this expression is unreachable [INFO] [stdout] 165 | [INFO] [stdout] 166 | ids [INFO] [stdout] | ^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:33:59 [INFO] [stdout] | [INFO] [stdout] 33 | error!("couldn't create {}: {}", display, why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:34:59 [INFO] [stdout] | [INFO] [stdout] 34 | panic!("couldn't create {}: {}", display, why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:41:61 [INFO] [stdout] | [INFO] [stdout] 41 | error!("couldn't write to {}: {}", display, why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:42:61 [INFO] [stdout] | [INFO] [stdout] 42 | panic!("couldn't write to {}: {}", display, why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:33:59 [INFO] [stdout] | [INFO] [stdout] 33 | error!("couldn't create {}: {}", display, why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:34:59 [INFO] [stdout] | [INFO] [stdout] 34 | panic!("couldn't create {}: {}", display, why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:41:61 [INFO] [stdout] | [INFO] [stdout] 41 | error!("couldn't write to {}: {}", display, why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:42:61 [INFO] [stdout] | [INFO] [stdout] 42 | panic!("couldn't write to {}: {}", display, why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_json_file` [INFO] [stdout] --> src/util/fs.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn read_json_file(path: &Path) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_file` [INFO] [stdout] --> src/util/fs.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn write_file(filename: &str, data: &str) -> () { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_dir` [INFO] [stdout] --> src/util/fs.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn create_dir(path: &str) -> () { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `model_to_fs` [INFO] [stdout] --> src/util/fs.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn model_to_fs(model: &ModelxDocument, path: &str) -> Result<(), ModelLoadError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `model_from_fs` [INFO] [stdout] --> src/util/fs.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn model_from_fs(path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `init_new_model_dir` [INFO] [stdout] --> src/util/fs.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn init_new_model_dir(path: &str) -> Result<(), ModelLoadError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_model_dir` [INFO] [stdout] --> src/util/fs.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn is_model_dir(path: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `uuid_to_label` [INFO] [stdout] --> src/util/naming.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn uuid_to_label(id: &Uuid) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_json_file` [INFO] [stdout] --> src/util/fs.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn read_json_file(path: &Path) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_file` [INFO] [stdout] --> src/util/fs.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn write_file(filename: &str, data: &str) -> () { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_dir` [INFO] [stdout] --> src/util/fs.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn create_dir(path: &str) -> () { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `model_to_fs` [INFO] [stdout] --> src/util/fs.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn model_to_fs(model: &ModelxDocument, path: &str) -> Result<(), ModelLoadError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `model_from_fs` [INFO] [stdout] --> src/util/fs.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn model_from_fs(path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `init_new_model_dir` [INFO] [stdout] --> src/util/fs.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn init_new_model_dir(path: &str) -> Result<(), ModelLoadError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_model_dir` [INFO] [stdout] --> src/util/fs.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn is_model_dir(path: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `uuid_to_label` [INFO] [stdout] --> src/util/naming.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn uuid_to_label(id: &Uuid) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/structure/domain.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/structure/xflow.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/structure/fngroup.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/structure/domain.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | &mut self.entities.remove(idx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 218 | let _ = &mut self.entities.remove(idx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/structure/domain.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/structure/xflow.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/structure/fngroup.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/structure/domain.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | &mut self.entities.remove(idx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 218 | let _ = &mut self.entities.remove(idx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 38s [INFO] running `Command { std: "docker" "inspect" "a7941b87203e266cc35deca785f97e06fb15a09a2ed8208e7d5331139c6043da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7941b87203e266cc35deca785f97e06fb15a09a2ed8208e7d5331139c6043da", kill_on_drop: false }` [INFO] [stdout] a7941b87203e266cc35deca785f97e06fb15a09a2ed8208e7d5331139c6043da