[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 beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgears-project%2Fgearsx" "/workspace/builds/worker-39/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-39/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gears-project/gearsx on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-39/source/Cargo.toml [INFO] crate git repo https://github.com/gears-project/gearsx already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bde765ca2919ed37aba738713d040f6cee02992167c9bfdc032cb9d3f5fd0dbe [INFO] running `Command { std: "docker" "start" "-a" "bde765ca2919ed37aba738713d040f6cee02992167c9bfdc032cb9d3f5fd0dbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bde765ca2919ed37aba738713d040f6cee02992167c9bfdc032cb9d3f5fd0dbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bde765ca2919ed37aba738713d040f6cee02992167c9bfdc032cb9d3f5fd0dbe", kill_on_drop: false }` [INFO] [stdout] bde765ca2919ed37aba738713d040f6cee02992167c9bfdc032cb9d3f5fd0dbe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb14ff9c62c2e1f6c1c7e114b014844006900cf229a3b98c805585053bdf628a [INFO] running `Command { std: "docker" "start" "-a" "fb14ff9c62c2e1f6c1c7e114b014844006900cf229a3b98c805585053bdf628a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [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 either v1.5.3 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling smallvec v1.1.0 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling futures-core v0.3.3 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling futures-sink v0.3.3 [INFO] [stderr] Compiling dtoa v0.4.4 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling futures-io v0.3.3 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling futures-task v0.3.3 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling urlencoding v1.0.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling lock_api v0.3.2 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling futures-channel v0.3.3 [INFO] [stderr] Compiling unicode-normalization v0.1.11 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling parking_lot_core v0.7.0 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.10.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.3 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling input_buffer v0.2.0 [INFO] [stderr] Compiling backtrace v0.3.43 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling r2d2 v0.8.8 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling mime_guess v1.8.7 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-uds v0.2.6 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling juniper_codegen v0.14.2 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling headers-core v0.1.1 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling tungstenite v0.9.2 [INFO] [stderr] Compiling headers v0.2.3 [INFO] [stderr] Compiling multipart v0.16.1 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling futures-macro v0.3.3 [INFO] [stderr] Compiling futures-util v0.3.3 [INFO] [stderr] Compiling futures-executor v0.3.3 [INFO] [stderr] Compiling futures v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.44 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling uuid v0.7.4 [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 associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:15:68 [INFO] [stdout] | [INFO] [stdout] 15 | Err(why) => panic!("couldn't open {}: {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:21:56 [INFO] [stdout] | [INFO] [stdout] 21 | panic!("couldn't read {}: {}", display, Error::description(&why)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/structure/data.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 164 | unimplemented!(); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] 165 | [INFO] [stdout] 166 | ids [INFO] [stdout] | ^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:33:59 [INFO] [stdout] | [INFO] [stdout] 33 | error!("couldn't create {}: {}", display, why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:34:59 [INFO] [stdout] | [INFO] [stdout] 34 | panic!("couldn't create {}: {}", display, why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:41:61 [INFO] [stdout] | [INFO] [stdout] 41 | error!("couldn't write to {}: {}", display, why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:42:61 [INFO] [stdout] | [INFO] [stdout] 42 | panic!("couldn't write to {}: {}", display, why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/structure/domain.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | &mut self.entities.remove(idx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 218 | let _ = &mut self.entities.remove(idx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:15:68 [INFO] [stdout] | [INFO] [stdout] 15 | Err(why) => panic!("couldn't open {}: {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:21:56 [INFO] [stdout] | [INFO] [stdout] 21 | panic!("couldn't read {}: {}", display, Error::description(&why)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/structure/data.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 164 | unimplemented!(); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] 165 | [INFO] [stdout] 166 | ids [INFO] [stdout] | ^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:33:59 [INFO] [stdout] | [INFO] [stdout] 33 | error!("couldn't create {}: {}", display, why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:34:59 [INFO] [stdout] | [INFO] [stdout] 34 | panic!("couldn't create {}: {}", display, why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:41:61 [INFO] [stdout] | [INFO] [stdout] 41 | error!("couldn't write to {}: {}", display, why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:42:61 [INFO] [stdout] | [INFO] [stdout] 42 | panic!("couldn't write to {}: {}", display, why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_json_file` [INFO] [stdout] --> src/util/fs.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn read_json_file(path: &Path) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_file` [INFO] [stdout] --> src/util/fs.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn write_file(filename: &str, data: &str) -> () { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_dir` [INFO] [stdout] --> src/util/fs.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn create_dir(path: &str) -> () { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `model_to_fs` [INFO] [stdout] --> src/util/fs.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn model_to_fs(model: &ModelxDocument, path: &str) -> Result<(), ModelLoadError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `model_from_fs` [INFO] [stdout] --> src/util/fs.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn model_from_fs(path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `init_new_model_dir` [INFO] [stdout] --> src/util/fs.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn init_new_model_dir(path: &str) -> Result<(), ModelLoadError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_model_dir` [INFO] [stdout] --> src/util/fs.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn is_model_dir(path: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `uuid_to_label` [INFO] [stdout] --> src/util/naming.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn uuid_to_label(id: &Uuid) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/structure/domain.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | &mut self.entities.remove(idx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 218 | let _ = &mut self.entities.remove(idx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 23s [INFO] running `Command { std: "docker" "inspect" "fb14ff9c62c2e1f6c1c7e114b014844006900cf229a3b98c805585053bdf628a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb14ff9c62c2e1f6c1c7e114b014844006900cf229a3b98c805585053bdf628a", kill_on_drop: false }` [INFO] [stdout] fb14ff9c62c2e1f6c1c7e114b014844006900cf229a3b98c805585053bdf628a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cca68e504210c86c92aa5772e5af3c3cbdf66d029de8bad47de191eef2bd0c4a [INFO] running `Command { std: "docker" "start" "-a" "cca68e504210c86c92aa5772e5af3c3cbdf66d029de8bad47de191eef2bd0c4a", 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 associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:15:68 [INFO] [stdout] | [INFO] [stdout] 15 | Err(why) => panic!("couldn't open {}: {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:21:56 [INFO] [stdout] | [INFO] [stdout] 21 | panic!("couldn't read {}: {}", display, Error::description(&why)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/structure/data.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 164 | unimplemented!(); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] 165 | [INFO] [stdout] 166 | ids [INFO] [stdout] | ^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:33:59 [INFO] [stdout] | [INFO] [stdout] 33 | error!("couldn't create {}: {}", display, why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:34:59 [INFO] [stdout] | [INFO] [stdout] 34 | panic!("couldn't create {}: {}", display, why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:41:61 [INFO] [stdout] | [INFO] [stdout] 41 | error!("couldn't write to {}: {}", display, why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:42:61 [INFO] [stdout] | [INFO] [stdout] 42 | panic!("couldn't write to {}: {}", display, why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/structure/domain.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | &mut self.entities.remove(idx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 218 | let _ = &mut self.entities.remove(idx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:15:68 [INFO] [stdout] | [INFO] [stdout] 15 | Err(why) => panic!("couldn't open {}: {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:21:56 [INFO] [stdout] | [INFO] [stdout] 21 | panic!("couldn't read {}: {}", display, Error::description(&why)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/structure/data.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 164 | unimplemented!(); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] 165 | [INFO] [stdout] 166 | ids [INFO] [stdout] | ^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:33:59 [INFO] [stdout] | [INFO] [stdout] 33 | error!("couldn't create {}: {}", display, why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:34:59 [INFO] [stdout] | [INFO] [stdout] 34 | panic!("couldn't create {}: {}", display, why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:41:61 [INFO] [stdout] | [INFO] [stdout] 41 | error!("couldn't write to {}: {}", display, why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:42:61 [INFO] [stdout] | [INFO] [stdout] 42 | panic!("couldn't write to {}: {}", display, why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_json_file` [INFO] [stdout] --> src/util/fs.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn read_json_file(path: &Path) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_file` [INFO] [stdout] --> src/util/fs.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn write_file(filename: &str, data: &str) -> () { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_dir` [INFO] [stdout] --> src/util/fs.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn create_dir(path: &str) -> () { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `model_to_fs` [INFO] [stdout] --> src/util/fs.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn model_to_fs(model: &ModelxDocument, path: &str) -> Result<(), ModelLoadError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `model_from_fs` [INFO] [stdout] --> src/util/fs.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn model_from_fs(path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `init_new_model_dir` [INFO] [stdout] --> src/util/fs.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn init_new_model_dir(path: &str) -> Result<(), ModelLoadError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_model_dir` [INFO] [stdout] --> src/util/fs.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn is_model_dir(path: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `uuid_to_label` [INFO] [stdout] --> src/util/naming.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn uuid_to_label(id: &Uuid) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/structure/domain.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | &mut self.entities.remove(idx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 218 | let _ = &mut self.entities.remove(idx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling gearsx v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> tests/common/mod.rs:27:68 [INFO] [stdout] | [INFO] [stdout] 27 | Err(why) => panic!("couldn't open {}: {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> tests/common/mod.rs:34:56 [INFO] [stdout] | [INFO] [stdout] 34 | panic!("couldn't read {}: {}", display, Error::description(&why)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> tests/common/mod.rs:27:68 [INFO] [stdout] | [INFO] [stdout] 27 | Err(why) => panic!("couldn't open {}: {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> tests/common/mod.rs:34:56 [INFO] [stdout] | [INFO] [stdout] 34 | panic!("couldn't read {}: {}", display, Error::description(&why)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/structure/data.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused 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: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: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: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: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: 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: `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: `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: 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: 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/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/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: `#[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 associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:15:68 [INFO] [stdout] | [INFO] [stdout] 15 | Err(why) => panic!("couldn't open {}: {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:21:56 [INFO] [stdout] | [INFO] [stdout] 21 | panic!("couldn't read {}: {}", display, Error::description(&why)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:15:68 [INFO] [stdout] | [INFO] [stdout] 15 | Err(why) => panic!("couldn't open {}: {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:21:56 [INFO] [stdout] | [INFO] [stdout] 21 | panic!("couldn't read {}: {}", display, Error::description(&why)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/structure/data.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 164 | unimplemented!(); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] 165 | [INFO] [stdout] 166 | ids [INFO] [stdout] | ^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:33:59 [INFO] [stdout] | [INFO] [stdout] 33 | error!("couldn't create {}: {}", display, why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:34:59 [INFO] [stdout] | [INFO] [stdout] 34 | panic!("couldn't create {}: {}", display, why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:41:61 [INFO] [stdout] | [INFO] [stdout] 41 | error!("couldn't write to {}: {}", display, why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/structure/data.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 164 | unimplemented!(); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] 165 | [INFO] [stdout] 166 | ids [INFO] [stdout] | ^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:42:61 [INFO] [stdout] | [INFO] [stdout] 42 | panic!("couldn't write to {}: {}", display, why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:33:59 [INFO] [stdout] | [INFO] [stdout] 33 | error!("couldn't create {}: {}", display, why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:34:59 [INFO] [stdout] | [INFO] [stdout] 34 | panic!("couldn't create {}: {}", display, why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:41:61 [INFO] [stdout] | [INFO] [stdout] 41 | error!("couldn't write to {}: {}", display, why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:42:61 [INFO] [stdout] | [INFO] [stdout] 42 | panic!("couldn't write to {}: {}", display, why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused 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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_json_file` [INFO] [stdout] --> src/util/fs.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn read_json_file(path: &Path) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_file` [INFO] [stdout] --> src/util/fs.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn write_file(filename: &str, data: &str) -> () { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_dir` [INFO] [stdout] --> src/util/fs.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn create_dir(path: &str) -> () { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `model_to_fs` [INFO] [stdout] --> src/util/fs.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn model_to_fs(model: &ModelxDocument, path: &str) -> Result<(), ModelLoadError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `model_from_fs` [INFO] [stdout] --> src/util/fs.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn model_from_fs(path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `init_new_model_dir` [INFO] [stdout] --> src/util/fs.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn init_new_model_dir(path: &str) -> Result<(), ModelLoadError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_model_dir` [INFO] [stdout] --> src/util/fs.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn is_model_dir(path: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `uuid_to_label` [INFO] [stdout] --> src/util/naming.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn uuid_to_label(id: &Uuid) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/structure/domain.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | &mut self.entities.remove(idx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 218 | let _ = &mut self.entities.remove(idx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 10.24s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/gearsx-cd1fcd026b47e570) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/gearsx-efde744b2a729a0c) [INFO] [stderr] Executable tests/test_structure_domain.rs (/opt/rustwide/target/debug/deps/test_structure_domain-d9f9661ca5ad049b) [INFO] [stderr] Executable tests/test_util_fs.rs (/opt/rustwide/target/debug/deps/test_util_fs-7caaa2d88ccbb867) [INFO] running `Command { std: "docker" "inspect" "cca68e504210c86c92aa5772e5af3c3cbdf66d029de8bad47de191eef2bd0c4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cca68e504210c86c92aa5772e5af3c3cbdf66d029de8bad47de191eef2bd0c4a", kill_on_drop: false }` [INFO] [stdout] cca68e504210c86c92aa5772e5af3c3cbdf66d029de8bad47de191eef2bd0c4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9e99dd8c279e35446ddbd99186efaf202812cf9e96ac157a1663d7f295b74a2e [INFO] running `Command { std: "docker" "start" "-a" "9e99dd8c279e35446ddbd99186efaf202812cf9e96ac157a1663d7f295b74a2e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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: 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 22 warnings [INFO] [stderr] warning: `gearsx` (lib test) generated 22 warnings (22 duplicates) [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 is never used: `read_json_file` [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 is never used: `write_file` [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 is never used: `create_dir` [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 is never used: `model_to_fs` [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 is never used: `model_from_fs` [INFO] [stderr] --> src/util/fs.rs:83:8 [INFO] [stderr] | [INFO] [stderr] 83 | pub fn model_from_fs(path: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `init_new_model_dir` [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 never used: `is_model_dir` [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 is never used: `uuid_to_label` [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: use of deprecated associated function `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 associated function `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: `gearsx` (bin "gearsx" test) generated 29 warnings (20 duplicates) [INFO] [stderr] warning: `gearsx` (test "test_util_fs") generated 2 warnings [INFO] [stderr] warning: `gearsx` (bin "gearsx") generated 29 warnings (29 duplicates) [INFO] [stderr] warning: `gearsx` (test "test_structure_domain") generated 2 warnings (2 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.28s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gearsx-cd1fcd026b47e570) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test structure::data::test::test_vtype_boolean ... ok [INFO] [stdout] test structure::data::test::test_vtype_string ... ok [INFO] [stdout] test structure::data::test::test_vtype_integer ... 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::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 'assertion failed: `(left == right)` [INFO] [stdout] left: `"docstore"`, [INFO] [stdout] right: `"fngroup"`', src/structure/fngroup.rs:146:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55f5a2615e5d - std::backtrace_rs::backtrace::libunwind::trace::ha359b7f0090e2792 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55f5a2615e5d - std::backtrace_rs::backtrace::trace_unsynchronized::h0584631f25c1d70e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55f5a2615e5d - std::sys_common::backtrace::_print_fmt::hdadffd97d279ff14 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x55f5a2615e5d - ::fmt::h26f189e611080a74 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x55f5a263877c - core::fmt::write::hfb5d11dfe037e8b7 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x55f5a2612811 - std::io::Write::write_fmt::h6a24ec64406df9e2 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x55f5a2617ba5 - std::sys_common::backtrace::_print::h7a0e44402913ba60 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x55f5a2617ba5 - std::sys_common::backtrace::print::h9767dc455a84e728 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x55f5a2617ba5 - std::panicking::default_hook::{{closure}}::h60afd6c8b12988ad [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x55f5a2617894 - std::panicking::default_hook::ha7b9bac6813f9d21 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x55f5a26180f2 - std::panicking::rust_panic_with_hook::h7b117a162a6f8664 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x55f5a2617fd7 - std::panicking::begin_panic_handler::{{closure}}::h346750923c608600 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x55f5a2616314 - std::sys_common::backtrace::__rust_end_short_backtrace::h768c56c6a0c055c0 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x55f5a2617d09 - rust_begin_unwind [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x55f5a25833f3 - core::panicking::panic_fmt::h5c41cb2fa118fdbc [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x55f5a2637348 - core::panicking::assert_failed_inner::h337b271ded48bc15 [INFO] [stdout] 16: 0x55f5a258727e - core::panicking::assert_failed::hbce1cf49d9be5d6f [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:182:5 [INFO] [stdout] 17: 0x55f5a25874f5 - gearsx::structure::fngroup::test::test_next_id::h1b21e4fb42f2b580 [INFO] [stdout] at /opt/rustwide/workdir/src/structure/fngroup.rs:146:9 [INFO] [stdout] 18: 0x55f5a25873da - gearsx::structure::fngroup::test::test_next_id::{{closure}}::hf28aed2ed7e608bc [INFO] [stdout] at /opt/rustwide/workdir/src/structure/fngroup.rs:144:5 [INFO] [stdout] 19: 0x55f5a258436e - core::ops::function::FnOnce::call_once::h46c3e7635f2a443b [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x55f5a25bda83 - core::ops::function::FnOnce::call_once::h018fc248431ce8de [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55f5a25bda83 - test::__rust_begin_short_backtrace::h293b982b6069d6e3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:574:5 [INFO] [stdout] 22: 0x55f5a25bc839 - as core::ops::function::FnOnce>::call_once::h4fc1be1a762c7a46 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 23: 0x55f5a25bc839 - as core::ops::function::FnOnce<()>>::call_once::hd44623ec51b9e897 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x55f5a25bc839 - std::panicking::try::do_call::ha8cfa4b025f5b832 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 25: 0x55f5a25bc839 - std::panicking::try::h664f75e41c112145 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 26: 0x55f5a25bc839 - std::panic::catch_unwind::h4932ec05cd60558e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 27: 0x55f5a25bc839 - test::run_test_in_process::ha14a47756671755c [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:597:18 [INFO] [stdout] 28: 0x55f5a25bc839 - test::run_test::run_test_inner::{{closure}}::h0ec9e37c8f67b62d [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:491:39 [INFO] [stdout] 29: 0x55f5a25889ee - test::run_test::run_test_inner::{{closure}}::hd9d2e7f26d4f59e6 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:518:37 [INFO] [stdout] 30: 0x55f5a25889ee - std::sys_common::backtrace::__rust_begin_short_backtrace::h41c0a39fac5123f8 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 31: 0x55f5a258df58 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h69a02ca0bebb6eeb [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 32: 0x55f5a258df58 - as core::ops::function::FnOnce<()>>::call_once::hdd05632920ce689b [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x55f5a258df58 - std::panicking::try::do_call::hb4947142729b90fd [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 34: 0x55f5a258df58 - std::panicking::try::h15a7e9b8394e6878 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 35: 0x55f5a258df58 - std::panic::catch_unwind::hbd3f4a3f9df49b85 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 36: 0x55f5a258df58 - std::thread::Builder::spawn_unchecked_::{{closure}}::h880b5d5f1b9799f4 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 37: 0x55f5a258df58 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h304d5eaf401f5061 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x55f5a261c913 - as core::ops::function::FnOnce>::call_once::hdba7f2afed0c35b3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 39: 0x55f5a261c913 - as core::ops::function::FnOnce>::call_once::h38b0832765bf7961 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 40: 0x55f5a261c913 - std::sys::unix::thread::Thread::new::thread_start::h70236dc17753425e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 41: 0x7ffa4f1b8609 - start_thread [INFO] [stdout] 42: 0x7ffa4ef88163 - clone [INFO] [stdout] 43: 0x0 - [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.05s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] running `Command { std: "docker" "inspect" "9e99dd8c279e35446ddbd99186efaf202812cf9e96ac157a1663d7f295b74a2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e99dd8c279e35446ddbd99186efaf202812cf9e96ac157a1663d7f295b74a2e", kill_on_drop: false }` [INFO] [stdout] 9e99dd8c279e35446ddbd99186efaf202812cf9e96ac157a1663d7f295b74a2e