[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-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgears-project%2Fgearsx" "/workspace/builds/worker-49/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-49/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gears-project/gearsx on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-49/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-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded input_buffer v0.2.0 [INFO] [stderr] Downloaded serde_tuple v0.4.0 [INFO] [stderr] Downloaded headers-core v0.1.1 [INFO] [stderr] Downloaded urlencoding v1.0.0 [INFO] [stderr] Downloaded juniper v0.14.2 [INFO] [stderr] Downloaded juniper_codegen v0.14.2 [INFO] [stderr] Downloaded headers v0.2.3 [INFO] [stderr] Downloaded diesel v1.4.4 [INFO] [stderr] Downloaded warp v0.1.20 [INFO] [stderr] Downloaded tungstenite v0.9.2 [INFO] [stderr] Downloaded juniper_warp v0.5.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 504b23e3556d34997379eaca7596412b66461686a4350366d0d058e602c66860 [INFO] running `Command { std: "docker" "start" "-a" "504b23e3556d34997379eaca7596412b66461686a4350366d0d058e602c66860", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "504b23e3556d34997379eaca7596412b66461686a4350366d0d058e602c66860", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "504b23e3556d34997379eaca7596412b66461686a4350366d0d058e602c66860", kill_on_drop: false }` [INFO] [stdout] 504b23e3556d34997379eaca7596412b66461686a4350366d0d058e602c66860 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79ede1ba7b44441b19c422a8f0b208795fba1f43b18c44e3f0d1ffb9402f542f [INFO] running `Command { std: "docker" "start" "-a" "79ede1ba7b44441b19c422a8f0b208795fba1f43b18c44e3f0d1ffb9402f542f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling smallvec v1.1.0 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling futures-sink v0.3.3 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling futures-core v0.3.3 [INFO] [stderr] Compiling dtoa v0.4.4 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling futures-task v0.3.3 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling futures-io v0.3.3 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling urlencoding v1.0.0 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling lock_api v0.3.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling unicode-normalization v0.1.11 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling thread_local v0.3.6 [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 rustc_version v0.2.3 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling futures-channel v0.3.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling quote v1.0.2 [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 url v2.1.0 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling parking_lot v0.10.0 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling backtrace v0.3.43 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling input_buffer v0.2.0 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.3 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling r2d2 v0.8.8 [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 headers-core v0.1.1 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling headers v0.2.3 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling mime_guess v1.8.7 [INFO] [stderr] Compiling tokio-uds v0.2.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling tungstenite v0.9.2 [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 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 chrono v0.4.10 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling serde_json v1.0.44 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_yaml v0.8.11 [INFO] [stderr] Compiling serde_tuple v0.4.0 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling juniper v0.14.2 [INFO] [stderr] Compiling diesel v1.4.4 [INFO] [stderr] Compiling warp v0.1.20 [INFO] [stderr] Compiling juniper_warp v0.5.2 [INFO] [stderr] Compiling gearsx v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/structure/data.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/domain.rs:172:61 [INFO] [stdout] | [INFO] [stdout] 172 | let res: Vec<&Entity> = self.entities.iter().filter({ |e| e.id.eq(&id) }).collect(); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 172 - let res: Vec<&Entity> = self.entities.iter().filter({ |e| e.id.eq(&id) }).collect(); [INFO] [stdout] 172 + let res: Vec<&Entity> = self.entities.iter().filter(|e| e.id.eq(&id)).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/domain.rs:181:51 [INFO] [stdout] | [INFO] [stdout] 181 | let index = self.entities.iter().position({ |e| e.id.eq(&id) }); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 181 - let index = self.entities.iter().position({ |e| e.id.eq(&id) }); [INFO] [stdout] 181 + let index = self.entities.iter().position(|e| e.id.eq(&id)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/domain.rs:193:21 [INFO] [stdout] | [INFO] [stdout] 193 | .filter({ |e| e.name.eq(name) }) [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 193 - .filter({ |e| e.name.eq(name) }) [INFO] [stdout] 193 + .filter(|e| e.name.eq(name)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/domain.rs:215:51 [INFO] [stdout] | [INFO] [stdout] 215 | let index = entities.into_iter().position({ |e| e.id.eq(&id) }); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 215 - let index = entities.into_iter().position({ |e| e.id.eq(&id) }); [INFO] [stdout] 215 + let index = entities.into_iter().position(|e| e.id.eq(&id)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/domain.rs:262:21 [INFO] [stdout] | [INFO] [stdout] 262 | .filter({ |e| e.name.eq(name) }) [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 262 - .filter({ |e| e.name.eq(name) }) [INFO] [stdout] 262 + .filter(|e| e.name.eq(name)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/structure/xflow.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DocumentReference` [INFO] [stdout] --> src/structure/fngroup.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use super::common::{Document, DocumentReference}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FnGroupFnNew` [INFO] [stdout] --> src/structure/fngroup.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::messages::{FnGroupFnNew, FnGroupFnUpdate}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/fngroup.rs:124:46 [INFO] [stdout] | [INFO] [stdout] 124 | let index = self.fns.iter().position({ |e| e.id.eq(&id) }); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 124 - let index = self.fns.iter().position({ |e| e.id.eq(&id) }); [INFO] [stdout] 124 + let index = self.fns.iter().position(|e| e.id.eq(&id)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/structure/domain.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/structure/xflow.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/structure/fngroup.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated 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 1m 46s [INFO] running `Command { std: "docker" "inspect" "79ede1ba7b44441b19c422a8f0b208795fba1f43b18c44e3f0d1ffb9402f542f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79ede1ba7b44441b19c422a8f0b208795fba1f43b18c44e3f0d1ffb9402f542f", kill_on_drop: false }` [INFO] [stdout] 79ede1ba7b44441b19c422a8f0b208795fba1f43b18c44e3f0d1ffb9402f542f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e7224da1b8cc23707c8eb8799acfa1d10695b4d81255b27f36c77cd882825d8 [INFO] running `Command { std: "docker" "start" "-a" "8e7224da1b8cc23707c8eb8799acfa1d10695b4d81255b27f36c77cd882825d8", 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: 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: `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: 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: 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/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: `#[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: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: 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: 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: 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: 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] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 58.87s [INFO] running `Command { std: "docker" "inspect" "8e7224da1b8cc23707c8eb8799acfa1d10695b4d81255b27f36c77cd882825d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e7224da1b8cc23707c8eb8799acfa1d10695b4d81255b27f36c77cd882825d8", kill_on_drop: false }` [INFO] [stdout] 8e7224da1b8cc23707c8eb8799acfa1d10695b4d81255b27f36c77cd882825d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 33c3ae43c3b308228326184d7375371b992d456c114d3d4c565bd692d94efb39 [INFO] running `Command { std: "docker" "start" "-a" "33c3ae43c3b308228326184d7375371b992d456c114d3d4c565bd692d94efb39", 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") generated 29 warnings (20 duplicates) [INFO] [stderr] warning: `gearsx` (bin "gearsx" test) generated 29 warnings (29 duplicates) [INFO] [stderr] warning: `gearsx` (test "test_util_fs") generated 2 warnings [INFO] [stderr] warning: `gearsx` (test "test_structure_domain") generated 2 warnings (2 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests (/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_integer ... ok [INFO] [stdout] test structure::data::test::test_vtype_string ... 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: 0x5621f567456c - std::backtrace_rs::backtrace::libunwind::trace::h02555d7ca8aa068a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x5621f567456c - std::backtrace_rs::backtrace::trace_unsynchronized::h8555a46024147da8 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5621f567456c - std::sys_common::backtrace::_print_fmt::h4c7f50b4f105da1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x5621f567456c - ::fmt::ha305a40dbc030444 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x5621f56998bc - core::fmt::write::hadd15acf4d6ce273 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x5621f566fe58 - std::io::Write::write_fmt::h271050faa79d27d2 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x5621f5676837 - std::sys_common::backtrace::_print::h0dd5c0810675bd8c [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x5621f5676837 - std::sys_common::backtrace::print::h20a2155fa0a22ca6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x5621f5676837 - std::panicking::default_hook::{{closure}}::habb3b6f3ccdfe00a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x5621f567656b - std::panicking::default_hook::h1c5cf4d5063a38e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x5621f5676f8a - std::panicking::rust_panic_with_hook::hb5de7a3072d2cf59 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x5621f5676c77 - std::panicking::begin_panic_handler::{{closure}}::h5106de2f55f1a411 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x5621f5674a34 - std::sys_common::backtrace::__rust_end_short_backtrace::h5ad5c2a8a003ca72 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x5621f5676989 - rust_begin_unwind [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x5621f55e7143 - core::panicking::panic_fmt::hfb4b8460cd493e74 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x5621f5698478 - core::panicking::assert_failed_inner::h6332a1b3f7595954 [INFO] [stdout] 16: 0x5621f55ea60e - core::panicking::assert_failed::h974b21e761996e08 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panicking.rs:182:5 [INFO] [stdout] 17: 0x5621f55ea58f - gearsx::structure::fngroup::test::test_next_id::he830ba619a1e3c26 [INFO] [stdout] at /opt/rustwide/workdir/src/structure/fngroup.rs:146:9 [INFO] [stdout] 18: 0x5621f55ea44a - gearsx::structure::fngroup::test::test_next_id::{{closure}}::h1a98abb9123cee5f [INFO] [stdout] at /opt/rustwide/workdir/src/structure/fngroup.rs:144:5 [INFO] [stdout] 19: 0x5621f55e867e - core::ops::function::FnOnce::call_once::h8628eb2f33410901 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x5621f56179e3 - core::ops::function::FnOnce::call_once::h43953c8a8f54893f [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x5621f56179e3 - test::__rust_begin_short_backtrace::h163f55298a15df9b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:575:5 [INFO] [stdout] 22: 0x5621f5616711 - as core::ops::function::FnOnce>::call_once::hc911782b3cbc7ed5 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 23: 0x5621f5616711 - as core::ops::function::FnOnce<()>>::call_once::hc5bb369afbf9cd4e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x5621f5616711 - std::panicking::try::do_call::he60df4e3e832faff [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 25: 0x5621f5616711 - std::panicking::try::h2633cee89a0767f3 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 26: 0x5621f5616711 - std::panic::catch_unwind::h6e10f7b94ce38b1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 27: 0x5621f5616711 - test::run_test_in_process::h085ef39049c3b50b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:598:18 [INFO] [stdout] 28: 0x5621f5616711 - test::run_test::run_test_inner::{{closure}}::h4e58ce9f68eb43e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:492:39 [INFO] [stdout] 29: 0x5621f561fff1 - test::run_test::run_test_inner::{{closure}}::h6d18db28c5e396ee [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:519:37 [INFO] [stdout] 30: 0x5621f561fff1 - std::sys_common::backtrace::__rust_begin_short_backtrace::h32292cb2cd8be620 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 31: 0x5621f55ec74f - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h71ee66b20f7b0482 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 32: 0x5621f55ec74f - as core::ops::function::FnOnce<()>>::call_once::hb6046e1d1a75a4a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x5621f55ec74f - std::panicking::try::do_call::h5422165a88309c77 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 34: 0x5621f55ec74f - std::panicking::try::h840a12b54e2c9f5d [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 35: 0x5621f55ec74f - std::panic::catch_unwind::h85910e437c8da180 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 36: 0x5621f55ec74f - std::thread::Builder::spawn_unchecked_::{{closure}}::ha3af3a297bfd51d6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 37: 0x5621f55ec74f - core::ops::function::FnOnce::call_once{{vtable.shim}}::hff8788f58e0e06a9 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x5621f567cc33 - as core::ops::function::FnOnce>::call_once::h82a18723295373b7 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 39: 0x5621f567cc33 - as core::ops::function::FnOnce>::call_once::h4b9b8634f7a2a5a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 40: 0x5621f567cc33 - std::sys::unix::thread::Thread::new::thread_start::h3dc341aa024c6852 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 41: 0x7f09c196c609 - start_thread [INFO] [stdout] 42: 0x7f09c173e293 - 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.02s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] running `Command { std: "docker" "inspect" "33c3ae43c3b308228326184d7375371b992d456c114d3d4c565bd692d94efb39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33c3ae43c3b308228326184d7375371b992d456c114d3d4c565bd692d94efb39", kill_on_drop: false }` [INFO] [stdout] 33c3ae43c3b308228326184d7375371b992d456c114d3d4c565bd692d94efb39