[INFO] fetching crate grafen 0.9.1... [INFO] testing grafen-0.9.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate grafen 0.9.1 into /workspace/builds/worker-2-tc1/source [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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate grafen 0.9.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 64 packages to latest compatible versions [INFO] [stderr] Adding ansi_term v0.9.0 (available: v0.12.1) [INFO] [stderr] Adding clap v2.23.3 (available: v2.34.0) [INFO] [stderr] Adding colored v1.9.4 (available: v3.0.0) [INFO] [stderr] Adding dialoguer v0.1.0 (available: v0.11.0) [INFO] [stderr] Adding rand v0.3.23 (available: v0.9.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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] * src/bin/output.rs [INFO] [stderr] * 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: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded console v0.16.0 [INFO] [stderr] Downloaded dialoguer v0.1.0 [INFO] [stderr] Downloaded clap v2.23.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e147c059926a5f942fdcbb4cbab5c369b77f4f20891c61f6388a5ca002f31be9 [INFO] running `Command { std: "docker" "start" "-a" "e147c059926a5f942fdcbb4cbab5c369b77f4f20891c61f6388a5ca002f31be9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e147c059926a5f942fdcbb4cbab5c369b77f4f20891c61f6388a5ca002f31be9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e147c059926a5f942fdcbb4cbab5c369b77f4f20891c61f6388a5ca002f31be9", kill_on_drop: false }` [INFO] [stdout] e147c059926a5f942fdcbb4cbab5c369b77f4f20891c61f6388a5ca002f31be9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e964ae9aeeb112bf3bec458c032f52061e3eabc2809e4b464d8b5fdd31495655 [INFO] running `Command { std: "docker" "start" "-a" "e964ae9aeeb112bf3bec458c032f52061e3eabc2809e4b464d8b5fdd31495655", 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] * src/bin/output.rs [INFO] [stderr] * 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: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling vec_map v0.7.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling bitflags v0.8.2 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling term_size v0.3.2 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling colored v1.9.4 [INFO] [stderr] Compiling console v0.16.0 [INFO] [stderr] Compiling clap v2.23.3 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling tempfile v2.2.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling dialoguer v0.1.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.140 [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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/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: fields `residue` and `radius` are never read [INFO] [stdout] --> src/surface/sheet.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 175 | pub struct Circle { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 176 | residue: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 177 | origin: Coord, [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/system.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn iter_atoms(&'a self) -> AtomIterItem { [INFO] [stdout] | ^^ ------------ the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 69 | pub fn iter_atoms(&'a self) -> AtomIterItem<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/database.rs:125:32 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn get_coords(&'a self) -> &Vec { [INFO] [stdout] | ^^ ----------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 242 | / create_entry_wrapper![ [INFO] [stdout] 243 | | ComponentEntry, [INFO] [stdout] 244 | | (volume::Cuboid => VolumeCuboid), [INFO] [stdout] 245 | | (volume::Cylinder => VolumeCylinder), [INFO] [stdout] 246 | | (surface::Sheet => SurfaceSheet), [INFO] [stdout] 247 | | (surface::Cylinder => SurfaceCylinder) [INFO] [stdout] 248 | | ]; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_entry_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 125 | pub fn get_coords(&'a self) -> &'a Vec { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/database.rs:134:36 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn get_coords_mut(&'a mut self) -> &mut Vec { [INFO] [stdout] | ^^ --------------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 242 | / create_entry_wrapper![ [INFO] [stdout] 243 | | ComponentEntry, [INFO] [stdout] 244 | | (volume::Cuboid => VolumeCuboid), [INFO] [stdout] 245 | | (volume::Cylinder => VolumeCylinder), [INFO] [stdout] 246 | | (surface::Sheet => SurfaceSheet), [INFO] [stdout] 247 | | (surface::Cylinder => SurfaceCylinder) [INFO] [stdout] 248 | | ]; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_entry_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 134 | pub fn get_coords_mut(&'a mut self) -> &'a mut Vec { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/database.rs:187:28 [INFO] [stdout] | [INFO] [stdout] 187 | fn iter_atoms(&'a self) -> AtomIterItem { [INFO] [stdout] | ^^ ------------ the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 242 | / create_entry_wrapper![ [INFO] [stdout] 243 | | ComponentEntry, [INFO] [stdout] 244 | | (volume::Cuboid => VolumeCuboid), [INFO] [stdout] 245 | | (volume::Cylinder => VolumeCylinder), [INFO] [stdout] 246 | | (surface::Sheet => SurfaceSheet), [INFO] [stdout] 247 | | (surface::Cylinder => SurfaceCylinder) [INFO] [stdout] 248 | | ]; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_entry_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 187 | fn iter_atoms(&'a self) -> AtomIterItem<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/system.rs:140:31 [INFO] [stdout] | [INFO] [stdout] 140 | fn iter_atoms(&self) -> AtomIterItem { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] ::: src/surface/cylinder.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | impl_component![Cylinder]; [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_component` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 140 | fn iter_atoms(&self) -> AtomIterItem<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/system.rs:140:31 [INFO] [stdout] | [INFO] [stdout] 140 | fn iter_atoms(&self) -> AtomIterItem { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] ::: src/surface/sheet.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | impl_component![Sheet]; [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_component` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 140 | fn iter_atoms(&self) -> AtomIterItem<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/system.rs:140:31 [INFO] [stdout] | [INFO] [stdout] 140 | fn iter_atoms(&self) -> AtomIterItem { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] ::: src/volume/cuboid.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_component![Cuboid]; [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_component` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 140 | fn iter_atoms(&self) -> AtomIterItem<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/system.rs:140:31 [INFO] [stdout] | [INFO] [stdout] 140 | fn iter_atoms(&self) -> AtomIterItem { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] ::: src/volume/cylinder.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_component![Cylinder]; [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_component` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 140 | fn iter_atoms(&self) -> AtomIterItem<'_> { [INFO] [stdout] | ++++ [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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 | fn get_volume_from_user(components: &[ComponentEntry]) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/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 method `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 method `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 method `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 method `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 method `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 method `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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.17s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.8.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "e964ae9aeeb112bf3bec458c032f52061e3eabc2809e4b464d8b5fdd31495655", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e964ae9aeeb112bf3bec458c032f52061e3eabc2809e4b464d8b5fdd31495655", kill_on_drop: false }` [INFO] [stdout] e964ae9aeeb112bf3bec458c032f52061e3eabc2809e4b464d8b5fdd31495655 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e21e705ce76efa9506ed750bf41d80e949086bbe90603ba70aa484c2725cbe5c [INFO] running `Command { std: "docker" "start" "-a" "e21e705ce76efa9506ed750bf41d80e949086bbe90603ba70aa484c2725cbe5c", 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] * src/bin/output.rs [INFO] [stderr] * 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: no edition set: defaulting to the 2015 edition while the latest is 2024 [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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/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: fields `residue` and `radius` are never read [INFO] [stdout] --> src/surface/sheet.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 175 | pub struct Circle { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 176 | residue: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 177 | origin: Coord, [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/system.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn iter_atoms(&'a self) -> AtomIterItem { [INFO] [stdout] | ^^ ------------ the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 69 | pub fn iter_atoms(&'a self) -> AtomIterItem<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/database.rs:125:32 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn get_coords(&'a self) -> &Vec { [INFO] [stdout] | ^^ ----------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 242 | / create_entry_wrapper![ [INFO] [stdout] 243 | | ComponentEntry, [INFO] [stdout] 244 | | (volume::Cuboid => VolumeCuboid), [INFO] [stdout] 245 | | (volume::Cylinder => VolumeCylinder), [INFO] [stdout] 246 | | (surface::Sheet => SurfaceSheet), [INFO] [stdout] 247 | | (surface::Cylinder => SurfaceCylinder) [INFO] [stdout] 248 | | ]; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_entry_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 125 | pub fn get_coords(&'a self) -> &'a Vec { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling grafen v0.9.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/database.rs:134:36 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn get_coords_mut(&'a mut self) -> &mut Vec { [INFO] [stdout] | ^^ --------------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 242 | / create_entry_wrapper![ [INFO] [stdout] 243 | | ComponentEntry, [INFO] [stdout] 244 | | (volume::Cuboid => VolumeCuboid), [INFO] [stdout] 245 | | (volume::Cylinder => VolumeCylinder), [INFO] [stdout] 246 | | (surface::Sheet => SurfaceSheet), [INFO] [stdout] 247 | | (surface::Cylinder => SurfaceCylinder) [INFO] [stdout] 248 | | ]; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_entry_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 134 | pub fn get_coords_mut(&'a mut self) -> &'a mut Vec { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/database.rs:187:28 [INFO] [stdout] | [INFO] [stdout] 187 | fn iter_atoms(&'a self) -> AtomIterItem { [INFO] [stdout] | ^^ ------------ the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 242 | / create_entry_wrapper![ [INFO] [stdout] 243 | | ComponentEntry, [INFO] [stdout] 244 | | (volume::Cuboid => VolumeCuboid), [INFO] [stdout] 245 | | (volume::Cylinder => VolumeCylinder), [INFO] [stdout] 246 | | (surface::Sheet => SurfaceSheet), [INFO] [stdout] 247 | | (surface::Cylinder => SurfaceCylinder) [INFO] [stdout] 248 | | ]; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_entry_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 187 | fn iter_atoms(&'a self) -> AtomIterItem<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/system.rs:140:31 [INFO] [stdout] | [INFO] [stdout] 140 | fn iter_atoms(&self) -> AtomIterItem { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] ::: src/surface/cylinder.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | impl_component![Cylinder]; [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_component` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 140 | fn iter_atoms(&self) -> AtomIterItem<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/system.rs:140:31 [INFO] [stdout] | [INFO] [stdout] 140 | fn iter_atoms(&self) -> AtomIterItem { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] ::: src/surface/sheet.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | impl_component![Sheet]; [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_component` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 140 | fn iter_atoms(&self) -> AtomIterItem<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/system.rs:140:31 [INFO] [stdout] | [INFO] [stdout] 140 | fn iter_atoms(&self) -> AtomIterItem { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] ::: src/volume/cuboid.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_component![Cuboid]; [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_component` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 140 | fn iter_atoms(&self) -> AtomIterItem<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/system.rs:140:31 [INFO] [stdout] | [INFO] [stdout] 140 | fn iter_atoms(&self) -> AtomIterItem { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] ::: src/volume/cylinder.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_component![Cylinder]; [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_component` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 140 | fn iter_atoms(&self) -> AtomIterItem<'_> { [INFO] [stdout] | ++++ [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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 | fn get_volume_from_user(components: &[ComponentEntry]) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/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 method `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 method `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 method `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 method `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 method `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 method `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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/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: fields `residue` and `radius` are never read [INFO] [stdout] --> src/surface/sheet.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 175 | pub struct Circle { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 176 | residue: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 177 | origin: Coord, [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/system.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn iter_atoms(&'a self) -> AtomIterItem { [INFO] [stdout] | ^^ ------------ the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 69 | pub fn iter_atoms(&'a self) -> AtomIterItem<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/system.rs:140:31 [INFO] [stdout] | [INFO] [stdout] 140 | fn iter_atoms(&self) -> AtomIterItem { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 296 | impl_component![TestObject]; [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_component` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 140 | fn iter_atoms(&self) -> AtomIterItem<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/database.rs:125:32 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn get_coords(&'a self) -> &Vec { [INFO] [stdout] | ^^ ----------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 242 | / create_entry_wrapper![ [INFO] [stdout] 243 | | ComponentEntry, [INFO] [stdout] 244 | | (volume::Cuboid => VolumeCuboid), [INFO] [stdout] 245 | | (volume::Cylinder => VolumeCylinder), [INFO] [stdout] 246 | | (surface::Sheet => SurfaceSheet), [INFO] [stdout] 247 | | (surface::Cylinder => SurfaceCylinder) [INFO] [stdout] 248 | | ]; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_entry_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 125 | pub fn get_coords(&'a self) -> &'a Vec { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/database.rs:134:36 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn get_coords_mut(&'a mut self) -> &mut Vec { [INFO] [stdout] | ^^ --------------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 242 | / create_entry_wrapper![ [INFO] [stdout] 243 | | ComponentEntry, [INFO] [stdout] 244 | | (volume::Cuboid => VolumeCuboid), [INFO] [stdout] 245 | | (volume::Cylinder => VolumeCylinder), [INFO] [stdout] 246 | | (surface::Sheet => SurfaceSheet), [INFO] [stdout] 247 | | (surface::Cylinder => SurfaceCylinder) [INFO] [stdout] 248 | | ]; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_entry_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 134 | pub fn get_coords_mut(&'a mut self) -> &'a mut Vec { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/database.rs:187:28 [INFO] [stdout] | [INFO] [stdout] 187 | fn iter_atoms(&'a self) -> AtomIterItem { [INFO] [stdout] | ^^ ------------ the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 242 | / create_entry_wrapper![ [INFO] [stdout] 243 | | ComponentEntry, [INFO] [stdout] 244 | | (volume::Cuboid => VolumeCuboid), [INFO] [stdout] 245 | | (volume::Cylinder => VolumeCylinder), [INFO] [stdout] 246 | | (surface::Sheet => SurfaceSheet), [INFO] [stdout] 247 | | (surface::Cylinder => SurfaceCylinder) [INFO] [stdout] 248 | | ]; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_entry_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 187 | fn iter_atoms(&'a self) -> AtomIterItem<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/system.rs:140:31 [INFO] [stdout] | [INFO] [stdout] 140 | fn iter_atoms(&self) -> AtomIterItem { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] ::: src/surface/cylinder.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | impl_component![Cylinder]; [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_component` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 140 | fn iter_atoms(&self) -> AtomIterItem<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/system.rs:140:31 [INFO] [stdout] | [INFO] [stdout] 140 | fn iter_atoms(&self) -> AtomIterItem { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] ::: src/surface/sheet.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | impl_component![Sheet]; [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_component` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 140 | fn iter_atoms(&self) -> AtomIterItem<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/system.rs:140:31 [INFO] [stdout] | [INFO] [stdout] 140 | fn iter_atoms(&self) -> AtomIterItem { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] ::: src/volume/cuboid.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_component![Cuboid]; [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_component` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 140 | fn iter_atoms(&self) -> AtomIterItem<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/system.rs:140:31 [INFO] [stdout] | [INFO] [stdout] 140 | fn iter_atoms(&self) -> AtomIterItem { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] ::: src/volume/cylinder.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_component![Cylinder]; [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_component` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 140 | fn iter_atoms(&self) -> AtomIterItem<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.82s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.8.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "e21e705ce76efa9506ed750bf41d80e949086bbe90603ba70aa484c2725cbe5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e21e705ce76efa9506ed750bf41d80e949086bbe90603ba70aa484c2725cbe5c", kill_on_drop: false }` [INFO] [stdout] e21e705ce76efa9506ed750bf41d80e949086bbe90603ba70aa484c2725cbe5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 838b7fa6389520dff7ecb3086a7b300d1ecb39e15f4fefd5bf9937c8e8c65c02 [INFO] running `Command { std: "docker" "start" "-a" "838b7fa6389520dff7ecb3086a7b300d1ecb39e15f4fefd5bf9937c8e8c65c02", 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] * src/bin/output.rs [INFO] [stderr] * 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: no edition set: defaulting to the 2015 edition while the latest is 2024 [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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 34 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/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: fields `residue` and `radius` are never read [INFO] [stderr] --> src/surface/sheet.rs:176:5 [INFO] [stderr] | [INFO] [stderr] 175 | pub struct Circle { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 176 | residue: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 177 | origin: Coord, [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] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/system.rs:69:24 [INFO] [stderr] | [INFO] [stderr] 69 | pub fn iter_atoms(&'a self) -> AtomIterItem { [INFO] [stderr] | ^^ ------------ the lifetime gets resolved as `'a` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 69 | pub fn iter_atoms(&'a self) -> AtomIterItem<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/database.rs:125:32 [INFO] [stderr] | [INFO] [stderr] 125 | pub fn get_coords(&'a self) -> &Vec { [INFO] [stderr] | ^^ ----------- the lifetime gets resolved as `'a` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 242 | / create_entry_wrapper![ [INFO] [stderr] 243 | | ComponentEntry, [INFO] [stderr] 244 | | (volume::Cuboid => VolumeCuboid), [INFO] [stderr] 245 | | (volume::Cylinder => VolumeCylinder), [INFO] [stderr] 246 | | (surface::Sheet => SurfaceSheet), [INFO] [stderr] 247 | | (surface::Cylinder => SurfaceCylinder) [INFO] [stderr] 248 | | ]; [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `create_entry_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 125 | pub fn get_coords(&'a self) -> &'a Vec { [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/database.rs:134:36 [INFO] [stderr] | [INFO] [stderr] 134 | pub fn get_coords_mut(&'a mut self) -> &mut Vec { [INFO] [stderr] | ^^ --------------- the lifetime gets resolved as `'a` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 242 | / create_entry_wrapper![ [INFO] [stderr] 243 | | ComponentEntry, [INFO] [stderr] 244 | | (volume::Cuboid => VolumeCuboid), [INFO] [stderr] 245 | | (volume::Cylinder => VolumeCylinder), [INFO] [stderr] 246 | | (surface::Sheet => SurfaceSheet), [INFO] [stderr] 247 | | (surface::Cylinder => SurfaceCylinder) [INFO] [stderr] 248 | | ]; [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `create_entry_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 134 | pub fn get_coords_mut(&'a mut self) -> &'a mut Vec { [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/database.rs:187:28 [INFO] [stderr] | [INFO] [stderr] 187 | fn iter_atoms(&'a self) -> AtomIterItem { [INFO] [stderr] | ^^ ------------ the lifetime gets resolved as `'a` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 242 | / create_entry_wrapper![ [INFO] [stderr] 243 | | ComponentEntry, [INFO] [stderr] 244 | | (volume::Cuboid => VolumeCuboid), [INFO] [stderr] 245 | | (volume::Cylinder => VolumeCylinder), [INFO] [stderr] 246 | | (surface::Sheet => SurfaceSheet), [INFO] [stderr] 247 | | (surface::Cylinder => SurfaceCylinder) [INFO] [stderr] 248 | | ]; [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `create_entry_wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 187 | fn iter_atoms(&'a self) -> AtomIterItem<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/system.rs:140:31 [INFO] [stderr] | [INFO] [stderr] 140 | fn iter_atoms(&self) -> AtomIterItem { [INFO] [stderr] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] ::: src/surface/cylinder.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | impl_component![Cylinder]; [INFO] [stderr] | ------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_component` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 140 | fn iter_atoms(&self) -> AtomIterItem<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/system.rs:140:31 [INFO] [stderr] | [INFO] [stderr] 140 | fn iter_atoms(&self) -> AtomIterItem { [INFO] [stderr] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] ::: src/surface/sheet.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | impl_component![Sheet]; [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_component` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 140 | fn iter_atoms(&self) -> AtomIterItem<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/system.rs:140:31 [INFO] [stderr] | [INFO] [stderr] 140 | fn iter_atoms(&self) -> AtomIterItem { [INFO] [stderr] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] ::: src/volume/cuboid.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | impl_component![Cuboid]; [INFO] [stderr] | ----------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_component` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 140 | fn iter_atoms(&self) -> AtomIterItem<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/system.rs:140:31 [INFO] [stderr] | [INFO] [stderr] 140 | fn iter_atoms(&self) -> AtomIterItem { [INFO] [stderr] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] ::: src/volume/cylinder.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | impl_component![Cylinder]; [INFO] [stderr] | ------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_component` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 140 | fn iter_atoms(&self) -> AtomIterItem<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/system.rs:140:31 [INFO] [stderr] | [INFO] [stderr] 140 | fn iter_atoms(&self) -> AtomIterItem { [INFO] [stderr] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 296 | impl_component![TestObject]; [INFO] [stderr] | --------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_component` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 140 | fn iter_atoms(&self) -> AtomIterItem<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `grafen` (lib) generated 13 warnings (run `cargo fix --lib -p grafen` to apply 10 suggestions) [INFO] [stderr] warning: `grafen` (lib test) generated 14 warnings (13 duplicates) (run `cargo fix --lib -p grafen --tests` to apply 1 suggestion) [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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 66 | fn get_volume_from_user(components: &[ComponentEntry]) -> Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/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 method `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 method `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 method `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 method `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 method `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 method `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 (run `cargo fix --bin "grafen" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.8.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/grafen-1c6a8e388eeeb734) [INFO] [stdout] running 85 tests [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_parsed_from_string ... ok [INFO] [stdout] test coord::tests::coord_to_tuple ... ok [INFO] [stdout] test coord::tests::rotating_a_sheet_to_alignment_works ... ok [INFO] [stdout] test coord::tests::coord_eq_tolerance_small_deviation_passes ... ok [INFO] [stdout] test coord::tests::coord_operators ... ok [INFO] [stdout] test coord::tests::coord_with_set_pbc ... ok [INFO] [stdout] test coord::tests::coords_adjusted_by_pbc_with_size_0_does_not_change ... ok [INFO] [stdout] test coord::tests::coord_origo_is_correct ... ok [INFO] [stdout] test coord::tests::default_coordinate ... ok [INFO] [stdout] test database::tests::component_entry_adds_with_pbc_method ... ok [INFO] [stdout] test coord::tests::impl_translate_object ... 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 coord::tests::coord_assign_operators ... ok [INFO] [stdout] test database::tests::create_entry_macro_adds_from_method ... ok [INFO] [stdout] test database::tests::database_by_default_sets_empty_vectors_if_not_available ... ok [INFO] [stdout] test database::tests::get_database_path ... ok [INFO] [stdout] test database::tests::read_and_write_database ... 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 iterator::tests::atom_iterator_with_no_residue_is_empty ... ok [INFO] [stdout] test iterator::tests::atom_iterator_yields_correct_values ... ok [INFO] [stdout] test coord::tests::coord_display_format ... ok [INFO] [stdout] test surface::cylinder::tests::calc_box_size_of_cylinder ... ok [INFO] [stdout] test surface::lattice::tests::lattice_constructed_without_size_is_empty ... ok [INFO] [stdout] test database::tests::serialize_and_deserialize_residue_entry ... ok [INFO] [stdout] test surface::cylinder::tests::cylinder_corrects_radius_and_height_to_match_lattice_spacing ... ok [INFO] [stdout] test surface::lattice::tests::lattice_with_size ... ok [INFO] [stdout] test surface::lattice::tests::triclinic_lattice ... ok [INFO] [stdout] test surface::lattice::tests::hexagonal_lattice_has_empty_points ... ok [INFO] [stdout] test surface::lattice::tests::triclinic_crystal ... ok [INFO] [stdout] test surface::lattice::tests::hexagonal_lattice_has_corrected_periodicity ... ok [INFO] [stdout] test surface::points::tests::uniform_distribution_of_positions ... ok [INFO] [stdout] test surface::lattice::tests::crystal_spacing ... ok [INFO] [stdout] test surface::lattice::tests::hexagonal_lattice_with_size ... ok [INFO] [stdout] test surface::lattice::tests::hexagonal_crystal ... ok [INFO] [stdout] test surface::sheet::tests::create_regular_sheets_updates_sheet_size_to_match_pbc ... 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 surface::cylinder::tests::add_caps_to_cylinder ... 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_object ... 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_whole_system_gives_correct_results ... ok [INFO] [stdout] test volume::cuboid::tests::calc_box_size_of_cuboid ... ok [INFO] [stdout] test volume::cuboid::tests::calculate_cuboid_center ... ok [INFO] [stdout] test volume::cuboid::tests::cuboid_contains_coordinates_in_absolute_space ... ok [INFO] [stdout] test volume::cuboid::tests::create_no_added_periodic_multiples_of_cuboid_just_clones ... ok [INFO] [stdout] test volume::cuboid::tests::create_periodic_multiple_of_cuboid ... ok [INFO] [stdout] test volume::cuboid::tests::cuboid_center_calculation_is_correct ... ok [INFO] [stdout] test volume::cuboid::tests::cuboid_volume_is_correct ... ok [INFO] [stdout] test volume::cuboid::tests::cuboid_into_cylinder ... ok [INFO] [stdout] test volume::cuboid::tests::density_is_set_after_fill ... ok [INFO] [stdout] test volume::cuboid::tests::cuboid_expands_to_create_full_sphere_if_too_small ... ok [INFO] [stdout] test volume::cuboid::tests::cuboid_expands_to_create_full_cylinder_if_too_small ... ok [INFO] [stdout] test volume::cuboid::tests::cuboid_to_cylinder_keeps_an_expected_number_of_coordinates ... ok [INFO] [stdout] test volume::cuboid::tests::cuboid_into_sphere ... ok [INFO] [stdout] test volume::cuboid::tests::translate_a_cuboid ... ok [INFO] [stdout] test volume::cuboid::tests::translated_cuboid_center_is_correct ... ok [INFO] [stdout] test volume::cylinder::tests::calc_box_size_of_cylinder ... ok [INFO] [stdout] test volume::cylinder::tests::cylinder_contains_coordinates_in_absolute_space_depending_on_direction ... ok [INFO] [stdout] test volume::cylinder::tests::fill_cylinder_with_coords ... ok [INFO] [stdout] test volume::cylinder::tests::cylinder_volume_is_correct ... ok [INFO] [stdout] test volume::cylinder::tests::cylinder_from_density_makes_an_expected_number_of_coordinates ... ok [INFO] [stdout] test volume::tests::coordinates_within_cuboid_are_pruned ... 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 surface::distribution::tests::create_poisson_distribution ... ok [INFO] [stdout] test surface::sheet::tests::create_sheets_with_negative_input_size_returns_error ... ok [INFO] [stdout] test surface::cylinder::tests::constructing_cylinder_with_negative_radius_or_height_returns_error ... 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::sheet::tests::create_sheet_with_density ... ok [INFO] [stdout] test surface::sheet::tests::variance_is_added_if_requested ... ok [INFO] [stdout] test surface::cylinder::tests::cylinder_is_bent_from_sheet_as_expected ... 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.97s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/grafen-80e0abadd7ba0cd5) [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] running `Command { std: "docker" "inspect" "838b7fa6389520dff7ecb3086a7b300d1ecb39e15f4fefd5bf9937c8e8c65c02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "838b7fa6389520dff7ecb3086a7b300d1ecb39e15f4fefd5bf9937c8e8c65c02", kill_on_drop: false }` [INFO] [stdout] 838b7fa6389520dff7ecb3086a7b300d1ecb39e15f4fefd5bf9937c8e8c65c02