[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-2021-09-08 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgears-project%2Fgearsx" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gears-project/gearsx on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "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-7/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-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded urlencoding v1.0.0 [INFO] [stderr] Downloaded input_buffer v0.2.0 [INFO] [stderr] Downloaded diesel v1.4.4 [INFO] [stderr] Downloaded juniper v0.14.2 [INFO] [stderr] Downloaded headers v0.2.3 [INFO] [stderr] Downloaded juniper_warp v0.5.2 [INFO] [stderr] Downloaded juniper_codegen v0.14.2 [INFO] [stderr] Downloaded warp v0.1.20 [INFO] [stderr] Downloaded headers-core v0.1.1 [INFO] [stderr] Downloaded tungstenite v0.9.2 [INFO] [stderr] Downloaded serde_tuple v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 653766ddd339e5861545d38e83cb11e27c20c2f392e2f133dbb9c4f93c616a44 [INFO] running `Command { std: "docker" "start" "-a" "653766ddd339e5861545d38e83cb11e27c20c2f392e2f133dbb9c4f93c616a44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "653766ddd339e5861545d38e83cb11e27c20c2f392e2f133dbb9c4f93c616a44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "653766ddd339e5861545d38e83cb11e27c20c2f392e2f133dbb9c4f93c616a44", kill_on_drop: false }` [INFO] [stdout] 653766ddd339e5861545d38e83cb11e27c20c2f392e2f133dbb9c4f93c616a44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c965e4a89dc734b61513166ee6f580eedf5225cb15d7ce7d079062af2ee0cba5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c965e4a89dc734b61513166ee6f580eedf5225cb15d7ce7d079062af2ee0cba5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling futures-sink v0.3.3 [INFO] [stderr] Compiling futures-core v0.3.3 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling tokio-io v0.1.13 [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 headers-core v0.1.1 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling futures-channel v0.3.3 [INFO] [stderr] Compiling headers v0.2.3 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tungstenite v0.9.2 [INFO] [stderr] Compiling r2d2 v0.8.8 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling mime_guess v1.8.7 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-uds v0.2.6 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling multipart v0.16.1 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling juniper_codegen v0.14.2 [INFO] [stderr] Compiling diesel_derives v1.4.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 serde v1.0.104 [INFO] [stderr] Compiling futures-executor v0.3.3 [INFO] [stderr] Compiling futures v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.44 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling chrono v0.4.10 [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 hyper v0.12.35 [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] | ^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/domain.rs:181:51 [INFO] [stdout] | [INFO] [stdout] 181 | let index = self.entities.iter().position({ |e| e.id.eq(&id) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/domain.rs:193:21 [INFO] [stdout] | [INFO] [stdout] 193 | .filter({ |e| e.name.eq(name) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/domain.rs:215:51 [INFO] [stdout] | [INFO] [stdout] 215 | let index = entities.into_iter().position({ |e| e.id.eq(&id) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/domain.rs:262:21 [INFO] [stdout] | [INFO] [stdout] 262 | .filter({ |e| e.name.eq(name) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/structure/xflow.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DocumentReference` [INFO] [stdout] --> src/structure/fngroup.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use super::common::{Document, DocumentReference}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FnGroupFnNew` [INFO] [stdout] --> src/structure/fngroup.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::messages::{FnGroupFnNew, FnGroupFnUpdate}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/fngroup.rs:124:46 [INFO] [stdout] | [INFO] [stdout] 124 | let index = self.fns.iter().position({ |e| e.id.eq(&id) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[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] | ^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/domain.rs:181:51 [INFO] [stdout] | [INFO] [stdout] 181 | let index = self.entities.iter().position({ |e| e.id.eq(&id) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/domain.rs:193:21 [INFO] [stdout] | [INFO] [stdout] 193 | .filter({ |e| e.name.eq(name) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/domain.rs:215:51 [INFO] [stdout] | [INFO] [stdout] 215 | let index = entities.into_iter().position({ |e| e.id.eq(&id) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/domain.rs:262:21 [INFO] [stdout] | [INFO] [stdout] 262 | .filter({ |e| e.name.eq(name) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/structure/xflow.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DocumentReference` [INFO] [stdout] --> src/structure/fngroup.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use super::common::{Document, DocumentReference}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FnGroupFnNew` [INFO] [stdout] --> src/structure/fngroup.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::messages::{FnGroupFnNew, FnGroupFnUpdate}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/fngroup.rs:124:46 [INFO] [stdout] | [INFO] [stdout] 124 | let index = self.fns.iter().position({ |e| e.id.eq(&id) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/structure/domain.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/structure/xflow.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/structure/fngroup.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:15:68 [INFO] [stdout] | [INFO] [stdout] 15 | Err(why) => panic!("couldn't open {}: {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:21:56 [INFO] [stdout] | [INFO] [stdout] 21 | panic!("couldn't read {}: {}", display, Error::description(&why)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/structure/data.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 164 | unimplemented!(); [INFO] [stdout] | ----------------- any code following this expression is unreachable [INFO] [stdout] 165 | [INFO] [stdout] 166 | ids [INFO] [stdout] | ^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:33:59 [INFO] [stdout] | [INFO] [stdout] 33 | error!("couldn't create {}: {}", display, why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:34:59 [INFO] [stdout] | [INFO] [stdout] 34 | panic!("couldn't create {}: {}", display, why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:41:61 [INFO] [stdout] | [INFO] [stdout] 41 | error!("couldn't write to {}: {}", display, why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util/fs.rs:42:61 [INFO] [stdout] | [INFO] [stdout] 42 | panic!("couldn't write to {}: {}", display, why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_json_file` [INFO] [stdout] --> src/util/fs.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn read_json_file(path: &Path) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_file` [INFO] [stdout] --> src/util/fs.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn write_file(filename: &str, data: &str) -> () { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_dir` [INFO] [stdout] --> src/util/fs.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn create_dir(path: &str) -> () { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `model_to_fs` [INFO] [stdout] --> src/util/fs.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn model_to_fs(model: &ModelxDocument, path: &str) -> Result<(), ModelLoadError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `model_from_fs` [INFO] [stdout] --> src/util/fs.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn model_from_fs(path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `init_new_model_dir` [INFO] [stdout] --> src/util/fs.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn init_new_model_dir(path: &str) -> Result<(), ModelLoadError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_model_dir` [INFO] [stdout] --> src/util/fs.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn is_model_dir(path: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `uuid_to_label` [INFO] [stdout] --> src/util/naming.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn uuid_to_label(id: &Uuid) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/structure/domain.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | &mut self.entities.remove(idx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 218 | let _ = &mut self.entities.remove(idx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 02s [INFO] running `Command { std: "docker" "inspect" "c965e4a89dc734b61513166ee6f580eedf5225cb15d7ce7d079062af2ee0cba5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c965e4a89dc734b61513166ee6f580eedf5225cb15d7ce7d079062af2ee0cba5", kill_on_drop: false }` [INFO] [stdout] c965e4a89dc734b61513166ee6f580eedf5225cb15d7ce7d079062af2ee0cba5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6922ac9b6991131d8caf8f8e95939b0757413605cf10f333936e99c91d5eafc6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6922ac9b6991131d8caf8f8e95939b0757413605cf10f333936e99c91d5eafc6", kill_on_drop: false }` [INFO] [stderr] Compiling tempdir v0.3.7 [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] | ^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/domain.rs:181:51 [INFO] [stdout] | [INFO] [stdout] 181 | let index = self.entities.iter().position({ |e| e.id.eq(&id) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/domain.rs:193:21 [INFO] [stdout] | [INFO] [stdout] 193 | .filter({ |e| e.name.eq(name) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/domain.rs:215:51 [INFO] [stdout] | [INFO] [stdout] 215 | let index = entities.into_iter().position({ |e| e.id.eq(&id) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/domain.rs:262:21 [INFO] [stdout] | [INFO] [stdout] 262 | .filter({ |e| e.name.eq(name) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/structure/xflow.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DocumentReference` [INFO] [stdout] --> src/structure/fngroup.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use super::common::{Document, DocumentReference}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FnGroupFnNew` [INFO] [stdout] --> src/structure/fngroup.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::messages::{FnGroupFnNew, FnGroupFnUpdate}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/fngroup.rs:124:46 [INFO] [stdout] | [INFO] [stdout] 124 | let index = self.fns.iter().position({ |e| e.id.eq(&id) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[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] | ^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/domain.rs:181:51 [INFO] [stdout] | [INFO] [stdout] 181 | let index = self.entities.iter().position({ |e| e.id.eq(&id) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/domain.rs:193:21 [INFO] [stdout] | [INFO] [stdout] 193 | .filter({ |e| e.name.eq(name) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/domain.rs:215:51 [INFO] [stdout] | [INFO] [stdout] 215 | let index = entities.into_iter().position({ |e| e.id.eq(&id) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/domain.rs:262:21 [INFO] [stdout] | [INFO] [stdout] 262 | .filter({ |e| e.name.eq(name) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/structure/xflow.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DocumentReference` [INFO] [stdout] --> src/structure/fngroup.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use super::common::{Document, DocumentReference}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FnGroupFnNew` [INFO] [stdout] --> src/structure/fngroup.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::messages::{FnGroupFnNew, FnGroupFnUpdate}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/fngroup.rs:124:46 [INFO] [stdout] | [INFO] [stdout] 124 | let index = self.fns.iter().position({ |e| e.id.eq(&id) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[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 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] | ^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/domain.rs:181:51 [INFO] [stdout] | [INFO] [stdout] 181 | let index = self.entities.iter().position({ |e| e.id.eq(&id) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/domain.rs:193:21 [INFO] [stdout] | [INFO] [stdout] 193 | .filter({ |e| e.name.eq(name) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/domain.rs:215:51 [INFO] [stdout] | [INFO] [stdout] 215 | let index = entities.into_iter().position({ |e| e.id.eq(&id) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/domain.rs:262:21 [INFO] [stdout] | [INFO] [stdout] 262 | .filter({ |e| e.name.eq(name) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/structure/xflow.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DocumentReference` [INFO] [stdout] --> src/structure/fngroup.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use super::common::{Document, DocumentReference}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FnGroupFnNew` [INFO] [stdout] --> src/structure/fngroup.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::messages::{FnGroupFnNew, FnGroupFnUpdate}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/fngroup.rs:124:46 [INFO] [stdout] | [INFO] [stdout] 124 | let index = self.fns.iter().position({ |e| e.id.eq(&id) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[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 import: `HashMap` [INFO] [stdout] --> src/structure/data.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/domain.rs:172:61 [INFO] [stdout] | [INFO] [stdout] 172 | let res: Vec<&Entity> = self.entities.iter().filter({ |e| e.id.eq(&id) }).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/domain.rs:181:51 [INFO] [stdout] | [INFO] [stdout] 181 | let index = self.entities.iter().position({ |e| e.id.eq(&id) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/domain.rs:193:21 [INFO] [stdout] | [INFO] [stdout] 193 | .filter({ |e| e.name.eq(name) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/domain.rs:215:51 [INFO] [stdout] | [INFO] [stdout] 215 | let index = entities.into_iter().position({ |e| e.id.eq(&id) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/domain.rs:262:21 [INFO] [stdout] | [INFO] [stdout] 262 | .filter({ |e| e.name.eq(name) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/structure/xflow.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DocumentReference` [INFO] [stdout] --> src/structure/fngroup.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use super::common::{Document, DocumentReference}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FnGroupFnNew` [INFO] [stdout] --> src/structure/fngroup.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::messages::{FnGroupFnNew, FnGroupFnUpdate}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/structure/fngroup.rs:124:46 [INFO] [stdout] | [INFO] [stdout] 124 | let index = self.fns.iter().position({ |e| e.id.eq(&id) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_json_file` [INFO] [stdout] --> src/util/fs.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn read_json_file(path: &Path) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_file` [INFO] [stdout] --> src/util/fs.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn write_file(filename: &str, data: &str) -> () { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_dir` [INFO] [stdout] --> src/util/fs.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn create_dir(path: &str) -> () { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `model_to_fs` [INFO] [stdout] --> src/util/fs.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn model_to_fs(model: &ModelxDocument, path: &str) -> Result<(), ModelLoadError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `model_from_fs` [INFO] [stdout] --> src/util/fs.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn model_from_fs(path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `init_new_model_dir` [INFO] [stdout] --> src/util/fs.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn init_new_model_dir(path: &str) -> Result<(), ModelLoadError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_model_dir` [INFO] [stdout] --> src/util/fs.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn is_model_dir(path: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `uuid_to_label` [INFO] [stdout] --> src/util/naming.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn uuid_to_label(id: &Uuid) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/structure/domain.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | &mut self.entities.remove(idx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 218 | let _ = &mut self.entities.remove(idx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 12.01s [INFO] running `Command { std: "docker" "inspect" "6922ac9b6991131d8caf8f8e95939b0757413605cf10f333936e99c91d5eafc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6922ac9b6991131d8caf8f8e95939b0757413605cf10f333936e99c91d5eafc6", kill_on_drop: false }` [INFO] [stdout] 6922ac9b6991131d8caf8f8e95939b0757413605cf10f333936e99c91d5eafc6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6587ddbe43dcb2b1bb7039a8c78216168cf363be707233af33c38de8baab3bd6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6587ddbe43dcb2b1bb7039a8c78216168cf363be707233af33c38de8baab3bd6", kill_on_drop: false }` [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/lib.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `HashMap` [INFO] [stderr] --> src/structure/data.rs:1:24 [INFO] [stderr] | [INFO] [stderr] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around method argument [INFO] [stderr] --> src/structure/domain.rs:172:61 [INFO] [stderr] | [INFO] [stderr] 172 | let res: Vec<&Entity> = self.entities.iter().filter({ |e| e.id.eq(&id) }).collect(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_braces)]` on by default [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] | ^^^^^^^^^^^^^^^^^^^^ help: remove these braces [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] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [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] | ^^^^^^^^^^^^^^^^^^^^ help: remove these braces [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] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [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] | ^^^^^^^^^^^^^^^^^^^^ help: remove these braces [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: 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: 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: `gearsx` (test "test_structure_domain") generated 2 warnings [INFO] [stderr] warning: `gearsx` (test "test_util_fs") generated 2 warnings (2 duplicates) [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] Finished test [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/gearsx-5e0e075ca935f169) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test structure::data::test::test_vtype_string ... ok [INFO] [stdout] test structure::fngroup::test::test_init_fngroup ... ok [INFO] [stdout] test structure::data::test::test_vtype_boolean ... ok [INFO] [stdout] test structure::data::test::test_vtype_integer ... ok [INFO] [stdout] test structure::domain::test::test_init_domain ... ok [INFO] [stdout] test structure::fngroup::test::test_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: 0x557f6faa7efc - std::backtrace_rs::backtrace::libunwind::trace::h51faa62df48810e4 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x557f6faa7efc - std::backtrace_rs::backtrace::trace_unsynchronized::h91de4d8e16d607e4 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x557f6faa7efc - std::sys_common::backtrace::_print_fmt::h71b0935f97e4322c [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x557f6faa7efc - ::fmt::h9a78218788c14e18 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x557f6facb39c - core::fmt::write::h3381b3176fe2b3d3 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/fmt/mod.rs:1150:17 [INFO] [stdout] 5: 0x557f6faa4a65 - std::io::Write::write_fmt::hb6383f24fe197d3c [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/io/mod.rs:1667:15 [INFO] [stdout] 6: 0x557f6faa9bb0 - std::sys_common::backtrace::_print::h4b77abc4d907ed0e [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x557f6faa9bb0 - std::sys_common::backtrace::print::hb170c60b542377ad [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x557f6faa9bb0 - std::panicking::default_hook::{{closure}}::h12bbda9af8901ee3 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:210:50 [INFO] [stdout] 9: 0x557f6faa97a2 - std::panicking::default_hook::h8c6c66d3f3ba6768 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:224:9 [INFO] [stdout] 10: 0x557f6faaa264 - std::panicking::rust_panic_with_hook::h36f2fa0bb09f4069 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:624:17 [INFO] [stdout] 11: 0x557f6faa9d40 - std::panicking::begin_panic_handler::{{closure}}::h9c42b65a42d06a7a [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:521:13 [INFO] [stdout] 12: 0x557f6faa83c4 - std::sys_common::backtrace::__rust_end_short_backtrace::hc791bddfe31e532c [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x557f6faa9ca9 - rust_begin_unwind [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:517:5 [INFO] [stdout] 14: 0x557f6fa1b671 - core::panicking::panic_fmt::hf9de31d4acbce4db [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/panicking.rs:101:14 [INFO] [stdout] 15: 0x557f6fac9f48 - core::panicking::assert_failed_inner::h62e8cb2847a6e7ec [INFO] [stdout] 16: 0x557f6fa1e76e - core::panicking::assert_failed::h3b42f6d9534cc84b [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/panicking.rs:140:5 [INFO] [stdout] 17: 0x557f6fa1efbf - gearsx::structure::fngroup::test::test_next_id::h6d6600f94f65226a [INFO] [stdout] at /opt/rustwide/workdir/src/structure/fngroup.rs:146:9 [INFO] [stdout] 18: 0x557f6fa1ee7a - gearsx::structure::fngroup::test::test_next_id::{{closure}}::hc95b43ce85b176d5 [INFO] [stdout] at /opt/rustwide/workdir/src/structure/fngroup.rs:144:5 [INFO] [stdout] 19: 0x557f6fa1cb3e - core::ops::function::FnOnce::call_once::h2540377528543f75 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x557f6fa546b3 - core::ops::function::FnOnce::call_once::h61555a204318cc58 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x557f6fa546b3 - test::__rust_begin_short_backtrace::h8331e7b1cc7a6e62 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/test/src/lib.rs:578:5 [INFO] [stdout] 22: 0x557f6fa53138 - as core::ops::function::FnOnce>::call_once::h98582e597fa7f145 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/alloc/src/boxed.rs:1636:9 [INFO] [stdout] 23: 0x557f6fa53138 - as core::ops::function::FnOnce<()>>::call_once::h38fa7a0826ecff45 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x557f6fa53138 - std::panicking::try::do_call::h5b27d1cfffaa9f87 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:403:40 [INFO] [stdout] 25: 0x557f6fa53138 - std::panicking::try::h86f7124b3264bcbe [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:367:19 [INFO] [stdout] 26: 0x557f6fa53138 - std::panic::catch_unwind::h42dadf3598df7528 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panic.rs:129:14 [INFO] [stdout] 27: 0x557f6fa53138 - test::run_test_in_process::h9d4b7510f0910050 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/test/src/lib.rs:601:18 [INFO] [stdout] 28: 0x557f6fa53138 - test::run_test::run_test_inner::{{closure}}::h9b17f1fd181fe294 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/test/src/lib.rs:493:39 [INFO] [stdout] 29: 0x557f6fa20c8e - test::run_test::run_test_inner::{{closure}}::h476f9211dfec6075 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/test/src/lib.rs:520:37 [INFO] [stdout] 30: 0x557f6fa20c8e - std::sys_common::backtrace::__rust_begin_short_backtrace::h5c2db6945645950d [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 31: 0x557f6fa25528 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h791169ea9ba5492d [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/thread/mod.rs:481:17 [INFO] [stdout] 32: 0x557f6fa25528 - as core::ops::function::FnOnce<()>>::call_once::he930357ede3f4b4d [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x557f6fa25528 - std::panicking::try::do_call::h0de4b1dd08a9aa80 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:403:40 [INFO] [stdout] 34: 0x557f6fa25528 - std::panicking::try::hf5b5c530df698d97 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:367:19 [INFO] [stdout] 35: 0x557f6fa25528 - std::panic::catch_unwind::hed97078f17dbf191 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panic.rs:129:14 [INFO] [stdout] 36: 0x557f6fa25528 - std::thread::Builder::spawn_unchecked::{{closure}}::h2e673950929cba93 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/thread/mod.rs:480:30 [INFO] [stdout] 37: 0x557f6fa25528 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h8e18ddd18a52f010 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x557f6faaef73 - as core::ops::function::FnOnce>::call_once::hbbbb32ef11ea0ad2 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/alloc/src/boxed.rs:1636:9 [INFO] [stdout] 39: 0x557f6faaef73 - as core::ops::function::FnOnce>::call_once::h3b8ef23699fc5385 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/alloc/src/boxed.rs:1636:9 [INFO] [stdout] 40: 0x557f6faaef73 - std::sys::unix::thread::Thread::new::thread_start::ha57f5cba35f709b7 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys/unix/thread.rs:106:17 [INFO] [stdout] 41: 0x7fb2b42b7609 - start_thread [INFO] [stdout] 42: 0x7fb2b4087293 - 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.04s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] running `Command { std: "docker" "inspect" "6587ddbe43dcb2b1bb7039a8c78216168cf363be707233af33c38de8baab3bd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6587ddbe43dcb2b1bb7039a8c78216168cf363be707233af33c38de8baab3bd6", kill_on_drop: false }` [INFO] [stdout] 6587ddbe43dcb2b1bb7039a8c78216168cf363be707233af33c38de8baab3bd6