[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 try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpjohansson%2Fgrafen" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pjohansson/grafen on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-1/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: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded console v0.12.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.23 [INFO] [stderr] Downloaded syn v1.0.42 [INFO] [stderr] Downloaded terminal_size v0.1.13 [INFO] [stderr] Downloaded dialoguer v0.1.0 [INFO] [stderr] Downloaded hermit-abi v0.1.16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 13a5cd0ea040a6691807bb187ba9b2d497f8f6cf10942200bff98d95923b44ba [INFO] running `Command { std: "docker" "start" "-a" "13a5cd0ea040a6691807bb187ba9b2d497f8f6cf10942200bff98d95923b44ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13a5cd0ea040a6691807bb187ba9b2d497f8f6cf10942200bff98d95923b44ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13a5cd0ea040a6691807bb187ba9b2d497f8f6cf10942200bff98d95923b44ba", kill_on_drop: false }` [INFO] [stdout] 13a5cd0ea040a6691807bb187ba9b2d497f8f6cf10942200bff98d95923b44ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd0d4626e70b6ce9d23e757ab31bf6a2d14b3385f99df92ce1206766397846e0 [INFO] running `Command { std: "docker" "start" "-a" "cd0d4626e70b6ce9d23e757ab31bf6a2d14b3385f99df92ce1206766397846e0", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [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 autocfg v1.0.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Compiling miniz_oxide v0.4.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking terminal_size v0.1.13 [INFO] [stderr] Checking termios v0.3.2 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking colored v1.9.3 [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 console v0.12.0 [INFO] [stderr] Checking backtrace v0.3.50 [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 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/error.rs (1 fix) [INFO] [stdout] warning: use of deprecated associated function `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: use of deprecated associated function `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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/bin/main.rs from 2018 edition to 2021 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `grafen` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/bin/error.rs [INFO] [stderr] * src/bin/ui/edit_database/component.rs [INFO] [stderr] * src/bin/ui/edit_database/mod.rs [INFO] [stderr] * src/bin/ui/edit_database/residue.rs [INFO] [stderr] * src/bin/ui/mod.rs [INFO] [stderr] * src/bin/ui/utils.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: no rules expected the token `.` [INFO] [stderr] --> src/bin/ui/mod.rs:50:21 [INFO] [stderr] | [INFO] [stderr] 50 | @pre: system.print_state(); [INFO] [stderr] | ^ no rules expected this token in macro call [INFO] [stderr] | [INFO] [stderr] ::: src/bin/ui/utils.rs:91:1 [INFO] [stderr] | [INFO] [stderr] 91 | macro_rules! create_menu { [INFO] [stderr] | ------------------------ when calling this macro [INFO] [stderr] [INFO] [stderr] warning: unused imports: `output`, `remove_items`, `reorder_list` [INFO] [stderr] --> src/bin/ui/mod.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | output, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 17 | get_value_or_default_from_user, remove_items, reorder_list, select_command, [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/bin/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] error[E0308]: mismatched types [INFO] [stderr] --> src/bin/ui/mod.rs:41:37 [INFO] [stderr] | [INFO] [stderr] 41 | pub fn user_menu(config: Config) -> Result<()> { [INFO] [stderr] | --------- ^^^^^^^^^^ expected enum `std::result::Result`, found `()` [INFO] [stderr] | | [INFO] [stderr] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stderr] | [INFO] [stderr] = note: expected enum `std::result::Result<(), GrafenCliError>` [INFO] [stderr] found unit type `()` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/bin/ui/edit_database/mod.rs:33:65 [INFO] [stderr] | [INFO] [stderr] 33 | format!("Could not write database: {}", err.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/bin/ui/edit_database/component.rs: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 associated function `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 associated function `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 associated function `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 associated function `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] error: aborting due to 2 previous errors; 8 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [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] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility` [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] [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] | ^^^^^^^^ help: use `dyn`: `dyn Contains` [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] [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] | ^^^^^^^^ help: use `dyn`: `dyn Contains` [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] [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] | ^^^^^^^^ help: use `dyn`: `dyn Contains` [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] [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] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` 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] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility` [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] [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] | ^^^^^^^^ help: use `dyn`: `dyn Contains` [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] [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] | ^^^^^^^^ help: use `dyn`: `dyn Contains` [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] [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] | ^^^^^^^^ help: use `dyn`: `dyn Contains` [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] [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] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/bin/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 associated function `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: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/bin/ui/edit_database/component.rs: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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/bin/ui/edit_database/component.rs: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 associated function `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 associated function `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 associated function `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 associated function `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: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 32.37s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking grafen v0.10.2-dev (/tmp/fixit) [INFO] [stdout] warning: use of deprecated associated function `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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/coord.rs: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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/bin/error.rs:77:32 [INFO] [stdout] | [INFO] [stdout] 77 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 77 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [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] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 51 | let volume: Box = get_volume_from_user(components)?; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [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] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 54 | let remaining_residues = prune_residues_from_volume::<_, dyn Contains>( [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [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] help: add `dyn` keyword before this trait [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] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/bin/error.rs:77:32 [INFO] [stdout] | [INFO] [stdout] 77 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 77 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [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] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 51 | let volume: Box = get_volume_from_user(components)?; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [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] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 54 | let remaining_residues = prune_residues_from_volume::<_, dyn Contains>( [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [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] help: add `dyn` keyword before this trait [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] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/bin/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 associated function `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: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/bin/ui/edit_database/component.rs: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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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] error: aborting due to 4 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0782`. [INFO] [stdout] [INFO] [stderr] error: could not compile `grafen` due to 5 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/bin/ui/edit_database/mod.rs:33:65 [INFO] [stdout] | [INFO] [stdout] 33 | format!("Could not write database: {}", err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/bin/ui/edit_database/component.rs: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 associated function `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 associated function `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 associated function `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 associated function `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] error: aborting due to 4 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0782`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to check after updating to 2021 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "cd0d4626e70b6ce9d23e757ab31bf6a2d14b3385f99df92ce1206766397846e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd0d4626e70b6ce9d23e757ab31bf6a2d14b3385f99df92ce1206766397846e0", kill_on_drop: false }` [INFO] [stdout] cd0d4626e70b6ce9d23e757ab31bf6a2d14b3385f99df92ce1206766397846e0