[INFO] fetching crate grafen 0.9.1... [INFO] testing grafen-0.9.1 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate grafen 0.9.1 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate grafen 0.9.1 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate grafen 0.9.1 [INFO] finished tweaking crates.io crate grafen 0.9.1 [INFO] tweaked toml for crates.io crate grafen 0.9.1 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /workspace/builds/worker-2/source/src/bin/output.rs [INFO] [stderr] * /workspace/builds/worker-2/source/src/bin/error.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 83417f82447f832896dc7453c224dddc019870d3b71eaa497b0ed0fab33f6408 [INFO] running `Command { std: "docker" "start" "-a" "83417f82447f832896dc7453c224dddc019870d3b71eaa497b0ed0fab33f6408", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83417f82447f832896dc7453c224dddc019870d3b71eaa497b0ed0fab33f6408", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83417f82447f832896dc7453c224dddc019870d3b71eaa497b0ed0fab33f6408", kill_on_drop: false }` [INFO] [stdout] 83417f82447f832896dc7453c224dddc019870d3b71eaa497b0ed0fab33f6408 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 660029cc897af0c494d5804266c0af21f9473ed969ffa0a907a2baed26ceaa77 [INFO] running `Command { std: "docker" "start" "-a" "660029cc897af0c494d5804266c0af21f9473ed969ffa0a907a2baed26ceaa77", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /opt/rustwide/workdir/src/bin/output.rs [INFO] [stderr] * /opt/rustwide/workdir/src/bin/error.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling vec_map v0.7.0 [INFO] [stderr] Compiling bitflags v0.8.2 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling term_size v0.3.2 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling clap v2.23.3 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling tempfile v2.2.0 [INFO] [stderr] Compiling console v0.15.0 [INFO] [stderr] Compiling dialoguer v0.1.0 [INFO] [stderr] Compiling grafen v0.9.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `rand::sample`: renamed to seq::sample_iter [INFO] [stdout] --> src/volume/cuboid.rs:196:38 [INFO] [stdout] | [INFO] [stdout] 196 | let selected_indices = rand::sample(&mut rng, 0..num_cells, num_coords as usize); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/iterator.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | pub type AtomIterItem<'a> = Box> + 'a>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 - pub type AtomIterItem<'a> = Box> + 'a>; [INFO] [stdout] 10 + pub type AtomIterItem<'a> = Box> + 'a>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 34 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 34 + fn cause(&self) -> Option<&dyn error::Error> { [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/coord.rs:203:67 [INFO] [stdout] | [INFO] [stdout] 203 | .and_then(|v| v.parse::().map_err(|err| err.description().to_string())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `residue` [INFO] [stdout] --> src/surface/sheet.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | residue: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Circle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/surface/sheet.rs:173:10 [INFO] [stdout] | [INFO] [stdout] 173 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `radius` [INFO] [stdout] --> src/surface/sheet.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | radius: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Circle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/surface/sheet.rs:173:10 [INFO] [stdout] | [INFO] [stdout] 173 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/bin/ui/mod.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | @pre: { system.print_state() }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 39 - @pre: { system.print_state() }; [INFO] [stdout] 39 + @pre: system.print_state(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/error.rs:81:32 [INFO] [stdout] | [INFO] [stdout] 81 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 81 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 81 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/ui/edit_component.rs:66:70 [INFO] [stdout] | [INFO] [stdout] 66 | fn get_volume_from_user(components: &[ComponentEntry]) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 - fn get_volume_from_user(components: &[ComponentEntry]) -> Result> { [INFO] [stdout] 66 + fn get_volume_from_user(components: &[ComponentEntry]) -> Result> { [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/bin/error.rs:134:38 [INFO] [stdout] | [INFO] [stdout] 134 | GrafenCliError::RunError(err.description().to_string()) [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/bin/ui/edit_database/component.rs:44:69 [INFO] [stdout] | [INFO] [stdout] 44 | format!("Could not remove a component: {}", err.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/bin/ui/edit_database/component.rs:51:67 [INFO] [stdout] | [INFO] [stdout] 51 | format!("Could not reorder the list: {}", err.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/bin/ui/edit_database/residue.rs:26:65 [INFO] [stdout] | [INFO] [stdout] 26 | format!("Could not create residue: {}", err.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/bin/ui/edit_database/residue.rs:33:67 [INFO] [stdout] | [INFO] [stdout] 33 | format!("Could not remove a residue: {}", err.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/bin/ui/edit_database/residue.rs:40:67 [INFO] [stdout] | [INFO] [stdout] 40 | format!("Could not reorder the list: {}", err.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/bin/ui/edit_database/mod.rs:35:65 [INFO] [stdout] | [INFO] [stdout] 35 | format!("Could not write database: {}", err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.96s [INFO] running `Command { std: "docker" "inspect" "660029cc897af0c494d5804266c0af21f9473ed969ffa0a907a2baed26ceaa77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "660029cc897af0c494d5804266c0af21f9473ed969ffa0a907a2baed26ceaa77", kill_on_drop: false }` [INFO] [stdout] 660029cc897af0c494d5804266c0af21f9473ed969ffa0a907a2baed26ceaa77 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23da4ecf26f8ee2fe0adfbb55e44c6ef4bb78241c2e85f09a91d605dea370eb3 [INFO] running `Command { std: "docker" "start" "-a" "23da4ecf26f8ee2fe0adfbb55e44c6ef4bb78241c2e85f09a91d605dea370eb3", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /opt/rustwide/workdir/src/bin/output.rs [INFO] [stderr] * /opt/rustwide/workdir/src/bin/error.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stdout] warning: use of deprecated function `rand::sample`: renamed to seq::sample_iter [INFO] [stdout] --> src/volume/cuboid.rs:196:38 [INFO] [stdout] | [INFO] [stdout] 196 | let selected_indices = rand::sample(&mut rng, 0..num_cells, num_coords as usize); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/iterator.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | pub type AtomIterItem<'a> = Box> + 'a>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 - pub type AtomIterItem<'a> = Box> + 'a>; [INFO] [stdout] 10 + pub type AtomIterItem<'a> = Box> + 'a>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 34 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 34 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling grafen v0.9.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/coord.rs:203:67 [INFO] [stdout] | [INFO] [stdout] 203 | .and_then(|v| v.parse::().map_err(|err| err.description().to_string())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `residue` [INFO] [stdout] --> src/surface/sheet.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | residue: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Circle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/surface/sheet.rs:173:10 [INFO] [stdout] | [INFO] [stdout] 173 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `radius` [INFO] [stdout] --> src/surface/sheet.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | radius: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Circle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/surface/sheet.rs:173:10 [INFO] [stdout] | [INFO] [stdout] 173 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/bin/ui/mod.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | @pre: { system.print_state() }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 39 - @pre: { system.print_state() }; [INFO] [stdout] 39 + @pre: system.print_state(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/error.rs:81:32 [INFO] [stdout] | [INFO] [stdout] 81 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 81 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 81 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/ui/edit_component.rs:66:70 [INFO] [stdout] | [INFO] [stdout] 66 | fn get_volume_from_user(components: &[ComponentEntry]) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 - fn get_volume_from_user(components: &[ComponentEntry]) -> Result> { [INFO] [stdout] 66 + fn get_volume_from_user(components: &[ComponentEntry]) -> Result> { [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/bin/error.rs:134:38 [INFO] [stdout] | [INFO] [stdout] 134 | GrafenCliError::RunError(err.description().to_string()) [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/bin/ui/edit_database/component.rs:44:69 [INFO] [stdout] | [INFO] [stdout] 44 | format!("Could not remove a component: {}", err.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/bin/ui/edit_database/component.rs:51:67 [INFO] [stdout] | [INFO] [stdout] 51 | format!("Could not reorder the list: {}", err.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/bin/ui/edit_database/residue.rs:26:65 [INFO] [stdout] | [INFO] [stdout] 26 | format!("Could not create residue: {}", err.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/bin/ui/edit_database/residue.rs:33:67 [INFO] [stdout] | [INFO] [stdout] 33 | format!("Could not remove a residue: {}", err.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/bin/ui/edit_database/residue.rs:40:67 [INFO] [stdout] | [INFO] [stdout] 40 | format!("Could not reorder the list: {}", err.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/bin/ui/edit_database/mod.rs:35:65 [INFO] [stdout] | [INFO] [stdout] 35 | format!("Could not write database: {}", err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::sample`: renamed to seq::sample_iter [INFO] [stdout] --> src/volume/cuboid.rs:196:38 [INFO] [stdout] | [INFO] [stdout] 196 | let selected_indices = rand::sample(&mut rng, 0..num_cells, num_coords as usize); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/iterator.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | pub type AtomIterItem<'a> = Box> + 'a>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 - pub type AtomIterItem<'a> = Box> + 'a>; [INFO] [stdout] 10 + pub type AtomIterItem<'a> = Box> + 'a>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 34 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 34 + fn cause(&self) -> Option<&dyn error::Error> { [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/coord.rs:203:67 [INFO] [stdout] | [INFO] [stdout] 203 | .and_then(|v| v.parse::().map_err(|err| err.description().to_string())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `residue` [INFO] [stdout] --> src/surface/sheet.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | residue: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Circle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/surface/sheet.rs:173:10 [INFO] [stdout] | [INFO] [stdout] 173 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `radius` [INFO] [stdout] --> src/surface/sheet.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | radius: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Circle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/surface/sheet.rs:173:10 [INFO] [stdout] | [INFO] [stdout] 173 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.36s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/grafen-97c2eaec8ca27bba) [INFO] [stderr] Executable unittests src/bin/main.rs (/opt/rustwide/target/debug/deps/grafen-a425e1936f310805) [INFO] running `Command { std: "docker" "inspect" "23da4ecf26f8ee2fe0adfbb55e44c6ef4bb78241c2e85f09a91d605dea370eb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23da4ecf26f8ee2fe0adfbb55e44c6ef4bb78241c2e85f09a91d605dea370eb3", kill_on_drop: false }` [INFO] [stdout] 23da4ecf26f8ee2fe0adfbb55e44c6ef4bb78241c2e85f09a91d605dea370eb3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d327110150d7cf21f268a404e8a7dcd0028ec90447f20b5150a98af0f67fb761 [INFO] running `Command { std: "docker" "start" "-a" "d327110150d7cf21f268a404e8a7dcd0028ec90447f20b5150a98af0f67fb761", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /opt/rustwide/workdir/src/bin/output.rs [INFO] [stderr] * /opt/rustwide/workdir/src/bin/error.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: use of deprecated function `rand::sample`: renamed to seq::sample_iter [INFO] [stderr] --> src/volume/cuboid.rs:196:38 [INFO] [stderr] | [INFO] [stderr] 196 | let selected_indices = rand::sample(&mut rng, 0..num_cells, num_coords as usize); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/iterator.rs:10:33 [INFO] [stderr] | [INFO] [stderr] 10 | pub type AtomIterItem<'a> = Box> + 'a>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 10 - pub type AtomIterItem<'a> = Box> + 'a>; [INFO] [stderr] 10 + pub type AtomIterItem<'a> = Box> + 'a>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:34:32 [INFO] [stderr] | [INFO] [stderr] 34 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 34 - fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] 34 + fn cause(&self) -> Option<&dyn error::Error> { [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/coord.rs:203:67 [INFO] [stderr] | [INFO] [stderr] 203 | .and_then(|v| v.parse::().map_err(|err| err.description().to_string())) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `residue` [INFO] [stderr] --> src/surface/sheet.rs:176:5 [INFO] [stderr] | [INFO] [stderr] 176 | residue: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Circle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/surface/sheet.rs:173:10 [INFO] [stderr] | [INFO] [stderr] 173 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `radius` [INFO] [stderr] --> src/surface/sheet.rs:178:5 [INFO] [stderr] | [INFO] [stderr] 178 | radius: f64, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Circle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/surface/sheet.rs:173:10 [INFO] [stderr] | [INFO] [stderr] 173 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `grafen` (lib) generated 6 warnings [INFO] [stderr] warning: `grafen` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> src/bin/ui/mod.rs:39:15 [INFO] [stderr] | [INFO] [stderr] 39 | @pre: { system.print_state() }; [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_braces)]` on by default [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 39 - @pre: { system.print_state() }; [INFO] [stderr] 39 + @pre: system.print_state(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bin/error.rs:81:32 [INFO] [stderr] | [INFO] [stderr] 81 | fn cause(&self) -> Option<&Error> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 81 - fn cause(&self) -> Option<&Error> { [INFO] [stderr] 81 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bin/ui/edit_component.rs:66:70 [INFO] [stderr] | [INFO] [stderr] 66 | fn get_volume_from_user(components: &[ComponentEntry]) -> Result> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 66 - fn get_volume_from_user(components: &[ComponentEntry]) -> Result> { [INFO] [stderr] 66 + fn get_volume_from_user(components: &[ComponentEntry]) -> Result> { [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/bin/error.rs:134:38 [INFO] [stderr] | [INFO] [stderr] 134 | GrafenCliError::RunError(err.description().to_string()) [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/bin/ui/edit_database/component.rs:44:69 [INFO] [stderr] | [INFO] [stderr] 44 | format!("Could not remove a component: {}", err.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/bin/ui/edit_database/component.rs:51:67 [INFO] [stderr] | [INFO] [stderr] 51 | format!("Could not reorder the list: {}", err.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/bin/ui/edit_database/residue.rs:26:65 [INFO] [stderr] | [INFO] [stderr] 26 | format!("Could not create residue: {}", err.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/bin/ui/edit_database/residue.rs:33:67 [INFO] [stderr] | [INFO] [stderr] 33 | format!("Could not remove a residue: {}", err.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/bin/ui/edit_database/residue.rs:40:67 [INFO] [stderr] | [INFO] [stderr] 40 | format!("Could not reorder the list: {}", err.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/bin/ui/edit_database/mod.rs:35:65 [INFO] [stderr] | [INFO] [stderr] 35 | format!("Could not write database: {}", err.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `grafen` (bin "grafen" test) generated 10 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/grafen-97c2eaec8ca27bba) [INFO] [stdout] [INFO] [stdout] running 85 tests [INFO] [stdout] test coord::tests::coord_assign_operators ... ok [INFO] [stdout] test coord::tests::coord_distance_along_plane ... ok [INFO] [stdout] test coord::tests::coord_distance_calc ... ok [INFO] [stdout] test coord::tests::coord_eq_tolerance_small_deviation_passes ... ok [INFO] [stdout] test coord::tests::coord_display_format ... ok [INFO] [stdout] test coord::tests::coord_origo_is_correct ... ok [INFO] [stdout] test coord::tests::coord_to_tuple ... ok [INFO] [stdout] test coord::tests::coord_parsed_from_string ... ok [INFO] [stdout] test coord::tests::coord_with_set_pbc ... ok [INFO] [stdout] test coord::tests::coord_operators ... ok [INFO] [stdout] test coord::tests::coords_adjusted_by_pbc_with_size_0_does_not_change ... ok [INFO] [stdout] test coord::tests::impl_translate_object ... ok [INFO] [stdout] test coord::tests::default_coordinate ... ok [INFO] [stdout] test coord::tests::impl_translate_object_in_place ... ok [INFO] [stdout] test coord::tests::periodic_multiple_of_coords ... ok [INFO] [stdout] test coord::tests::rotate_a_coordinate ... ok [INFO] [stdout] test database::tests::component_entry_adds_with_pbc_method ... ok [INFO] [stdout] test coord::tests::rotating_a_sheet_to_alignment_works ... ok [INFO] [stdout] test database::tests::create_entry_macro_adds_from_method ... ok [INFO] [stdout] test database::tests::get_database_path ... ok [INFO] [stdout] test database::tests::database_by_default_sets_empty_vectors_if_not_available ... ok [INFO] [stdout] test database::tests::set_database_path ... ok [INFO] [stdout] test database::tests::set_database_to_empty_path_is_error ... ok [INFO] [stdout] test database::tests::serialize_and_deserialize_residue_entry ... ok [INFO] [stdout] test database::tests::read_and_write_database ... ok [INFO] [stdout] test iterator::tests::atom_iterator_with_no_residue_is_empty ... ok [INFO] [stdout] test iterator::tests::atom_iterator_yields_correct_values ... ok [INFO] [stdout] test surface::cylinder::tests::calc_box_size_of_cylinder ... ok [INFO] [stdout] test surface::cylinder::tests::cylinder_corrects_radius_and_height_to_match_lattice_spacing ... ok [INFO] [stdout] test surface::lattice::tests::crystal_spacing ... ok [INFO] [stdout] test surface::lattice::tests::hexagonal_lattice_has_corrected_periodicity ... ok [INFO] [stdout] test surface::lattice::tests::hexagonal_crystal ... ok [INFO] [stdout] test surface::lattice::tests::hexagonal_lattice_has_empty_points ... ok [INFO] [stdout] test surface::lattice::tests::hexagonal_lattice_with_size ... ok [INFO] [stdout] test surface::lattice::tests::lattice_constructed_without_size_is_empty ... ok [INFO] [stdout] test surface::lattice::tests::lattice_with_size ... ok [INFO] [stdout] test surface::lattice::tests::triclinic_crystal ... ok [INFO] [stdout] test surface::lattice::tests::triclinic_lattice ... ok [INFO] [stdout] test surface::sheet::tests::create_regular_sheets_updates_sheet_size_to_match_pbc ... ok [INFO] [stdout] test surface::points::tests::uniform_distribution_of_positions ... ok [INFO] [stdout] test surface::sheet::tests::create_sheets_with_negative_input_size_returns_error ... ok [INFO] [stdout] test surface::distribution::tests::create_poisson_distribution ... ok [INFO] [stdout] test system::tests::box_size_in_macro_generated_impls_adds_origin ... ok [INFO] [stdout] test system::tests::box_size_of_system_adds_origin ... ok [INFO] [stdout] test surface::sheet::tests::calc_box_size_of_sheet_accounts_for_sheet_normal ... ok [INFO] [stdout] test system::tests::create_residue_base_macro ... ok [INFO] [stdout] test system::tests::num_atoms_in_macro_generated_impl_objects ... ok [INFO] [stdout] test system::tests::num_atoms_in_system ... ok [INFO] [stdout] test system::tests::iterate_over_atoms_in_macro_generated_impl_without_residue_returns_empty_iterator ... ok [INFO] [stdout] test system::tests::with_pbc_in_macro_generated_impls_works_locally ... ok [INFO] [stdout] test system::tests::iterate_over_atoms_in_macro_generated_impl_object ... ok [INFO] [stdout] test volume::cuboid::tests::create_periodic_multiple_of_cuboid ... ok [INFO] [stdout] test volume::cuboid::tests::cuboid_contains_coordinates_in_absolute_space ... ok [INFO] [stdout] test volume::cuboid::tests::calc_box_size_of_cuboid ... ok [INFO] [stdout] test volume::cuboid::tests::cuboid_center_calculation_is_correct ... ok [INFO] [stdout] test volume::cuboid::tests::create_no_added_periodic_multiples_of_cuboid_just_clones ... ok [INFO] [stdout] test volume::cylinder::tests::cylinder_volume_is_correct ... ok [INFO] [stdout] test volume::tests::coordinates_within_cuboid_prune_with_respect_to_residue_atoms ... ok [INFO] [stdout] test volume::tests::fill_type_returns_correct_numbers ... ok [INFO] [stdout] test volume::tests::pruning_accounts_for_the_relative_translation_of_objects ... ok [INFO] [stdout] test volume::cuboid::tests::cuboid_volume_is_correct ... ok [INFO] [stdout] test volume::cuboid::tests::translated_cuboid_center_is_correct ... ok [INFO] [stdout] test volume::cuboid::tests::translate_a_cuboid ... ok [INFO] [stdout] test volume::cylinder::tests::cylinder_contains_coordinates_in_absolute_space_depending_on_direction ... ok [INFO] [stdout] test volume::cuboid::tests::calculate_cuboid_center ... ok [INFO] [stdout] test system::tests::iterate_over_atoms_in_whole_system_gives_correct_results ... ok [INFO] [stdout] test volume::tests::coordinates_within_cuboid_are_pruned ... ok [INFO] [stdout] test volume::cylinder::tests::calc_box_size_of_cylinder ... ok [INFO] [stdout] test volume::cylinder::tests::cylinder_from_density_makes_an_expected_number_of_coordinates ... ok [INFO] [stdout] test volume::cuboid::tests::cuboid_into_cylinder ... ok [INFO] [stdout] test volume::cuboid::tests::cuboid_into_sphere ... ok [INFO] [stdout] test volume::cuboid::tests::density_is_set_after_fill ... ok [INFO] [stdout] test surface::cylinder::tests::constructing_cylinder_with_negative_radius_or_height_returns_error ... ok [INFO] [stdout] test volume::cylinder::tests::fill_cylinder_with_coords ... ok [INFO] [stdout] test surface::cylinder::tests::add_caps_to_cylinder ... ok [INFO] [stdout] test volume::cuboid::tests::cuboid_expands_to_create_full_cylinder_if_too_small ... ok [INFO] [stdout] test volume::cuboid::tests::cuboid_expands_to_create_full_sphere_if_too_small ... ok [INFO] [stdout] test volume::cuboid::tests::cuboid_to_cylinder_keeps_an_expected_number_of_coordinates ... ok [INFO] [stdout] test coord::tests::coord_eq_tolerance_larger_deviation_does_not - should panic ... ok [INFO] [stdout] test surface::sheet::tests::small_sheets_extend_periodically_if_the_circle_is_too_large ... ok [INFO] [stdout] test surface::cylinder::tests::cylinder_is_bent_from_sheet_as_expected ... ok [INFO] [stdout] test surface::sheet::tests::create_sheet_with_density ... ok [INFO] [stdout] test surface::sheet::tests::variance_is_added_if_requested ... ok [INFO] [stdout] test surface::sheet::tests::cut_a_sheet_into_a_circle ... ok [INFO] [stdout] test surface::sheet::tests::sheet_can_be_constructed_along_x_and_y ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 85 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.60s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/main.rs (/opt/rustwide/target/debug/deps/grafen-a425e1936f310805) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test ui::edit_database::residue::tests::residue_builder_is_ok_if_all_are_set ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests grafen [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test src/system.rs - system::impl_component (line 124) ... FAILED [INFO] [stdout] test src/coord.rs - coord::Coord::distance (line 58) ... ok [INFO] [stdout] test src/coord.rs - coord::Coord::distance_cylindrical (line 74) ... ok [INFO] [stdout] test src/coord.rs - coord::Coord::new (line 34) ... ok [INFO] [stdout] test src/coord.rs - coord::Coord::to_tuple (line 46) ... ok [INFO] [stdout] test src/describe.rs - describe::unwrap_name (line 46) ... ok [INFO] [stdout] test src/coord.rs - coord::Coord::rotate (line 102) ... ok [INFO] [stdout] test src/coord.rs - coord::Coord (line 13) ... ok [INFO] [stdout] test src/coord.rs - coord::Coord::with_pbc (line 129) ... ok [INFO] [stdout] test src/coord.rs - coord::Coord::from_str (line 188) ... ok [INFO] [stdout] test src/database.rs - database::create_entry_wrapper (line 44) ... ok [INFO] [stdout] test src/coord.rs - coord::Coord::with_pbc (line 123) ... ok [INFO] [stdout] test src/coord.rs - coord::Coord::pbc_multiply (line 157) ... ok [INFO] [stdout] test src/coord.rs - coord::Coord::from_str (line 194) ... ok [INFO] [stdout] test src/system.rs - system::resbase (line 214) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/system.rs - system::impl_component (line 124) stdout ---- [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/system.rs:126:20 [INFO] [stdout] | [INFO] [stdout] 3 | { [INFO] [stdout] | - while parsing this struct [INFO] [stdout] 4 | residue: Option, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments [INFO] [stdout] = help: or use `(...)` if you meant to specify fn arguments [INFO] [stdout] [INFO] [stdout] error: struct literal body without path [INFO] [stdout] --> src/system.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 3 | / { [INFO] [stdout] 4 | | residue: Option, [INFO] [stdout] 5 | | origin: Coord, [INFO] [stdout] 6 | | coords: [Coord] [INFO] [stdout] 7 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: you might have forgotten to add the struct literal inside the block [INFO] [stdout] | [INFO] [stdout] 3 ~ { SomeStruct { [INFO] [stdout] 4 | residue: Option, [INFO] [stdout] 5 | origin: Coord, [INFO] [stdout] 6 | coords: [Coord] [INFO] [stdout] 7 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/system.rs - system::impl_component (line 124) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 14 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.45s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "d327110150d7cf21f268a404e8a7dcd0028ec90447f20b5150a98af0f67fb761", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d327110150d7cf21f268a404e8a7dcd0028ec90447f20b5150a98af0f67fb761", kill_on_drop: false }` [INFO] [stdout] d327110150d7cf21f268a404e8a7dcd0028ec90447f20b5150a98af0f67fb761