[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] checking pjohansson/grafen against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpjohansson%2Fgrafen" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pjohansson/grafen on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc1/source/Cargo.toml [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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/pjohansson/mdio` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b959e980dcd4ac02abdfcc195385eb6bfdda06dd247408120910112e73686ff1 [INFO] running `Command { std: "docker" "start" "-a" "b959e980dcd4ac02abdfcc195385eb6bfdda06dd247408120910112e73686ff1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b959e980dcd4ac02abdfcc195385eb6bfdda06dd247408120910112e73686ff1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b959e980dcd4ac02abdfcc195385eb6bfdda06dd247408120910112e73686ff1", kill_on_drop: false }` [INFO] [stdout] b959e980dcd4ac02abdfcc195385eb6bfdda06dd247408120910112e73686ff1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea3a62f90208d9119519462195478d927fa0b2bbe6deadd73123adcad12d6b70 [INFO] running `Command { std: "docker" "start" "-a" "ea3a62f90208d9119519462195478d927fa0b2bbe6deadd73123adcad12d6b70", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling proc-macro2 v1.0.23 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Compiling miniz_oxide v0.4.2 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking termios v0.3.2 [INFO] [stderr] Checking terminal_size v0.1.13 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking tempfile v2.2.0 [INFO] [stderr] Checking addr2line v0.13.0 [INFO] [stderr] Checking backtrace v0.3.50 [INFO] [stderr] Checking console v0.12.0 [INFO] [stderr] Checking dialoguer v0.1.0 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking structopt v0.2.18 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking mdio v0.2.0 (https://github.com/pjohansson/mdio#0f959fbc) [INFO] [stderr] Checking grafen v0.10.2-dev (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/database.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ the item `serde_json` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/database.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | convert::From, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `mdio` is imported redundantly [INFO] [stdout] --> src/iterator.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use mdio; [INFO] [stdout] | ^^^^ the item `mdio` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `mdio` is imported redundantly [INFO] [stdout] --> src/read_conf.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use mdio; [INFO] [stdout] | ^^^^ the item `mdio` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Coord` is imported redundantly [INFO] [stdout] --> src/volume/cuboid.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | coord::{Coord, Direction, Periodic, Translate}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | volume::*, [INFO] [stdout] | --------- the item `Coord` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Direction` is imported redundantly [INFO] [stdout] --> src/volume/cuboid.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | coord::{Coord, Direction, Periodic, Translate}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | volume::*, [INFO] [stdout] | --------- the item `Direction` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Periodic` is imported redundantly [INFO] [stdout] --> src/volume/cuboid.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | coord::{Coord, Direction, Periodic, Translate}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | volume::*, [INFO] [stdout] | --------- the item `Periodic` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ResidueIterOut` is imported redundantly [INFO] [stdout] --> src/volume/cuboid.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | iterator::{ResidueIter, ResidueIterOut}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 7 | system::{Component, Residue}, [INFO] [stdout] 8 | volume::*, [INFO] [stdout] | --------- the item `ResidueIterOut` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Component` is imported redundantly [INFO] [stdout] --> src/volume/cuboid.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | system::{Component, Residue}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 8 | volume::*, [INFO] [stdout] | --------- the item `Component` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Coord` is imported redundantly [INFO] [stdout] --> src/volume/cylinder.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | coord::{Coord, Direction, Translate}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | volume::*, [INFO] [stdout] | --------- the item `Coord` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Direction` is imported redundantly [INFO] [stdout] --> src/volume/cylinder.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | coord::{Coord, Direction, Translate}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | volume::*, [INFO] [stdout] | --------- the item `Direction` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ResidueIterOut` is imported redundantly [INFO] [stdout] --> src/volume/cylinder.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | iterator::{ResidueIter, ResidueIterOut}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 7 | system::{Component, Residue}, [INFO] [stdout] 8 | volume::*, [INFO] [stdout] | --------- the item `ResidueIterOut` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Component` is imported redundantly [INFO] [stdout] --> src/volume/cylinder.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | system::{Component, Residue}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 8 | volume::*, [INFO] [stdout] | --------- the item `Component` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Coord` is imported redundantly [INFO] [stdout] --> src/volume/sphere.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | coord::{Coord, Translate}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | volume::*, [INFO] [stdout] | --------- the item `Coord` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ResidueIterOut` is imported redundantly [INFO] [stdout] --> src/volume/sphere.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | iterator::{ResidueIter, ResidueIterOut}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 7 | system::{Component, Residue}, [INFO] [stdout] 8 | volume::*, [INFO] [stdout] | --------- the item `ResidueIterOut` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Component` is imported redundantly [INFO] [stdout] --> src/volume/sphere.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | system::{Component, Residue}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 8 | volume::*, [INFO] [stdout] | --------- the item `Component` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromStr` is imported redundantly [INFO] [stdout] --> src/coord.rs:417:9 [INFO] [stdout] | [INFO] [stdout] 416 | use super::*; [INFO] [stdout] | -------- the item `FromStr` is already imported here [INFO] [stdout] 417 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/database.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | convert::From, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `mdio` is imported redundantly [INFO] [stdout] --> src/iterator.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use mdio; [INFO] [stdout] | ^^^^ the item `mdio` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rc` is imported redundantly [INFO] [stdout] --> src/read_conf.rs:380:9 [INFO] [stdout] | [INFO] [stdout] 377 | use super::*; [INFO] [stdout] | -------- the item `Rc` is already imported here [INFO] [stdout] ... [INFO] [stdout] 380 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Periodic` is imported redundantly [INFO] [stdout] --> src/volume/cuboid.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | coord::{Coord, Direction, Periodic, Translate}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | volume::*, [INFO] [stdout] | --------- the item `Periodic` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ResidueIterOut` is imported redundantly [INFO] [stdout] --> src/volume/cuboid.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | iterator::{ResidueIter, ResidueIterOut}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 7 | system::{Component, Residue}, [INFO] [stdout] 8 | volume::*, [INFO] [stdout] | --------- the item `ResidueIterOut` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Component` is imported redundantly [INFO] [stdout] --> src/volume/cuboid.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | system::{Component, Residue}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 8 | volume::*, [INFO] [stdout] | --------- the item `Component` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ResidueIterOut` is imported redundantly [INFO] [stdout] --> src/volume/cylinder.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | iterator::{ResidueIter, ResidueIterOut}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 7 | system::{Component, Residue}, [INFO] [stdout] 8 | volume::*, [INFO] [stdout] | --------- the item `ResidueIterOut` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Component` is imported redundantly [INFO] [stdout] --> src/volume/cylinder.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | system::{Component, Residue}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 8 | volume::*, [INFO] [stdout] | --------- the item `Component` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Coord` is imported redundantly [INFO] [stdout] --> src/volume/sphere.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | coord::{Coord, Translate}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | volume::*, [INFO] [stdout] | --------- the item `Coord` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ResidueIterOut` is imported redundantly [INFO] [stdout] --> src/volume/sphere.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | iterator::{ResidueIter, ResidueIterOut}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 7 | system::{Component, Residue}, [INFO] [stdout] 8 | volume::*, [INFO] [stdout] | --------- the item `ResidueIterOut` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Component` is imported redundantly [INFO] [stdout] --> src/volume/sphere.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | system::{Component, Residue}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 8 | volume::*, [INFO] [stdout] | --------- the item `Component` is already imported here [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 an object-safe 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: 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 an object-safe 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: 19 warnings emitted [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: the item `dirs` is imported redundantly [INFO] [stdout] --> src/bin/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use dirs; [INFO] [stdout] | ^^^^ the item `dirs` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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 an object-safe 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 an object-safe 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: 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: the item `dirs` is imported redundantly [INFO] [stdout] --> src/bin/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use dirs; [INFO] [stdout] | ^^^^ the item `dirs` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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/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/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 an object-safe 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 an object-safe 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: 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 an object-safe 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 an object-safe 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/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: 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/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 an object-safe 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 an object-safe 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: 13 warnings emitted [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: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.23s [INFO] running `Command { std: "docker" "inspect" "ea3a62f90208d9119519462195478d927fa0b2bbe6deadd73123adcad12d6b70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea3a62f90208d9119519462195478d927fa0b2bbe6deadd73123adcad12d6b70", kill_on_drop: false }` [INFO] [stdout] ea3a62f90208d9119519462195478d927fa0b2bbe6deadd73123adcad12d6b70