[INFO] cloning repository https://github.com/pjohansson/grafen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pjohansson/grafen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpjohansson%2Fgrafen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpjohansson%2Fgrafen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3c69cd4853f0ee838b6d6c21c7935654b90da7a5 [INFO] testing pjohansson/grafen against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpjohansson%2Fgrafen" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pjohansson/grafen [INFO] finished tweaking git repo https://github.com/pjohansson/grafen [INFO] tweaked toml for git repo https://github.com/pjohansson/grafen written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pjohansson/grafen 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] crate git repo https://github.com/pjohansson/grafen already has a lockfile, it will not be regenerated [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] Updating git repository `https://github.com/pjohansson/mdio` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded structopt-derive v0.2.18 [INFO] [stderr] Downloaded adler v0.2.3 [INFO] [stderr] Downloaded colored v1.9.3 [INFO] [stderr] Downloaded syn v1.0.42 [INFO] [stderr] Downloaded dirs v1.0.5 [INFO] [stderr] Downloaded terminal_size v0.1.13 [INFO] [stderr] Downloaded rand v0.3.23 [INFO] [stderr] Downloaded hermit-abi v0.1.16 [INFO] [stderr] Downloaded miniz_oxide v0.4.2 [INFO] [stderr] Downloaded serde_derive v1.0.116 [INFO] [stderr] Downloaded regex v1.3.9 [INFO] [stderr] Downloaded backtrace v0.3.50 [INFO] [stderr] Downloaded arrayvec v0.5.1 [INFO] [stderr] Downloaded rust-argon2 v0.8.2 [INFO] [stderr] Downloaded termios v0.3.2 [INFO] [stderr] Downloaded tempfile v2.2.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.23 [INFO] [stderr] Downloaded structopt v0.2.18 [INFO] [stderr] Downloaded redox_users v0.3.5 [INFO] [stderr] Downloaded gimli v0.22.0 [INFO] [stderr] Downloaded object v0.20.0 [INFO] [stderr] Downloaded serde_json v1.0.57 [INFO] [stderr] Downloaded dialoguer v0.1.0 [INFO] [stderr] Downloaded blake2b_simd v0.5.10 [INFO] [stderr] Downloaded console v0.12.0 [INFO] [stderr] Downloaded synstructure v0.12.4 [INFO] [stderr] Downloaded serde v1.0.116 [INFO] [stderr] Downloaded getrandom v0.1.15 [INFO] [stderr] Downloaded addr2line v0.13.0 [INFO] [stderr] Downloaded regex-syntax v0.6.18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6225077a79230b6d7fa452669da2de52207df32b5dd7d743c02588e2d11dba4a [INFO] running `Command { std: "docker" "start" "-a" "6225077a79230b6d7fa452669da2de52207df32b5dd7d743c02588e2d11dba4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6225077a79230b6d7fa452669da2de52207df32b5dd7d743c02588e2d11dba4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6225077a79230b6d7fa452669da2de52207df32b5dd7d743c02588e2d11dba4a", kill_on_drop: false }` [INFO] [stdout] 6225077a79230b6d7fa452669da2de52207df32b5dd7d743c02588e2d11dba4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] f28c7e36fd80a104ebfc6cd1223481c688b7ddc54f1b1acae444ba875b1cadb5 [INFO] running `Command { std: "docker" "start" "-a" "f28c7e36fd80a104ebfc6cd1223481c688b7ddc54f1b1acae444ba875b1cadb5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling proc-macro2 v1.0.23 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling miniz_oxide v0.4.2 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling termios v0.3.2 [INFO] [stderr] Compiling terminal_size v0.1.13 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling tempfile v2.2.0 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling console v0.12.0 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling dialoguer v0.1.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling structopt v0.2.18 [INFO] [stderr] Compiling mdio v0.2.0 (https://github.com/pjohansson/mdio#0f959fbc) [INFO] [stderr] Compiling grafen v0.10.2-dev (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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] 30 | 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:243:44 [INFO] [stdout] | [INFO] [stdout] 243 | .map_err(|err| err.description().to_string()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `residue` and `radius` are never read [INFO] [stdout] --> src/surface/sheet.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 177 | pub struct Circle { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 178 | residue: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 179 | origin: Coord, [INFO] [stdout] 180 | 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:100:22 [INFO] [stdout] | [INFO] [stdout] 100 | fn iter_residues(&self) -> ResidueIter; [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [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 remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 100 | fn iter_residues(&self) -> ResidueIter<'_>; [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:168:30 [INFO] [stdout] | [INFO] [stdout] 168 | fn iter_residues(&self) -> ResidueIter { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 224 | / create_entry_wrapper![ [INFO] [stdout] 225 | | ComponentEntry, [INFO] [stdout] 226 | | (volume::Cuboid => VolumeCuboid), [INFO] [stdout] 227 | | (volume::Cylinder => VolumeCylinder), [INFO] [stdout] ... | [INFO] [stdout] 232 | | (read_conf::ReadConf => ConfigurationFile) [INFO] [stdout] 233 | | ]; [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 remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 168 | fn iter_residues(&self) -> ResidueIter<'_> { [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:169:34 [INFO] [stdout] | [INFO] [stdout] 169 | fn iter_residues(&self) -> ResidueIter { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] ::: src/surface/cuboid.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | 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] 169 | fn iter_residues(&self) -> ResidueIter<'_> { [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:169:34 [INFO] [stdout] | [INFO] [stdout] 169 | fn iter_residues(&self) -> ResidueIter { [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:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | 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] 169 | fn iter_residues(&self) -> ResidueIter<'_> { [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:169:34 [INFO] [stdout] | [INFO] [stdout] 169 | fn iter_residues(&self) -> ResidueIter { [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:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | 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] 169 | fn iter_residues(&self) -> ResidueIter<'_> { [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:169:34 [INFO] [stdout] | [INFO] [stdout] 169 | fn iter_residues(&self) -> ResidueIter { [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:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | 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] 169 | fn iter_residues(&self) -> ResidueIter<'_> { [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:169:34 [INFO] [stdout] | [INFO] [stdout] 169 | fn iter_residues(&self) -> ResidueIter { [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:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | 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] 169 | fn iter_residues(&self) -> ResidueIter<'_> { [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:169:34 [INFO] [stdout] | [INFO] [stdout] 169 | fn iter_residues(&self) -> ResidueIter { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] ::: src/volume/sphere.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | impl_component![Spheroid]; [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] 169 | fn iter_residues(&self) -> ResidueIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/bin/ui/mod.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | @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] 50 - @pre: { system.print_state() }; [INFO] [stdout] 50 + @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:77:32 [INFO] [stdout] | [INFO] [stdout] 77 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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] 77 | 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:76:70 [INFO] [stdout] | [INFO] [stdout] 76 | fn get_volume_from_user(components: &[ComponentEntry]) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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] 76 | 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:112:38 [INFO] [stdout] | [INFO] [stdout] 112 | 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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/ui/edit_component.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | let volume: Box = get_volume_from_user(components)?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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] 51 | let volume: Box = get_volume_from_user(components)?; [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:54:70 [INFO] [stdout] | [INFO] [stdout] 54 | let remaining_residues = prune_residues_from_volume::<_, Contains>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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] 54 | let remaining_residues = prune_residues_from_volume::<_, dyn Contains>( [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:50:69 [INFO] [stdout] | [INFO] [stdout] 50 | 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:57:67 [INFO] [stdout] | [INFO] [stdout] 57 | 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:30:65 [INFO] [stdout] | [INFO] [stdout] 30 | 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:37:67 [INFO] [stdout] | [INFO] [stdout] 37 | 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:44:67 [INFO] [stdout] | [INFO] [stdout] 44 | 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:33:65 [INFO] [stdout] | [INFO] [stdout] 33 | format!("Could not write database: {}", err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.21s [INFO] running `Command { std: "docker" "inspect" "f28c7e36fd80a104ebfc6cd1223481c688b7ddc54f1b1acae444ba875b1cadb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f28c7e36fd80a104ebfc6cd1223481c688b7ddc54f1b1acae444ba875b1cadb5", kill_on_drop: false }` [INFO] [stdout] f28c7e36fd80a104ebfc6cd1223481c688b7ddc54f1b1acae444ba875b1cadb5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/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] 5ca93bda8268e541bc5f2f9be8b7616514af122ec381ac76a9094d891b3a4f34 [INFO] running `Command { std: "docker" "start" "-a" "5ca93bda8268e541bc5f2f9be8b7616514af122ec381ac76a9094d891b3a4f34", kill_on_drop: false }` [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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] 30 | 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:243:44 [INFO] [stdout] | [INFO] [stdout] 243 | .map_err(|err| err.description().to_string()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `residue` and `radius` are never read [INFO] [stdout] --> src/surface/sheet.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 177 | pub struct Circle { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 178 | residue: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 179 | origin: Coord, [INFO] [stdout] 180 | 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:100:22 [INFO] [stdout] | [INFO] [stdout] 100 | fn iter_residues(&self) -> ResidueIter; [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [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 remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 100 | fn iter_residues(&self) -> ResidueIter<'_>; [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:168:30 [INFO] [stdout] | [INFO] [stdout] 168 | fn iter_residues(&self) -> ResidueIter { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 224 | / create_entry_wrapper![ [INFO] [stdout] 225 | | ComponentEntry, [INFO] [stdout] 226 | | (volume::Cuboid => VolumeCuboid), [INFO] [stdout] 227 | | (volume::Cylinder => VolumeCylinder), [INFO] [stdout] ... | [INFO] [stdout] 232 | | (read_conf::ReadConf => ConfigurationFile) [INFO] [stdout] 233 | | ]; [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 remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 168 | fn iter_residues(&self) -> ResidueIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling grafen v0.10.2-dev (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/system.rs:169:34 [INFO] [stdout] | [INFO] [stdout] 169 | fn iter_residues(&self) -> ResidueIter { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] ::: src/surface/cuboid.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | 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] 169 | fn iter_residues(&self) -> ResidueIter<'_> { [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:169:34 [INFO] [stdout] | [INFO] [stdout] 169 | fn iter_residues(&self) -> ResidueIter { [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:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | 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] 169 | fn iter_residues(&self) -> ResidueIter<'_> { [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:169:34 [INFO] [stdout] | [INFO] [stdout] 169 | fn iter_residues(&self) -> ResidueIter { [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:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | 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] 169 | fn iter_residues(&self) -> ResidueIter<'_> { [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:169:34 [INFO] [stdout] | [INFO] [stdout] 169 | fn iter_residues(&self) -> ResidueIter { [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:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | 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] 169 | fn iter_residues(&self) -> ResidueIter<'_> { [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:169:34 [INFO] [stdout] | [INFO] [stdout] 169 | fn iter_residues(&self) -> ResidueIter { [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:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | 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] 169 | fn iter_residues(&self) -> ResidueIter<'_> { [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:169:34 [INFO] [stdout] | [INFO] [stdout] 169 | fn iter_residues(&self) -> ResidueIter { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] ::: src/volume/sphere.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | impl_component![Spheroid]; [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] 169 | fn iter_residues(&self) -> ResidueIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/bin/ui/mod.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | @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] 50 - @pre: { system.print_state() }; [INFO] [stdout] 50 + @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:77:32 [INFO] [stdout] | [INFO] [stdout] 77 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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] 77 | 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:76:70 [INFO] [stdout] | [INFO] [stdout] 76 | fn get_volume_from_user(components: &[ComponentEntry]) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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] 76 | 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:112:38 [INFO] [stdout] | [INFO] [stdout] 112 | 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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/ui/edit_component.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | let volume: Box = get_volume_from_user(components)?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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] 51 | let volume: Box = get_volume_from_user(components)?; [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:54:70 [INFO] [stdout] | [INFO] [stdout] 54 | let remaining_residues = prune_residues_from_volume::<_, Contains>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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] 54 | let remaining_residues = prune_residues_from_volume::<_, dyn Contains>( [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:50:69 [INFO] [stdout] | [INFO] [stdout] 50 | 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:57:67 [INFO] [stdout] | [INFO] [stdout] 57 | 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:30:65 [INFO] [stdout] | [INFO] [stdout] 30 | 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:37:67 [INFO] [stdout] | [INFO] [stdout] 37 | 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:44:67 [INFO] [stdout] | [INFO] [stdout] 44 | 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:33:65 [INFO] [stdout] | [INFO] [stdout] 33 | format!("Could not write database: {}", err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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] 30 | 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:243:44 [INFO] [stdout] | [INFO] [stdout] 243 | .map_err(|err| err.description().to_string()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `residue` and `radius` are never read [INFO] [stdout] --> src/surface/sheet.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 177 | pub struct Circle { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 178 | residue: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 179 | origin: Coord, [INFO] [stdout] 180 | 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:100:22 [INFO] [stdout] | [INFO] [stdout] 100 | fn iter_residues(&self) -> ResidueIter; [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [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 remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 100 | fn iter_residues(&self) -> ResidueIter<'_>; [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:169:34 [INFO] [stdout] | [INFO] [stdout] 169 | fn iter_residues(&self) -> ResidueIter { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 337 | 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] 169 | fn iter_residues(&self) -> ResidueIter<'_> { [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:168:30 [INFO] [stdout] | [INFO] [stdout] 168 | fn iter_residues(&self) -> ResidueIter { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 224 | / create_entry_wrapper![ [INFO] [stdout] 225 | | ComponentEntry, [INFO] [stdout] 226 | | (volume::Cuboid => VolumeCuboid), [INFO] [stdout] 227 | | (volume::Cylinder => VolumeCylinder), [INFO] [stdout] ... | [INFO] [stdout] 232 | | (read_conf::ReadConf => ConfigurationFile) [INFO] [stdout] 233 | | ]; [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 remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 168 | fn iter_residues(&self) -> ResidueIter<'_> { [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:169:34 [INFO] [stdout] | [INFO] [stdout] 169 | fn iter_residues(&self) -> ResidueIter { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] ::: src/surface/cuboid.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | 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] 169 | fn iter_residues(&self) -> ResidueIter<'_> { [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:169:34 [INFO] [stdout] | [INFO] [stdout] 169 | fn iter_residues(&self) -> ResidueIter { [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:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | 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] 169 | fn iter_residues(&self) -> ResidueIter<'_> { [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:169:34 [INFO] [stdout] | [INFO] [stdout] 169 | fn iter_residues(&self) -> ResidueIter { [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:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | 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] 169 | fn iter_residues(&self) -> ResidueIter<'_> { [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:169:34 [INFO] [stdout] | [INFO] [stdout] 169 | fn iter_residues(&self) -> ResidueIter { [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:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | 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] 169 | fn iter_residues(&self) -> ResidueIter<'_> { [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:169:34 [INFO] [stdout] | [INFO] [stdout] 169 | fn iter_residues(&self) -> ResidueIter { [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:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | 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] 169 | fn iter_residues(&self) -> ResidueIter<'_> { [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:169:34 [INFO] [stdout] | [INFO] [stdout] 169 | fn iter_residues(&self) -> ResidueIter { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] ::: src/volume/sphere.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | impl_component![Spheroid]; [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] 169 | fn iter_residues(&self) -> ResidueIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.52s [INFO] running `Command { std: "docker" "inspect" "5ca93bda8268e541bc5f2f9be8b7616514af122ec381ac76a9094d891b3a4f34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ca93bda8268e541bc5f2f9be8b7616514af122ec381ac76a9094d891b3a4f34", kill_on_drop: false }` [INFO] [stdout] 5ca93bda8268e541bc5f2f9be8b7616514af122ec381ac76a9094d891b3a4f34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ae62b9af224855713ed9da25ad454e666bc16c94cb15d1bab479d6d93e9fb51b [INFO] running `Command { std: "docker" "start" "-a" "ae62b9af224855713ed9da25ad454e666bc16c94cb15d1bab479d6d93e9fb51b", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:30:32 [INFO] [stderr] | [INFO] [stderr] 30 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) 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] 30 | 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:243:44 [INFO] [stderr] | [INFO] [stderr] 243 | .map_err(|err| err.description().to_string()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `residue` and `radius` are never read [INFO] [stderr] --> src/surface/sheet.rs:178:5 [INFO] [stderr] | [INFO] [stderr] 177 | pub struct Circle { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 178 | residue: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 179 | origin: Coord, [INFO] [stderr] 180 | 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:100:22 [INFO] [stderr] | [INFO] [stderr] 100 | fn iter_residues(&self) -> ResidueIter; [INFO] [stderr] | ^^^^^ ----------- the lifetime gets resolved as `'_` [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 remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 100 | fn iter_residues(&self) -> ResidueIter<'_>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/database.rs:168:30 [INFO] [stderr] | [INFO] [stderr] 168 | fn iter_residues(&self) -> ResidueIter { [INFO] [stderr] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 224 | / create_entry_wrapper![ [INFO] [stderr] 225 | | ComponentEntry, [INFO] [stderr] 226 | | (volume::Cuboid => VolumeCuboid), [INFO] [stderr] 227 | | (volume::Cylinder => VolumeCylinder), [INFO] [stderr] ... | [INFO] [stderr] 232 | | (read_conf::ReadConf => ConfigurationFile) [INFO] [stderr] 233 | | ]; [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 remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 168 | fn iter_residues(&self) -> ResidueIter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/system.rs:169:34 [INFO] [stderr] | [INFO] [stderr] 169 | fn iter_residues(&self) -> ResidueIter { [INFO] [stderr] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] ::: src/surface/cuboid.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | 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] 169 | fn iter_residues(&self) -> ResidueIter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/system.rs:169:34 [INFO] [stderr] | [INFO] [stderr] 169 | fn iter_residues(&self) -> ResidueIter { [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:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | 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] 169 | fn iter_residues(&self) -> ResidueIter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/system.rs:169:34 [INFO] [stderr] | [INFO] [stderr] 169 | fn iter_residues(&self) -> ResidueIter { [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:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | 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] 169 | fn iter_residues(&self) -> ResidueIter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/system.rs:169:34 [INFO] [stderr] | [INFO] [stderr] 169 | fn iter_residues(&self) -> ResidueIter { [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:34:1 [INFO] [stderr] | [INFO] [stderr] 34 | 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] 169 | fn iter_residues(&self) -> ResidueIter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/system.rs:169:34 [INFO] [stderr] | [INFO] [stderr] 169 | fn iter_residues(&self) -> ResidueIter { [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:35:1 [INFO] [stderr] | [INFO] [stderr] 35 | 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] 169 | fn iter_residues(&self) -> ResidueIter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/system.rs:169:34 [INFO] [stderr] | [INFO] [stderr] 169 | fn iter_residues(&self) -> ResidueIter { [INFO] [stderr] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] ::: src/volume/sphere.rs:33:1 [INFO] [stderr] | [INFO] [stderr] 33 | impl_component![Spheroid]; [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] 169 | fn iter_residues(&self) -> ResidueIter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/system.rs:169:34 [INFO] [stderr] | [INFO] [stderr] 169 | fn iter_residues(&self) -> ResidueIter { [INFO] [stderr] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 337 | 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] 169 | fn iter_residues(&self) -> ResidueIter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `grafen` (lib) generated 11 warnings (run `cargo fix --lib -p grafen` to apply 9 suggestions) [INFO] [stderr] warning: `grafen` (lib test) generated 12 warnings (11 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:50:15 [INFO] [stderr] | [INFO] [stderr] 50 | @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] 50 - @pre: { system.print_state() }; [INFO] [stderr] 50 + @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:77:32 [INFO] [stderr] | [INFO] [stderr] 77 | fn cause(&self) -> Option<&Error> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) 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] 77 | 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:76:70 [INFO] [stderr] | [INFO] [stderr] 76 | fn get_volume_from_user(components: &[ComponentEntry]) -> Result> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) 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] 76 | 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:112:38 [INFO] [stderr] | [INFO] [stderr] 112 | GrafenCliError::RunError(err.description().to_string()) [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/bin/ui/edit_component.rs:51:29 [INFO] [stderr] | [INFO] [stderr] 51 | let volume: Box = get_volume_from_user(components)?; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) 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] 51 | let volume: Box = get_volume_from_user(components)?; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bin/ui/edit_component.rs:54:70 [INFO] [stderr] | [INFO] [stderr] 54 | let remaining_residues = prune_residues_from_volume::<_, Contains>( [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) 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] 54 | let remaining_residues = prune_residues_from_volume::<_, dyn Contains>( [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:50:69 [INFO] [stderr] | [INFO] [stderr] 50 | 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:57:67 [INFO] [stderr] | [INFO] [stderr] 57 | 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:30:65 [INFO] [stderr] | [INFO] [stderr] 30 | 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:37:67 [INFO] [stderr] | [INFO] [stderr] 37 | 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:44:67 [INFO] [stderr] | [INFO] [stderr] 44 | 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:33:65 [INFO] [stderr] | [INFO] [stderr] 33 | format!("Could not write database: {}", err.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `grafen` (bin "grafen" test) generated 12 warnings (run `cargo fix --bin "grafen" --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/grafen-c89b95fe785709b5) [INFO] [stdout] [INFO] [stdout] running 106 tests [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_to_tuple ... ok [INFO] [stdout] test coord::tests::coord_display_format ... ok [INFO] [stdout] test coord::tests::coord_eq_tolerance_small_deviation_passes ... ok [INFO] [stdout] test coord::tests::coord_origo_is_correct ... ok [INFO] [stdout] test coord::tests::coords_adjusted_by_pbc_with_size_0_does_not_change ... ok [INFO] [stdout] test coord::tests::coord_assign_operators ... ok [INFO] [stdout] test coord::tests::rotate_a_coordinate ... ok [INFO] [stdout] test coord::tests::periodic_multiple_of_coords ... ok [INFO] [stdout] test coord::tests::impl_translate_object_in_place ... ok [INFO] [stdout] test coord::tests::impl_translate_object ... ok [INFO] [stdout] test coord::tests::rotating_a_sheet_to_alignment_works ... ok [INFO] [stdout] test database::tests::serialize_and_deserialize_residue_entry ... ok [INFO] [stdout] test database::tests::set_database_path ... ok [INFO] [stdout] test coord::tests::default_coordinate ... ok [INFO] [stdout] test coord::tests::create_coord_from_mdio_rvec ... ok [INFO] [stdout] test database::tests::database_by_default_sets_empty_vectors_if_not_available ... ok [INFO] [stdout] test database::tests::create_entry_macro_adds_from_method ... ok [INFO] [stdout] test database::tests::set_database_to_empty_path_is_error ... ok [INFO] [stdout] test database::tests::get_database_path ... ok [INFO] [stdout] test database::tests::read_and_write_database ... ok [INFO] [stdout] test read_conf::tests::assign_modified_residues_to_read_configuration ... ok [INFO] [stdout] test read_conf::tests::get_displayed_origin_of_read_confs ... ok [INFO] [stdout] test database::tests::component_entry_adds_with_pbc_method ... ok [INFO] [stdout] test read_conf::tests::read_configuration_cuboids_describe_their_positions_unchanged ... ok [INFO] [stdout] test read_conf::tests::read_configuration_cylinders_describe_their_position_as_the_bottom_center ... ok [INFO] [stdout] test read_conf::tests::read_configurations_box_size_is_set_by_the_volume_type ... ok [INFO] [stdout] test read_conf::tests::size_of_confs_uses_values_in_volume_type ... ok [INFO] [stdout] test read_conf::tests::read_configurations_box_size_uses_origin_from_volume_type ... ok [INFO] [stdout] test read_conf::tests::origin_of_confs_is_set_in_volume_type ... ok [INFO] [stdout] test read_conf::tests::translate_uses_origin_in_volume_type ... ok [INFO] [stdout] test read_conf::tests::use_read_conf_to_construct_larger_cuboid_multiplies_and_cuts_the_base ... ok [INFO] [stdout] test read_conf::tests::iterating_over_residues_in_read_configuration_returns_pointers_to_the_original ... ok [INFO] [stdout] test read_conf::tests::iterate_over_residues_in_an_unread_configuration_returns_none ... ok [INFO] [stdout] test surface::cuboid::tests::box_from_sheets_has_box_size_matching_the_lattice ... ok [INFO] [stdout] test read_conf::tests::iterate_over_residues_in_a_read_configuration_works_and_ignores_origin ... ok [INFO] [stdout] test surface::cylinder::tests::calc_box_size_of_cylinder ... ok [INFO] [stdout] test surface::cuboid::tests::creating_a_box_respects_the_set_stdz_value ... ok [INFO] [stdout] test surface::cuboid::tests::box_with_several_set_sides_has_matching_number_of_coordinates ... ok [INFO] [stdout] test surface::distribution::tests::calculate_min_distance_squared_between_a_coordinate_and_a_set ... ok [INFO] [stdout] test surface::cylinder::tests::cylinder_corrects_radius_and_height_to_match_lattice_spacing ... ok [INFO] [stdout] test surface::cuboid::tests::box_is_created_with_set_sides_that_are_translated ... ok [INFO] [stdout] test surface::distribution::tests::calculate_toroidal_distance_is_squared_and_wraps_coordinates_to_closest ... ok [INFO] [stdout] test surface::lattice::tests::hexagonal_crystal ... 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::crystal_spacing ... 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 coord::tests::coord_operators ... ok [INFO] [stdout] test surface::lattice::tests::hexagonal_lattice_has_empty_points ... 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::lattice::tests::hexagonal_lattice_with_size ... ok [INFO] [stdout] test surface::sheet::tests::calc_box_size_of_sheet_accounts_for_sheet_normal ... ok [INFO] [stdout] test coord::tests::coord_distance_calc ... ok [INFO] [stdout] test coord::tests::coord_distance_along_plane ... ok [INFO] [stdout] test system::tests::box_size_in_macro_generated_impls_adds_origin ... ok [INFO] [stdout] test system::tests::assigning_residues_in_macro_generated_impl_objects ... ok [INFO] [stdout] test system::tests::create_residue_base_macro ... ok [INFO] [stdout] test system::tests::iterate_over_residues_in_either_empty_or_without_residue_returns_none ... ok [INFO] [stdout] test system::tests::num_atoms_in_macro_generated_impl_objects ... ok [INFO] [stdout] test system::tests::iterate_over_residues_in_macro_generated_impl_object_works_and_ignores_origin ... ok [INFO] [stdout] test system::tests::origin_in_macro_generated_impl_objects ... ok [INFO] [stdout] test system::tests::num_atoms_in_system ... ok [INFO] [stdout] test system::tests::with_pbc_in_macro_generated_impls_works_locally ... ok [INFO] [stdout] test volume::cuboid::tests::create_no_added_periodic_multiples_of_cuboid_just_clones ... ok [INFO] [stdout] test volume::cuboid::tests::calculate_cuboid_center ... ok [INFO] [stdout] test volume::cuboid::tests::calc_box_size_of_cuboid ... ok [INFO] [stdout] test surface::sheet::tests::create_sheets_with_negative_input_size_returns_error ... ok [INFO] [stdout] test surface::cylinder::tests::add_caps_to_cylinder ... ok [INFO] [stdout] test volume::cuboid::tests::cuboid_contains_coordinates_in_absolute_space ... ok [INFO] [stdout] test volume::cuboid::tests::cuboid_center_calculation_is_correct ... ok [INFO] [stdout] test volume::cuboid::tests::cuboid_into_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_into_sphere ... ok [INFO] [stdout] test volume::cuboid::tests::cuboid_to_cylinder_keeps_an_expected_number_of_coordinates ... ok [INFO] [stdout] test volume::cuboid::tests::cuboid_volume_is_correct ... ok [INFO] [stdout] test system::tests::box_size_of_system_adds_origin ... ok [INFO] [stdout] test volume::cuboid::tests::density_is_set_after_fill ... ok [INFO] [stdout] test volume::cuboid::tests::translate_a_cuboid ... ok [INFO] [stdout] test volume::cylinder::tests::calc_box_size_of_cylinder ... ok [INFO] [stdout] test volume::cuboid::tests::translated_cuboid_center_is_correct ... ok [INFO] [stdout] test volume::cylinder::tests::cylinder_volume_is_correct ... 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::tests::coordinates_within_cuboid_are_pruned ... ok [INFO] [stdout] test volume::cuboid::tests::cuboid_expands_to_create_full_sphere_if_too_small ... ok [INFO] [stdout] test volume::tests::component_residues_are_kept_if_any_atoms_are_inside_the_containing_volume ... ok [INFO] [stdout] test volume::tests::component_residues_are_pruned_if_any_atoms_are_inside_the_pruning_volume ... ok [INFO] [stdout] test volume::cylinder::tests::cylinder_from_density_makes_an_expected_number_of_coordinates ... 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 volume::cuboid::tests::create_periodic_multiple_of_cuboid ... ok [INFO] [stdout] test surface::cylinder::tests::constructing_cylinder_with_negative_radius_or_height_returns_error ... ok [INFO] [stdout] test surface::distribution::tests::create_blue_noise_distribution ... 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. 106 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-27e98a4100228b26) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::default_database_path_adds_grafen_directory_and_database_path ... ok [INFO] [stderr] Doc-tests grafen [INFO] [stdout] test ui::edit_database::residue::tests::residue_builder_is_ok_if_all_are_set ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test src/coord.rs - coord::Coord::from_str (line 231) ... FAILED [INFO] [stdout] test src/coord.rs - coord::Coord::distance_cylindrical (line 81) ... FAILED [INFO] [stdout] test src/coord.rs - coord::Coord::rotate (line 109) ... FAILED [INFO] [stdout] test src/database.rs - database::create_entry_wrapper (line 46) ... ok [INFO] [stdout] test src/coord.rs - coord::Coord::to_tuple (line 53) ... ok [INFO] [stdout] test src/coord.rs - coord::Coord::with_pbc (line 148) ... ok [INFO] [stdout] test src/system.rs - system::resbase (line 244) ... ok [INFO] [stdout] test src/describe.rs - describe::unwrap_name (line 46) ... ok [INFO] [stdout] test src/coord.rs - coord::Coord::with_pbc (line 142) ... ok [INFO] [stdout] test src/coord.rs - coord::Coord (line 16) ... ok [INFO] [stdout] test src/coord.rs - coord::Coord::pbc_multiply (line 190) ... ok [INFO] [stdout] test src/coord.rs - coord::Coord::from_str (line 225) ... ok [INFO] [stdout] test src/coord.rs - coord::Coord::distance (line 65) ... ok [INFO] [stdout] test src/coord.rs - coord::Coord::new (line 41) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/coord.rs - coord::Coord::from_str (line 231) stdout ---- [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcXGoXa2/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libgrafen-02b39875db2256c4.rlib,librand-f4df1fc7bc08fa1b.rlib,librand_xorshift-53e86778f5ce919e.rlib,librand_pcg-4eb4e11f195dc375.rlib,librand_hc-6dc516f61621a2e6.rlib,librand_chacha-c21168b1cf3479ef.rlib,librand_isaac-047a883fcf14d827.rlib,librand_core-f95d039c327d494d.rlib,librand_os-9189565ceca7411b.rlib,librand_jitter-b5788f9d55ce55e9.rlib,librand_core-5dd93ed12702f197.rlib,libbitflags-c7127ca14bf6bbb6.rlib,libserde_json-50c0f64845c18b2c.rlib,libryu-86805dca779a3d7b.rlib,libitoa-c5d55aab241d4883.rlib,libserde-3ab8aaff830d030d.rlib,libcolored-bd2cee70ad61c222.rlib,liblazy_static-4b136fc9bfbd2c4b.rlib,libatty-da283a8ae1eabf91.rlib,libmdio-794aaa94ae6d4431.rlib,libfailure-b8330e340eb8a5f6.rlib,libbacktrace-46b474f9ef00886e.rlib,libminiz_oxide-598a090223a25eec.rlib,libadler-cfae5593f0297367.rlib,libobject-956d089cb0960f19.rlib,liblibc-64f84b6ab25f8bc2.rlib,libaddr2line-0d6dfec8e034a5ec.rlib,libgimli-7723439e355e01c4.rlib,libcfg_if-2d17986ae484e939.rlib,librustc_demangle-dcc5b1758b30e405.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcXGoXa2/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/tmp/rustdoctestzd0O9f/rust_out" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 9 [Killed] [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/coord.rs - coord::Coord::distance_cylindrical (line 81) stdout ---- [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustclS8gu9/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libgrafen-02b39875db2256c4.rlib,librand-f4df1fc7bc08fa1b.rlib,librand_xorshift-53e86778f5ce919e.rlib,librand_pcg-4eb4e11f195dc375.rlib,librand_hc-6dc516f61621a2e6.rlib,librand_chacha-c21168b1cf3479ef.rlib,librand_isaac-047a883fcf14d827.rlib,librand_core-f95d039c327d494d.rlib,librand_os-9189565ceca7411b.rlib,librand_jitter-b5788f9d55ce55e9.rlib,librand_core-5dd93ed12702f197.rlib,libbitflags-c7127ca14bf6bbb6.rlib,libserde_json-50c0f64845c18b2c.rlib,libryu-86805dca779a3d7b.rlib,libitoa-c5d55aab241d4883.rlib,libserde-3ab8aaff830d030d.rlib,libcolored-bd2cee70ad61c222.rlib,liblazy_static-4b136fc9bfbd2c4b.rlib,libatty-da283a8ae1eabf91.rlib,libmdio-794aaa94ae6d4431.rlib,libfailure-b8330e340eb8a5f6.rlib,libbacktrace-46b474f9ef00886e.rlib,libminiz_oxide-598a090223a25eec.rlib,libadler-cfae5593f0297367.rlib,libobject-956d089cb0960f19.rlib,liblibc-64f84b6ab25f8bc2.rlib,libaddr2line-0d6dfec8e034a5ec.rlib,libgimli-7723439e355e01c4.rlib,libcfg_if-2d17986ae484e939.rlib,librustc_demangle-dcc5b1758b30e405.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustclS8gu9/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/tmp/rustdoctestnBK3pq/rust_out" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 9 [Killed] [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/coord.rs - coord::Coord::rotate (line 109) stdout ---- [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustc49EGKm/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libgrafen-02b39875db2256c4.rlib,librand-f4df1fc7bc08fa1b.rlib,librand_xorshift-53e86778f5ce919e.rlib,librand_pcg-4eb4e11f195dc375.rlib,librand_hc-6dc516f61621a2e6.rlib,librand_chacha-c21168b1cf3479ef.rlib,librand_isaac-047a883fcf14d827.rlib,librand_core-f95d039c327d494d.rlib,librand_os-9189565ceca7411b.rlib,librand_jitter-b5788f9d55ce55e9.rlib,librand_core-5dd93ed12702f197.rlib,libbitflags-c7127ca14bf6bbb6.rlib,libserde_json-50c0f64845c18b2c.rlib,libryu-86805dca779a3d7b.rlib,libitoa-c5d55aab241d4883.rlib,libserde-3ab8aaff830d030d.rlib,libcolored-bd2cee70ad61c222.rlib,liblazy_static-4b136fc9bfbd2c4b.rlib,libatty-da283a8ae1eabf91.rlib,libmdio-794aaa94ae6d4431.rlib,libfailure-b8330e340eb8a5f6.rlib,libbacktrace-46b474f9ef00886e.rlib,libminiz_oxide-598a090223a25eec.rlib,libadler-cfae5593f0297367.rlib,libobject-956d089cb0960f19.rlib,liblibc-64f84b6ab25f8bc2.rlib,libaddr2line-0d6dfec8e034a5ec.rlib,libgimli-7723439e355e01c4.rlib,libcfg_if-2d17986ae484e939.rlib,librustc_demangle-dcc5b1758b30e405.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustc49EGKm/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/tmp/rustdoctest9AqkeD/rust_out" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 9 [Killed] [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/coord.rs - coord::Coord::distance_cylindrical (line 81) [INFO] [stdout] src/coord.rs - coord::Coord::from_str (line 231) [INFO] [stdout] src/coord.rs - coord::Coord::rotate (line 109) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 11 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.15s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "ae62b9af224855713ed9da25ad454e666bc16c94cb15d1bab479d6d93e9fb51b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae62b9af224855713ed9da25ad454e666bc16c94cb15d1bab479d6d93e9fb51b", kill_on_drop: false }` [INFO] [stdout] ae62b9af224855713ed9da25ad454e666bc16c94cb15d1bab479d6d93e9fb51b