[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] testing gears-project/gearsx against 1.73.0 for beta-1.74-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgears-project%2Fgearsx" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/gears-project/gearsx on toolchain 1.73.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.73.0" "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-6-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.73.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded futures-macro v0.3.3
[INFO] [stderr]   Downloaded futures v0.3.3
[INFO] [stderr]   Downloaded serde_tuple v0.4.0
[INFO] [stderr]   Downloaded headers v0.2.3
[INFO] [stderr]   Downloaded futures-sink v0.3.3
[INFO] [stderr]   Downloaded headers-core v0.1.1
[INFO] [stderr]   Downloaded futures-core v0.3.3
[INFO] [stderr]   Downloaded futures-channel v0.3.3
[INFO] [stderr]   Downloaded tungstenite v0.9.2
[INFO] [stderr]   Downloaded juniper_warp v0.5.2
[INFO] [stderr]   Downloaded warp v0.1.20
[INFO] [stderr]   Downloaded futures-util v0.3.3
[INFO] [stderr]   Downloaded diesel v1.4.4
[INFO] [stderr]   Downloaded futures-io v0.3.3
[INFO] [stderr]   Downloaded tokio-uds v0.2.6
[INFO] [stderr]   Downloaded futures-executor v0.3.3
[INFO] [stderr]   Downloaded futures-task v0.3.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+1.73.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 95c55386f407b6081e40bce7ebf27f1d3b8c29f1efd92ce4302ec1da07c5b248
[INFO] running `Command { std: "docker" "start" "-a" "95c55386f407b6081e40bce7ebf27f1d3b8c29f1efd92ce4302ec1da07c5b248", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "95c55386f407b6081e40bce7ebf27f1d3b8c29f1efd92ce4302ec1da07c5b248", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "95c55386f407b6081e40bce7ebf27f1d3b8c29f1efd92ce4302ec1da07c5b248", kill_on_drop: false }`
[INFO] [stdout] 95c55386f407b6081e40bce7ebf27f1d3b8c29f1efd92ce4302ec1da07c5b248
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+1.73.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ed6b8d58bcac17c86c6263e6a21f1e32bb6e8d87480c40a0d25d6cabd70b863f
[INFO] running `Command { std: "docker" "start" "-a" "ed6b8d58bcac17c86c6263e6a21f1e32bb6e8d87480c40a0d25d6cabd70b863f", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.66
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling proc-macro2 v1.0.6
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]    Compiling syn v1.0.11
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling futures v0.1.29
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling either v1.5.3
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling crossbeam-utils v0.7.0
[INFO] [stderr]    Compiling scopeguard v1.0.0
[INFO] [stderr]    Compiling slab v0.4.2
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling fnv v1.0.6
[INFO] [stderr]    Compiling serde v1.0.104
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling lock_api v0.3.2
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling smallvec v1.1.0
[INFO] [stderr]    Compiling bytes v0.4.12
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling memchr v2.2.1
[INFO] [stderr]    Compiling unicase v1.4.2
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling tokio-executor v0.1.10
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling itoa v0.4.4
[INFO] [stderr]    Compiling tokio-io v0.1.13
[INFO] [stderr]    Compiling num_cpus v1.12.0
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]    Compiling smallvec v0.6.13
[INFO] [stderr]    Compiling net2 v0.2.33
[INFO] [stderr]    Compiling memoffset v0.5.3
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling siphasher v0.2.3
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling typenum v1.11.2
[INFO] [stderr]    Compiling mio v0.6.21
[INFO] [stderr]    Compiling phf_shared v0.7.24
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.0
[INFO] [stderr]    Compiling http v0.1.21
[INFO] [stderr]    Compiling tokio-sync v0.1.8
[INFO] [stderr]    Compiling ppv-lite86 v0.2.6
[INFO] [stderr]    Compiling version_check v0.9.1
[INFO] [stderr]    Compiling matches v0.1.8
[INFO] [stderr]    Compiling unicode-bidi v0.3.4
[INFO] [stderr]    Compiling generic-array v0.12.3
[INFO] [stderr]    Compiling c2-chacha v0.2.3
[INFO] [stderr]    Compiling tokio-reactor v0.1.12
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling phf_generator v0.7.24
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.11
[INFO] [stderr]    Compiling time v0.1.42
[INFO] [stderr]    Compiling num-traits v0.2.10
[INFO] [stderr]    Compiling indexmap v1.3.0
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling byte-tools v0.3.1
[INFO] [stderr]    Compiling httparse v1.3.4
[INFO] [stderr]    Compiling block-padding v0.1.5
[INFO] [stderr]    Compiling crossbeam-deque v0.7.2
[INFO] [stderr]    Compiling rand_chacha v0.2.1
[INFO] [stderr]    Compiling phf_codegen v0.7.24
[INFO] [stderr]    Compiling tokio-codec v0.1.2
[INFO] [stderr]    Compiling crossbeam-queue v0.2.1
[INFO] [stderr]    Compiling num-integer v0.1.41
[INFO] [stderr]    Compiling ryu v1.0.2
[INFO] [stderr]    Compiling cc v1.0.50
[INFO] [stderr]    Compiling idna v0.2.0
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling tokio-threadpool v0.1.18
[INFO] [stderr]    Compiling mime_guess v1.8.7
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling url v2.1.0
[INFO] [stderr]    Compiling backtrace-sys v0.1.32
[INFO] [stderr]    Compiling block-buffer v0.7.3
[INFO] [stderr]    Compiling digest v0.8.1
[INFO] [stderr]    Compiling mio-uds v0.6.7
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling quick-error v1.2.2
[INFO] [stderr]    Compiling opaque-debug v0.2.3
[INFO] [stderr]    Compiling fake-simd v0.1.2
[INFO] [stderr]    Compiling proc-macro-nested v0.1.3
[INFO] [stderr]    Compiling sha-1 v0.8.2
[INFO] [stderr]    Compiling mime v0.2.6
[INFO] [stderr]    Compiling tokio-uds v0.2.6
[INFO] [stderr]    Compiling tokio-fs v0.1.7
[INFO] [stderr]    Compiling mime_guess v2.0.1
[INFO] [stderr]    Compiling tokio-udp v0.1.6
[INFO] [stderr]    Compiling tokio-tcp v0.1.4
[INFO] [stderr]    Compiling phf v0.7.24
[INFO] [stderr]    Compiling tokio-timer v0.2.13
[INFO] [stderr]    Compiling tokio-current-thread v0.1.7
[INFO] [stderr]    Compiling tokio-buf v0.1.1
[INFO] [stderr]    Compiling string v0.2.1
[INFO] [stderr]    Compiling parking_lot_core v0.7.0
[INFO] [stderr]    Compiling hyper v0.12.35
[INFO] [stderr]    Compiling futures-sink v0.3.3
[INFO] [stderr]    Compiling failure_derive v0.1.6
[INFO] [stderr]    Compiling futures-core v0.3.3
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling remove_dir_all v0.5.2
[INFO] [stderr]    Compiling safemem v0.3.3
[INFO] [stderr]    Compiling dtoa v0.4.4
[INFO] [stderr]    Compiling try-lock v0.2.2
[INFO] [stderr]    Compiling buf_redux v0.8.4
[INFO] [stderr]    Compiling tempfile v3.1.0
[INFO] [stderr]    Compiling want v0.2.0
[INFO] [stderr]    Compiling tokio v0.1.22
[INFO] [stderr]    Compiling parking_lot v0.10.0
[INFO] [stderr]    Compiling futures-channel v0.3.3
[INFO] [stderr]    Compiling http-body v0.1.0
[INFO] [stderr]    Compiling serde_derive v1.0.104
[INFO] [stderr]    Compiling proc-macro-hack v0.5.11
[INFO] [stderr]    Compiling synstructure v0.12.3
[INFO] [stderr]    Compiling headers-core v0.1.1
[INFO] [stderr]    Compiling twoway v0.1.8
[INFO] [stderr]    Compiling futures-cpupool v0.1.8
[INFO] [stderr]    Compiling input_buffer v0.2.0
[INFO] [stderr]    Compiling base64 v0.10.1
[INFO] [stderr]    Compiling futures-io v0.3.3
[INFO] [stderr]    Compiling futures-task v0.3.3
[INFO] [stderr]    Compiling pq-sys v0.4.6
[INFO] [stderr]    Compiling pin-utils v0.1.0-alpha.4
[INFO] [stderr]    Compiling utf-8 v0.7.5
[INFO] [stderr]    Compiling rustc-demangle v0.1.16
[INFO] [stderr]    Compiling base64 v0.11.0
[INFO] [stderr]    Compiling headers v0.2.3
[INFO] [stderr]    Compiling multipart v0.16.1
[INFO] [stderr]    Compiling tungstenite v0.9.2
[INFO] [stderr]    Compiling scheduled-thread-pool v0.2.3
[INFO] [stderr]    Compiling futures-macro v0.3.3
[INFO] [stderr]    Compiling backtrace v0.3.43
[INFO] [stderr]    Compiling juniper_codegen v0.14.2
[INFO] [stderr]    Compiling aho-corasick v0.7.6
[INFO] [stderr]    Compiling atty v0.2.13
[INFO] [stderr]    Compiling thread_local v0.3.6
[INFO] [stderr]    Compiling regex-syntax v0.6.12
[INFO] [stderr]    Compiling urlencoding v1.0.0
[INFO] [stderr]    Compiling scoped-tls v1.0.0
[INFO] [stderr]    Compiling linked-hash-map v0.5.2
[INFO] [stderr]    Compiling unicode-width v0.1.7
[INFO] [stderr]    Compiling failure v0.1.6
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling yaml-rust v0.4.3
[INFO] [stderr]    Compiling r2d2 v0.8.8
[INFO] [stderr]    Compiling futures-util v0.3.3
[INFO] [stderr]    Compiling diesel_derives v1.4.1
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling yaml-rust v0.3.5
[INFO] [stderr]    Compiling termcolor v1.0.5
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling regex v1.3.1
[INFO] [stderr]    Compiling vec_map v0.8.1
[INFO] [stderr]    Compiling glob v0.3.0
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling futures-executor v0.3.3
[INFO] [stderr]    Compiling futures v0.3.3
[INFO] [stderr]    Compiling clap v2.33.0
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling uuid v0.7.4
[INFO] [stderr]    Compiling chrono v0.4.10
[INFO] [stderr]    Compiling serde_json v1.0.44
[INFO] [stderr]    Compiling serde_urlencoded v0.6.1
[INFO] [stderr]    Compiling serde_yaml v0.8.11
[INFO] [stderr]    Compiling serde_tuple v0.4.0
[INFO] [stderr]    Compiling h2 v0.1.26
[INFO] [stderr]    Compiling juniper v0.14.2
[INFO] [stderr]    Compiling diesel v1.4.4
[INFO] [stderr]    Compiling warp v0.1.20
[INFO] [stderr]    Compiling juniper_warp v0.5.2
[INFO] [stderr]    Compiling 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: 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]     |                                                             ^^                ^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_braces)]` on by default
[INFO] [stdout] help: remove these braces
[INFO] [stdout]     |
[INFO] [stdout] 172 -         let res: Vec<&Entity> = self.entities.iter().filter({ |e| e.id.eq(&id) }).collect();
[INFO] [stdout] 172 +         let res: Vec<&Entity> = self.entities.iter().filter(|e| e.id.eq(&id)).collect();
[INFO] [stdout]     |
[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]     |                                                   ^^                ^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these braces
[INFO] [stdout]     |
[INFO] [stdout] 181 -         let index = self.entities.iter().position({ |e| e.id.eq(&id) });
[INFO] [stdout] 181 +         let index = self.entities.iter().position(|e| e.id.eq(&id));
[INFO] [stdout]     |
[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]     |                     ^^                   ^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these braces
[INFO] [stdout]     |
[INFO] [stdout] 193 -             .filter({ |e| e.name.eq(name) })
[INFO] [stdout] 193 +             .filter(|e| e.name.eq(name))
[INFO] [stdout]     |
[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]     |                                                   ^^                ^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these braces
[INFO] [stdout]     |
[INFO] [stdout] 215 -         let index = entities.into_iter().position({ |e| e.id.eq(&id) });
[INFO] [stdout] 215 +         let index = entities.into_iter().position(|e| e.id.eq(&id));
[INFO] [stdout]     |
[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]     |                     ^^                   ^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these braces
[INFO] [stdout]     |
[INFO] [stdout] 262 -             .filter({ |e| e.name.eq(name) })
[INFO] [stdout] 262 +             .filter(|e| e.name.eq(name))
[INFO] [stdout]     |
[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]     |                                              ^^                ^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these braces
[INFO] [stdout]     |
[INFO] [stdout] 124 -         let index = self.fns.iter().position({ |e| e.id.eq(&id) });
[INFO] [stdout] 124 +         let index = self.fns.iter().position(|e| e.id.eq(&id));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules
[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: `#[macro_use]` only has an effect on `extern crate` and modules
[INFO] [stdout]  --> src/structure/xflow.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules
[INFO] [stdout]  --> src/structure/fngroup.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `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 method `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: use of deprecated method `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 method `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 method `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 method `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: variable does not need to be mutable
[INFO] [stdout]    --> src/structure/fngroup.rs:110:13
[INFO] [stdout]     |
[INFO] [stdout] 110 |         let mut f = self.get_fn_mut(input.id)?;
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused 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: 23 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]     |                                                             ^^                ^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_braces)]` on by default
[INFO] [stdout] help: remove these braces
[INFO] [stdout]     |
[INFO] [stdout] 172 -         let res: Vec<&Entity> = self.entities.iter().filter({ |e| e.id.eq(&id) }).collect();
[INFO] [stdout] 172 +         let res: Vec<&Entity> = self.entities.iter().filter(|e| e.id.eq(&id)).collect();
[INFO] [stdout]     |
[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]     |                                                   ^^                ^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these braces
[INFO] [stdout]     |
[INFO] [stdout] 181 -         let index = self.entities.iter().position({ |e| e.id.eq(&id) });
[INFO] [stdout] 181 +         let index = self.entities.iter().position(|e| e.id.eq(&id));
[INFO] [stdout]     |
[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]     |                     ^^                   ^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these braces
[INFO] [stdout]     |
[INFO] [stdout] 193 -             .filter({ |e| e.name.eq(name) })
[INFO] [stdout] 193 +             .filter(|e| e.name.eq(name))
[INFO] [stdout]     |
[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]     |                                                   ^^                ^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these braces
[INFO] [stdout]     |
[INFO] [stdout] 215 -         let index = entities.into_iter().position({ |e| e.id.eq(&id) });
[INFO] [stdout] 215 +         let index = entities.into_iter().position(|e| e.id.eq(&id));
[INFO] [stdout]     |
[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]     |                     ^^                   ^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these braces
[INFO] [stdout]     |
[INFO] [stdout] 262 -             .filter({ |e| e.name.eq(name) })
[INFO] [stdout] 262 +             .filter(|e| e.name.eq(name))
[INFO] [stdout]     |
[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]     |                                              ^^                ^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these braces
[INFO] [stdout]     |
[INFO] [stdout] 124 -         let index = self.fns.iter().position({ |e| e.id.eq(&id) });
[INFO] [stdout] 124 +         let index = self.fns.iter().position(|e| e.id.eq(&id));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules
[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: `#[macro_use]` only has an effect on `extern crate` and modules
[INFO] [stdout]  --> src/structure/xflow.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules
[INFO] [stdout]  --> src/structure/fngroup.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `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 method `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: use of deprecated method `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 method `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 method `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 method `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: variable does not need to be mutable
[INFO] [stdout]    --> src/structure/fngroup.rs:110:13
[INFO] [stdout]     |
[INFO] [stdout] 110 |         let mut f = self.get_fn_mut(input.id)?;
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_json_file` is never used
[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 `write_file` is never used
[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 `create_dir` is never used
[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 `model_to_fs` is never used
[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 `model_from_fs` is never used
[INFO] [stdout]   --> src/util/fs.rs:83:8
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub fn model_from_fs(path: &str) -> Result<ModelxDocument, ModelLoadError> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `init_new_model_dir` is never used
[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_model_dir` is never used
[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 `uuid_to_label` is never used
[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 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: 30 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1m 17s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.16.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "ed6b8d58bcac17c86c6263e6a21f1e32bb6e8d87480c40a0d25d6cabd70b863f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ed6b8d58bcac17c86c6263e6a21f1e32bb6e8d87480c40a0d25d6cabd70b863f", kill_on_drop: false }`
[INFO] [stdout] ed6b8d58bcac17c86c6263e6a21f1e32bb6e8d87480c40a0d25d6cabd70b863f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+1.73.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ccd18b91a5b88375379e8116c3c2608decaffb1e3f02ac4935797e478f2884b0
[INFO] running `Command { std: "docker" "start" "-a" "ccd18b91a5b88375379e8116c3c2608decaffb1e3f02ac4935797e478f2884b0", kill_on_drop: false }`
[INFO] [stderr]    Compiling rand v0.4.6
[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: 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]     |                                                             ^^                ^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_braces)]` on by default
[INFO] [stdout] help: remove these braces
[INFO] [stdout]     |
[INFO] [stdout] 172 -         let res: Vec<&Entity> = self.entities.iter().filter({ |e| e.id.eq(&id) }).collect();
[INFO] [stdout] 172 +         let res: Vec<&Entity> = self.entities.iter().filter(|e| e.id.eq(&id)).collect();
[INFO] [stdout]     |
[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]     |                                                   ^^                ^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these braces
[INFO] [stdout]     |
[INFO] [stdout] 181 -         let index = self.entities.iter().position({ |e| e.id.eq(&id) });
[INFO] [stdout] 181 +         let index = self.entities.iter().position(|e| e.id.eq(&id));
[INFO] [stdout]     |
[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]     |                     ^^                   ^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these braces
[INFO] [stdout]     |
[INFO] [stdout] 193 -             .filter({ |e| e.name.eq(name) })
[INFO] [stdout] 193 +             .filter(|e| e.name.eq(name))
[INFO] [stdout]     |
[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]     |                                                   ^^                ^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these braces
[INFO] [stdout]     |
[INFO] [stdout] 215 -         let index = entities.into_iter().position({ |e| e.id.eq(&id) });
[INFO] [stdout] 215 +         let index = entities.into_iter().position(|e| e.id.eq(&id));
[INFO] [stdout]     |
[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]     |                     ^^                   ^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these braces
[INFO] [stdout]     |
[INFO] [stdout] 262 -             .filter({ |e| e.name.eq(name) })
[INFO] [stdout] 262 +             .filter(|e| e.name.eq(name))
[INFO] [stdout]     |
[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]     |                                              ^^                ^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these braces
[INFO] [stdout]     |
[INFO] [stdout] 124 -         let index = self.fns.iter().position({ |e| e.id.eq(&id) });
[INFO] [stdout] 124 +         let index = self.fns.iter().position(|e| e.id.eq(&id));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules
[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: `#[macro_use]` only has an effect on `extern crate` and modules
[INFO] [stdout]  --> src/structure/xflow.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules
[INFO] [stdout]  --> src/structure/fngroup.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `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 method `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: use of deprecated method `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 method `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 method `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 method `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: variable does not need to be mutable
[INFO] [stdout]    --> src/structure/fngroup.rs:110:13
[INFO] [stdout]     |
[INFO] [stdout] 110 |         let mut f = self.get_fn_mut(input.id)?;
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused 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: 23 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]     |                                                             ^^                ^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_braces)]` on by default
[INFO] [stdout] help: remove these braces
[INFO] [stdout]     |
[INFO] [stdout] 172 -         let res: Vec<&Entity> = self.entities.iter().filter({ |e| e.id.eq(&id) }).collect();
[INFO] [stdout] 172 +         let res: Vec<&Entity> = self.entities.iter().filter(|e| e.id.eq(&id)).collect();
[INFO] [stdout]     |
[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]     |                                                   ^^                ^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these braces
[INFO] [stdout]     |
[INFO] [stdout] 181 -         let index = self.entities.iter().position({ |e| e.id.eq(&id) });
[INFO] [stdout] 181 +         let index = self.entities.iter().position(|e| e.id.eq(&id));
[INFO] [stdout]     |
[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]     |                     ^^                   ^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these braces
[INFO] [stdout]     |
[INFO] [stdout] 193 -             .filter({ |e| e.name.eq(name) })
[INFO] [stdout] 193 +             .filter(|e| e.name.eq(name))
[INFO] [stdout]     |
[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]     |                                                   ^^                ^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these braces
[INFO] [stdout]     |
[INFO] [stdout] 215 -         let index = entities.into_iter().position({ |e| e.id.eq(&id) });
[INFO] [stdout] 215 +         let index = entities.into_iter().position(|e| e.id.eq(&id));
[INFO] [stdout]     |
[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]     |                     ^^                   ^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these braces
[INFO] [stdout]     |
[INFO] [stdout] 262 -             .filter({ |e| e.name.eq(name) })
[INFO] [stdout] 262 +             .filter(|e| e.name.eq(name))
[INFO] [stdout]     |
[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]     |                                              ^^                ^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these braces
[INFO] [stdout]     |
[INFO] [stdout] 124 -         let index = self.fns.iter().position({ |e| e.id.eq(&id) });
[INFO] [stdout] 124 +         let index = self.fns.iter().position(|e| e.id.eq(&id));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules
[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: `#[macro_use]` only has an effect on `extern crate` and modules
[INFO] [stdout]  --> src/structure/xflow.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules
[INFO] [stdout]  --> src/structure/fngroup.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `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 method `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: use of deprecated method `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 method `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 method `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 method `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: variable does not need to be mutable
[INFO] [stdout]    --> src/structure/fngroup.rs:110:13
[INFO] [stdout]     |
[INFO] [stdout] 110 |         let mut f = self.get_fn_mut(input.id)?;
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_json_file` is never used
[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 `write_file` is never used
[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 `create_dir` is never used
[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 `model_to_fs` is never used
[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 `model_from_fs` is never used
[INFO] [stdout]   --> src/util/fs.rs:83:8
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub fn model_from_fs(path: &str) -> Result<ModelxDocument, ModelLoadError> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `init_new_model_dir` is never used
[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_model_dir` is never used
[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 `uuid_to_label` is never used
[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 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: 30 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling tempdir v0.3.7
[INFO] [stderr]    Compiling gearsx v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated method `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 method `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 method `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 method `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: 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]     |                                                             ^^                ^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_braces)]` on by default
[INFO] [stdout] help: remove these braces
[INFO] [stdout]     |
[INFO] [stdout] 172 -         let res: Vec<&Entity> = self.entities.iter().filter({ |e| e.id.eq(&id) }).collect();
[INFO] [stdout] 172 +         let res: Vec<&Entity> = self.entities.iter().filter(|e| e.id.eq(&id)).collect();
[INFO] [stdout]     |
[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]     |                                                   ^^                ^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these braces
[INFO] [stdout]     |
[INFO] [stdout] 181 -         let index = self.entities.iter().position({ |e| e.id.eq(&id) });
[INFO] [stdout] 181 +         let index = self.entities.iter().position(|e| e.id.eq(&id));
[INFO] [stdout]     |
[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]     |                     ^^                   ^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these braces
[INFO] [stdout]     |
[INFO] [stdout] 193 -             .filter({ |e| e.name.eq(name) })
[INFO] [stdout] 193 +             .filter(|e| e.name.eq(name))
[INFO] [stdout]     |
[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]     |                                                   ^^                ^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these braces
[INFO] [stdout]     |
[INFO] [stdout] 215 -         let index = entities.into_iter().position({ |e| e.id.eq(&id) });
[INFO] [stdout] 215 +         let index = entities.into_iter().position(|e| e.id.eq(&id));
[INFO] [stdout]     |
[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]     |                     ^^                   ^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these braces
[INFO] [stdout]     |
[INFO] [stdout] 262 -             .filter({ |e| e.name.eq(name) })
[INFO] [stdout] 262 +             .filter(|e| e.name.eq(name))
[INFO] [stdout]     |
[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]     |                                              ^^                ^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these braces
[INFO] [stdout]     |
[INFO] [stdout] 124 -         let index = self.fns.iter().position({ |e| e.id.eq(&id) });
[INFO] [stdout] 124 +         let index = self.fns.iter().position(|e| e.id.eq(&id));
[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: 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: 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]     |                                                             ^^                ^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_braces)]` on by default
[INFO] [stdout] help: remove these braces
[INFO] [stdout]     |
[INFO] [stdout] 172 -         let res: Vec<&Entity> = self.entities.iter().filter({ |e| e.id.eq(&id) }).collect();
[INFO] [stdout] 172 +         let res: Vec<&Entity> = self.entities.iter().filter(|e| e.id.eq(&id)).collect();
[INFO] [stdout]     |
[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]     |                                                   ^^                ^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these braces
[INFO] [stdout]     |
[INFO] [stdout] 181 -         let index = self.entities.iter().position({ |e| e.id.eq(&id) });
[INFO] [stdout] 181 +         let index = self.entities.iter().position(|e| e.id.eq(&id));
[INFO] [stdout]     |
[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]     |                     ^^                   ^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these braces
[INFO] [stdout]     |
[INFO] [stdout] 193 -             .filter({ |e| e.name.eq(name) })
[INFO] [stdout] 193 +             .filter(|e| e.name.eq(name))
[INFO] [stdout]     |
[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]     |                                                   ^^                ^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these braces
[INFO] [stdout]     |
[INFO] [stdout] 215 -         let index = entities.into_iter().position({ |e| e.id.eq(&id) });
[INFO] [stdout] 215 +         let index = entities.into_iter().position(|e| e.id.eq(&id));
[INFO] [stdout]     |
[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]     |                     ^^                   ^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these braces
[INFO] [stdout]     |
[INFO] [stdout] 262 -             .filter({ |e| e.name.eq(name) })
[INFO] [stdout] 262 +             .filter(|e| e.name.eq(name))
[INFO] [stdout]     |
[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]     |                                              ^^                ^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these braces
[INFO] [stdout]     |
[INFO] [stdout] 124 -         let index = self.fns.iter().position({ |e| e.id.eq(&id) });
[INFO] [stdout] 124 +         let index = self.fns.iter().position(|e| e.id.eq(&id));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules
[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: `#[macro_use]` only has an effect on `extern crate` and modules
[INFO] [stdout]  --> src/structure/xflow.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules
[INFO] [stdout]  --> src/structure/fngroup.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `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 method `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: `#[macro_use]` only has an effect on `extern crate` and modules
[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: `#[macro_use]` only has an effect on `extern crate` and modules
[INFO] [stdout]  --> src/structure/xflow.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules
[INFO] [stdout]  --> src/structure/fngroup.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `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 method `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 method `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 method `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 method `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 method `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 method `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 method `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 method `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 method `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: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/structure/fngroup.rs:110:13
[INFO] [stdout]     |
[INFO] [stdout] 110 |         let mut f = self.get_fn_mut(input.id)?;
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[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: variable does not need to be mutable
[INFO] [stdout]    --> src/structure/fngroup.rs:110:13
[INFO] [stdout]     |
[INFO] [stdout] 110 |         let mut f = self.get_fn_mut(input.id)?;
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_json_file` is never used
[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 `write_file` is never used
[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 `create_dir` is never used
[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 `model_to_fs` is never used
[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 `model_from_fs` is never used
[INFO] [stdout]   --> src/util/fs.rs:83:8
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub fn model_from_fs(path: &str) -> Result<ModelxDocument, ModelLoadError> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `init_new_model_dir` is never used
[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_model_dir` is never used
[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 `uuid_to_label` is never used
[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 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: 23 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 30 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 7.74s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.16.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "ccd18b91a5b88375379e8116c3c2608decaffb1e3f02ac4935797e478f2884b0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ccd18b91a5b88375379e8116c3c2608decaffb1e3f02ac4935797e478f2884b0", kill_on_drop: false }`
[INFO] [stdout] ccd18b91a5b88375379e8116c3c2608decaffb1e3f02ac4935797e478f2884b0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+1.73.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 01a23721aefa890474f5d4230045e3513b45609186e3217b4d18e50dd34c438e
[INFO] running `Command { std: "docker" "start" "-a" "01a23721aefa890474f5d4230045e3513b45609186e3217b4d18e50dd34c438e", kill_on_drop: false }`
[INFO] [stderr] warning: unused `#[macro_use]` import
[INFO] [stderr]  --> src/lib.rs:1:1
[INFO] [stderr]   |
[INFO] [stderr] 1 | #[macro_use]
[INFO] [stderr]   | ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `HashMap`
[INFO] [stderr]  --> src/structure/data.rs:1:24
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::collections::{HashMap, HashSet};
[INFO] [stderr]   |                        ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around method argument
[INFO] [stderr]    --> src/structure/domain.rs:172:61
[INFO] [stderr]     |
[INFO] [stderr] 172 |         let res: Vec<&Entity> = self.entities.iter().filter({ |e| e.id.eq(&id) }).collect();
[INFO] [stderr]     |                                                             ^^                ^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_braces)]` on by default
[INFO] [stderr] help: remove these braces
[INFO] [stderr]     |
[INFO] [stderr] 172 -         let res: Vec<&Entity> = self.entities.iter().filter({ |e| e.id.eq(&id) }).collect();
[INFO] [stderr] 172 +         let res: Vec<&Entity> = self.entities.iter().filter(|e| e.id.eq(&id)).collect();
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around method argument
[INFO] [stderr]    --> src/structure/domain.rs:181:51
[INFO] [stderr]     |
[INFO] [stderr] 181 |         let index = self.entities.iter().position({ |e| e.id.eq(&id) });
[INFO] [stderr]     |                                                   ^^                ^^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these braces
[INFO] [stderr]     |
[INFO] [stderr] 181 -         let index = self.entities.iter().position({ |e| e.id.eq(&id) });
[INFO] [stderr] 181 +         let index = self.entities.iter().position(|e| e.id.eq(&id));
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around method argument
[INFO] [stderr]    --> src/structure/domain.rs:193:21
[INFO] [stderr]     |
[INFO] [stderr] 193 |             .filter({ |e| e.name.eq(name) })
[INFO] [stderr]     |                     ^^                   ^^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these braces
[INFO] [stderr]     |
[INFO] [stderr] 193 -             .filter({ |e| e.name.eq(name) })
[INFO] [stderr] 193 +             .filter(|e| e.name.eq(name))
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around method argument
[INFO] [stderr]    --> src/structure/domain.rs:215:51
[INFO] [stderr]     |
[INFO] [stderr] 215 |         let index = entities.into_iter().position({ |e| e.id.eq(&id) });
[INFO] [stderr]     |                                                   ^^                ^^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these braces
[INFO] [stderr]     |
[INFO] [stderr] 215 -         let index = entities.into_iter().position({ |e| e.id.eq(&id) });
[INFO] [stderr] 215 +         let index = entities.into_iter().position(|e| e.id.eq(&id));
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around method argument
[INFO] [stderr]    --> src/structure/domain.rs:262:21
[INFO] [stderr]     |
[INFO] [stderr] 262 |             .filter({ |e| e.name.eq(name) })
[INFO] [stderr]     |                     ^^                   ^^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these braces
[INFO] [stderr]     |
[INFO] [stderr] 262 -             .filter({ |e| e.name.eq(name) })
[INFO] [stderr] 262 +             .filter(|e| e.name.eq(name))
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::collections::HashSet`
[INFO] [stderr]  --> src/structure/xflow.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::collections::HashSet;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `DocumentReference`
[INFO] [stderr]  --> src/structure/fngroup.rs:3:31
[INFO] [stderr]   |
[INFO] [stderr] 3 | use super::common::{Document, DocumentReference};
[INFO] [stderr]   |                               ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `FnGroupFnNew`
[INFO] [stderr]  --> src/structure/fngroup.rs:5:23
[INFO] [stderr]   |
[INFO] [stderr] 5 | use crate::messages::{FnGroupFnNew, FnGroupFnUpdate};
[INFO] [stderr]   |                       ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary braces around method argument
[INFO] [stderr]    --> src/structure/fngroup.rs:124:46
[INFO] [stderr]     |
[INFO] [stderr] 124 |         let index = self.fns.iter().position({ |e| e.id.eq(&id) });
[INFO] [stderr]     |                                              ^^                ^^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these braces
[INFO] [stderr]     |
[INFO] [stderr] 124 -         let index = self.fns.iter().position({ |e| e.id.eq(&id) });
[INFO] [stderr] 124 +         let index = self.fns.iter().position(|e| e.id.eq(&id));
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: `#[macro_use]` only has an effect on `extern crate` and modules
[INFO] [stderr]  --> src/structure/domain.rs:1:1
[INFO] [stderr]   |
[INFO] [stderr] 1 | #[macro_use]
[INFO] [stderr]   | ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_attributes)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `#[macro_use]` only has an effect on `extern crate` and modules
[INFO] [stderr]  --> src/structure/xflow.rs:1:1
[INFO] [stderr]   |
[INFO] [stderr] 1 | #[macro_use]
[INFO] [stderr]   | ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `#[macro_use]` only has an effect on `extern crate` and modules
[INFO] [stderr]  --> src/structure/fngroup.rs:1:1
[INFO] [stderr]   |
[INFO] [stderr] 1 | #[macro_use]
[INFO] [stderr]   | ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stderr]   --> src/util/fs.rs:15:68
[INFO] [stderr]    |
[INFO] [stderr] 15 |         Err(why) => panic!("couldn't open {}: {}", display, Error::description(&why)),
[INFO] [stderr]    |                                                                    ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stderr]   --> src/util/fs.rs:21:56
[INFO] [stderr]    |
[INFO] [stderr] 21 |         panic!("couldn't read {}: {}", display, Error::description(&why));
[INFO] [stderr]    |                                                        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable expression
[INFO] [stderr]    --> src/structure/data.rs:166:9
[INFO] [stderr]     |
[INFO] [stderr] 164 |         unimplemented!();
[INFO] [stderr]     |         ---------------- any code following this expression is unreachable
[INFO] [stderr] 165 |
[INFO] [stderr] 166 |         ids
[INFO] [stderr]     |         ^^^ unreachable expression
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stderr]   --> src/util/fs.rs:33:59
[INFO] [stderr]    |
[INFO] [stderr] 33 |             error!("couldn't create {}: {}", display, why.description());
[INFO] [stderr]    |                                                           ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stderr]   --> src/util/fs.rs:34:59
[INFO] [stderr]    |
[INFO] [stderr] 34 |             panic!("couldn't create {}: {}", display, why.description());
[INFO] [stderr]    |                                                           ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stderr]   --> src/util/fs.rs:41:61
[INFO] [stderr]    |
[INFO] [stderr] 41 |             error!("couldn't write to {}: {}", display, why.description());
[INFO] [stderr]    |                                                             ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stderr]   --> src/util/fs.rs:42:61
[INFO] [stderr]    |
[INFO] [stderr] 42 |             panic!("couldn't write to {}: {}", display, why.description());
[INFO] [stderr]    |                                                             ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/structure/fngroup.rs:110:13
[INFO] [stderr]     |
[INFO] [stderr] 110 |         let mut f = self.get_fn_mut(input.id)?;
[INFO] [stderr]     |             ----^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused borrow that must be used
[INFO] [stderr]    --> src/structure/domain.rs:218:17
[INFO] [stderr]     |
[INFO] [stderr] 218 |                 &mut self.entities.remove(idx);
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 218 |                 let _ = &mut self.entities.remove(idx);
[INFO] [stderr]     |                 +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `gearsx` (lib) generated 23 warnings (run `cargo fix --lib -p gearsx` to apply 11 suggestions)
[INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stderr]   --> tests/common/mod.rs:27:68
[INFO] [stderr]    |
[INFO] [stderr] 27 |         Err(why) => panic!("couldn't open {}: {}", display, Error::description(&why)),
[INFO] [stderr]    |                                                                    ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stderr]   --> tests/common/mod.rs:34:56
[INFO] [stderr]    |
[INFO] [stderr] 34 |         panic!("couldn't read {}: {}", display, Error::description(&why));
[INFO] [stderr]    |                                                        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `HashMap`
[INFO] [stderr]  --> src/structure/data.rs:1:24
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::collections::{HashMap, HashSet};
[INFO] [stderr]   |                        ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `read_json_file` is never used
[INFO] [stderr]   --> src/util/fs.rs:11:4
[INFO] [stderr]    |
[INFO] [stderr] 11 | fn read_json_file(path: &Path) -> String {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `write_file` is never used
[INFO] [stderr]   --> src/util/fs.rs:27:4
[INFO] [stderr]    |
[INFO] [stderr] 27 | fn write_file(filename: &str, data: &str) -> () {
[INFO] [stderr]    |    ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `create_dir` is never used
[INFO] [stderr]   --> src/util/fs.rs:48:4
[INFO] [stderr]    |
[INFO] [stderr] 48 | fn create_dir(path: &str) -> () {
[INFO] [stderr]    |    ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `model_to_fs` is never used
[INFO] [stderr]   --> src/util/fs.rs:64:8
[INFO] [stderr]    |
[INFO] [stderr] 64 | pub fn model_to_fs(model: &ModelxDocument, path: &str) -> Result<(), ModelLoadError> {
[INFO] [stderr]    |        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `model_from_fs` is never used
[INFO] [stderr]   --> src/util/fs.rs:83:8
[INFO] [stderr]    |
[INFO] [stderr] 83 | pub fn model_from_fs(path: &str) -> Result<ModelxDocument, ModelLoadError> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `init_new_model_dir` is never used
[INFO] [stderr]    --> src/util/fs.rs:113:8
[INFO] [stderr]     |
[INFO] [stderr] 113 | pub fn init_new_model_dir(path: &str) -> Result<(), ModelLoadError> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `is_model_dir` is never used
[INFO] [stderr]    --> src/util/fs.rs:119:8
[INFO] [stderr]     |
[INFO] [stderr] 119 | pub fn is_model_dir(path: &str) -> bool {
[INFO] [stderr]     |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `uuid_to_label` is never used
[INFO] [stderr]  --> src/util/naming.rs:5:8
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub fn uuid_to_label(id: &Uuid) -> String {
[INFO] [stderr]   |        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `gearsx` (test "test_structure_domain") generated 2 warnings
[INFO] [stderr] warning: `gearsx` (lib test) generated 23 warnings (23 duplicates)
[INFO] [stderr] warning: `gearsx` (bin "gearsx") generated 30 warnings (21 duplicates) (run `cargo fix --bin "gearsx"` to apply 1 suggestion)
[INFO] [stderr] warning: `gearsx` (bin "gearsx" test) generated 30 warnings (30 duplicates)
[INFO] [stderr] warning: `gearsx` (test "test_util_fs") generated 2 warnings (2 duplicates)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.18s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.16.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gearsx-f35dabe3eddfcc4f)
[INFO] [stdout] 
[INFO] [stdout] running 6 tests
[INFO] [stdout] test structure::data::test::test_vtype_string ... ok
[INFO] [stdout] test structure::data::test::test_vtype_boolean ... ok
[INFO] [stdout] test structure::domain::test::test_init_domain ... ok
[INFO] [stdout] test structure::fngroup::test::test_init_fngroup ... ok
[INFO] [stdout] test structure::data::test::test_vtype_integer ... ok
[INFO] [stdout] test structure::fngroup::test::test_next_id ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- structure::fngroup::test::test_next_id stdout ----
[INFO] [stdout] thread 'structure::fngroup::test::test_next_id' panicked at src/structure/fngroup.rs:146:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "docstore"
[INFO] [stdout]  right: "fngroup"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x558eb1345b5c - std::backtrace_rs::backtrace::libunwind::trace::he43a6a3949163f8c
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
[INFO] [stdout]    1:     0x558eb1345b5c - std::backtrace_rs::backtrace::trace_unsynchronized::h50db52ca99f692e7
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x558eb1345b5c - std::sys_common::backtrace::_print_fmt::hd37d595f2ceb2d3c
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/sys_common/backtrace.rs:67:5
[INFO] [stdout]    3:     0x558eb1345b5c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h678bbcf9da6d7d75
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x558eb136f7cc - core::fmt::rt::Argument::fmt::h3a159adc080a6fc9
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/fmt/rt.rs:138:9
[INFO] [stdout]    5:     0x558eb136f7cc - core::fmt::write::hb8eaf5a8e45a738e
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/fmt/mod.rs:1094:21
[INFO] [stdout]    6:     0x558eb1342dee - std::io::Write::write_fmt::hd8d55fcb462ed7e9
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/io/mod.rs:1714:15
[INFO] [stdout]    7:     0x558eb1345944 - std::sys_common::backtrace::_print::hcd4834796ee88ad2
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x558eb1345944 - std::sys_common::backtrace::print::h1360e9450e4f922a
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x558eb1347743 - std::panicking::default_hook::{{closure}}::h2609fa95cd5ab1f4
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:270:22
[INFO] [stdout]   10:     0x558eb13473df - std::panicking::default_hook::h6d75f5747cab6e8d
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:287:9
[INFO] [stdout]   11:     0x558eb12e7edc - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h22dfbb3222a0c5d6
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   12:     0x558eb12e7edc - test::test_main::{{closure}}::hf2fa6099cd421171
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/test/src/lib.rs:136:21
[INFO] [stdout]   13:     0x558eb1347e3e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h05249de742e1768e
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   14:     0x558eb1347e3e - std::panicking::rust_panic_with_hook::h57e78470c47c84de
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:711:13
[INFO] [stdout]   15:     0x558eb1347bc7 - std::panicking::begin_panic_handler::{{closure}}::h3dfd2453cf356ecb
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:599:13
[INFO] [stdout]   16:     0x558eb1346086 - std::sys_common::backtrace::__rust_end_short_backtrace::hdb177d43678e4d7e
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/sys_common/backtrace.rs:170:18
[INFO] [stdout]   17:     0x558eb1347912 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:595:5
[INFO] [stdout]   18:     0x558eb12af463 - core::panicking::panic_fmt::hd1e971d8d7c78e0e
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/panicking.rs:67:14
[INFO] [stdout]   19:     0x558eb12af895 - core::panicking::assert_failed_inner::h7e09b6414eab0f29
[INFO] [stdout]   20:     0x558eb12b10f2 - core::panicking::assert_failed::hb5246be244518a1f
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/panicking.rs:229:5
[INFO] [stdout]   21:     0x558eb12b3568 - gearsx::structure::fngroup::test::test_next_id::hd9e0fef75defe74e
[INFO] [stdout]                                at /opt/rustwide/workdir/src/structure/fngroup.rs:146:9
[INFO] [stdout]   22:     0x558eb12b3437 - gearsx::structure::fngroup::test::test_next_id::{{closure}}::h702c9170f90649bb
[INFO] [stdout]                                at /opt/rustwide/workdir/src/structure/fngroup.rs:144:23
[INFO] [stdout]   23:     0x558eb12aff96 - core::ops::function::FnOnce::call_once::h3ad34e90fa5448ea
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x558eb12ecf6f - core::ops::function::FnOnce::call_once::he2e7294d6e0366fc
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x558eb12ecf6f - test::__rust_begin_short_backtrace::h13549e99f98e3254
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/test/src/lib.rs:626:18
[INFO] [stdout]   26:     0x558eb12ebffe - test::run_test_in_process::{{closure}}::h9c2c3d1665ffe092
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/test/src/lib.rs:649:60
[INFO] [stdout]   27:     0x558eb12ebffe - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hec1896877d3d50ca
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/panic/unwind_safe.rs:271:9
[INFO] [stdout]   28:     0x558eb12ebffe - std::panicking::try::do_call::hc7aed7412be3e0dc
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:502:40
[INFO] [stdout]   29:     0x558eb12ebffe - std::panicking::try::h011fbc524cd7e3ba
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:466:19
[INFO] [stdout]   30:     0x558eb12ebffe - std::panic::catch_unwind::hff05d0891bc5bb82
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panic.rs:142:14
[INFO] [stdout]   31:     0x558eb12ebffe - test::run_test_in_process::h87f0657a1c0aaab4
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/test/src/lib.rs:649:27
[INFO] [stdout]   32:     0x558eb12ebffe - test::run_test::{{closure}}::hc4dd34f501797e16
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/test/src/lib.rs:572:43
[INFO] [stdout]   33:     0x558eb12b3953 - test::run_test::{{closure}}::h1201d47565297bcc
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/test/src/lib.rs:600:41
[INFO] [stdout]   34:     0x558eb12b3953 - std::sys_common::backtrace::__rust_begin_short_backtrace::h6de9d5784bb58c62
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/sys_common/backtrace.rs:154:18
[INFO] [stdout]   35:     0x558eb12b956b - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h0a3dd4432bd9a04d
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   36:     0x558eb12b956b - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h05af39418a9230d5
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/panic/unwind_safe.rs:271:9
[INFO] [stdout]   37:     0x558eb12b956b - std::panicking::try::do_call::h6f430b03009d827b
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:502:40
[INFO] [stdout]   38:     0x558eb12b956b - std::panicking::try::h3275ae04389ad69a
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:466:19
[INFO] [stdout]   39:     0x558eb12b956b - std::panic::catch_unwind::h77f388467ce5722e
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panic.rs:142:14
[INFO] [stdout]   40:     0x558eb12b956b - std::thread::Builder::spawn_unchecked_::{{closure}}::h308964f897d35a6e
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   41:     0x558eb12b956b - core::ops::function::FnOnce::call_once{{vtable.shim}}::h98d901cf00b6c865
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x558eb134c525 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::haadd4e5af2ab0d62
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   43:     0x558eb134c525 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::he4ba1fb09c16d807
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   44:     0x558eb134c525 - std::sys::unix::thread::Thread::new::thread_start::he524ecf4b47bee95
[INFO] [stdout]                                at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   45:     0x7f9526885b43 - <unknown>
[INFO] [stdout]   46:     0x7f9526916bb4 - __clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     structure::fngroup::test::test_next_id
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 5 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "01a23721aefa890474f5d4230045e3513b45609186e3217b4d18e50dd34c438e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "01a23721aefa890474f5d4230045e3513b45609186e3217b4d18e50dd34c438e", kill_on_drop: false }`
[INFO] [stdout] 01a23721aefa890474f5d4230045e3513b45609186e3217b4d18e50dd34c438e
