[INFO] cloning repository https://github.com/Bunogi/lyric-db [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Bunogi/lyric-db" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBunogi%2Flyric-db", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBunogi%2Flyric-db'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e46b919697738476bcba491e18da683871e29c30 [INFO] checking Bunogi/lyric-db/e46b919697738476bcba491e18da683871e29c30 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBunogi%2Flyric-db" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Bunogi/lyric-db on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Bunogi/lyric-db [INFO] finished tweaking git repo https://github.com/Bunogi/lyric-db [INFO] tweaked toml for git repo https://github.com/Bunogi/lyric-db written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Bunogi/lyric-db 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f322d070a1013a06ddc81cb8982109941c098c6ecd2a334f788f7be8b44d7a8e [INFO] running `Command { std: "docker" "start" "-a" "f322d070a1013a06ddc81cb8982109941c098c6ecd2a334f788f7be8b44d7a8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f322d070a1013a06ddc81cb8982109941c098c6ecd2a334f788f7be8b44d7a8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f322d070a1013a06ddc81cb8982109941c098c6ecd2a334f788f7be8b44d7a8e", kill_on_drop: false }` [INFO] [stdout] f322d070a1013a06ddc81cb8982109941c098c6ecd2a334f788f7be8b44d7a8e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9dd50d6e3433bcd09e96c70fc7813b18110caa5e3385e44af2962bc0efefc96 [INFO] running `Command { std: "docker" "start" "-a" "b9dd50d6e3433bcd09e96c70fc7813b18110caa5e3385e44af2962bc0efefc96", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling pkg-config v0.3.12 [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Compiling rustdoc-stripper v0.1.5 [INFO] [stderr] Checking bitflags v1.0.3 [INFO] [stderr] Checking lazy_static v1.0.2 [INFO] [stderr] Compiling cc v1.0.18 [INFO] [stderr] Checking c_vec v1.2.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking cfg-if v0.1.4 [INFO] [stderr] Checking rustc-demangle v0.1.9 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Compiling proc-macro2 v0.4.9 [INFO] [stderr] Checking log v0.4.3 [INFO] [stderr] Checking xml-rs v0.6.1 [INFO] [stderr] Compiling glib-sys v0.6.0 [INFO] [stderr] Compiling gobject-sys v0.6.0 [INFO] [stderr] Compiling gio-sys v0.6.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.6.0 [INFO] [stderr] Compiling cairo-sys-rs v0.6.0 [INFO] [stderr] Compiling pango-sys v0.6.0 [INFO] [stderr] Compiling gdk-sys v0.6.0 [INFO] [stderr] Compiling atk-sys v0.6.0 [INFO] [stderr] Compiling gtk-sys v0.6.0 [INFO] [stderr] Compiling quote v0.6.4 [INFO] [stderr] Compiling gtk-rs-lgpl-docs v0.1.6 [INFO] [stderr] Compiling syn v0.14.5 [INFO] [stderr] Compiling gio v0.4.1 [INFO] [stderr] Compiling gdk-pixbuf v0.4.0 [INFO] [stderr] Compiling cairo-rs v0.4.1 [INFO] [stderr] Compiling gdk v0.8.0 [INFO] [stderr] Compiling gtk v0.4.1 [INFO] [stderr] Compiling backtrace-sys v0.1.23 [INFO] [stderr] Checking glib v0.5.0 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Checking treexml v0.6.2 [INFO] [stderr] Checking pango v0.4.0 [INFO] [stderr] Compiling relm-gen-widget v0.14.6 [INFO] [stderr] Compiling relm-derive-common v0.14.6 [INFO] [stderr] Compiling relm-derive v0.14.6 [INFO] [stderr] Checking relm-core v0.14.6 [INFO] [stderr] Checking relm-state v0.14.6 [INFO] [stderr] Checking relm v0.14.6 [INFO] [stderr] Checking lyrics v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self::albumwindow::AlbumWindow` [INFO] [stdout] --> src/windows/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use self::albumwindow::AlbumWindow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::albumwindow::AlbumWindow` [INFO] [stdout] --> src/windows/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use self::albumwindow::AlbumWindow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/windows/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `use_extern_macros` has been stable since 1.30.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(use_extern_macros)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `extern_prelude` has been stable since 1.30.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(extern_prelude)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/windows/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `use_extern_macros` has been stable since 1.30.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(use_extern_macros)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `extern_prelude` has been stable since 1.30.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(extern_prelude)] [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/database/error.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | DatabaseError::Io(e) => e.description(), [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/database/error.rs:32:65 [INFO] [stdout] | [INFO] [stdout] 32 | DatabaseError::Io(e) => write!(f, "io error: {}", e.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/database/error.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | DatabaseError::Io(e) => e.description(), [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/database/error.rs:32:65 [INFO] [stdout] | [INFO] [stdout] 32 | DatabaseError::Io(e) => write!(f, "io error: {}", e.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/database/mod.rs:119:24 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn save(&self, path: &str) -> Result<(), DatabaseError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/database/mod.rs:119:24 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn save(&self, path: &str) -> Result<(), DatabaseError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/windows/mainwindow.rs:81:25 [INFO] [stdout] | [INFO] [stdout] 81 | let mut path = model.get_path(&iter).expect("failed to get path"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/windows/mainwindow.rs:81:25 [INFO] [stdout] | [INFO] [stdout] 81 | let mut path = model.get_path(&iter).expect("failed to get path"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_path` is never read [INFO] [stdout] --> src/database/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Database { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 13 | pub entries: Vec, [INFO] [stdout] 14 | file_path: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `save` is never used [INFO] [stdout] --> src/database/mod.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Database { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn save(&self, path: &str) -> Result<(), DatabaseError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `context_menu` is never read [INFO] [stdout] --> src/windows/mainwindow.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct MainWindow { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 56 | context_menu: Menu, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title`, `title_entry`, `num`, and `num_label` are never read [INFO] [stdout] --> src/windows/albumwindow.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 27 | struct TrackEntry { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 28 | container: gtk::Box, [INFO] [stdout] 29 | title: EntryBuffer, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 30 | lyrics_buffer: TextBuffer, [INFO] [stdout] 31 | title_entry: Entry, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 32 | num: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 33 | num_label: Label, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_path` is never read [INFO] [stdout] --> src/database/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Database { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 13 | pub entries: Vec, [INFO] [stdout] 14 | file_path: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `save` is never used [INFO] [stdout] --> src/database/mod.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Database { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn save(&self, path: &str) -> Result<(), DatabaseError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `context_menu` is never read [INFO] [stdout] --> src/windows/mainwindow.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct MainWindow { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 56 | context_menu: Menu, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title`, `title_entry`, `num`, and `num_label` are never read [INFO] [stdout] --> src/windows/albumwindow.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 27 | struct TrackEntry { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 28 | container: gtk::Box, [INFO] [stdout] 29 | title: EntryBuffer, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 30 | lyrics_buffer: TextBuffer, [INFO] [stdout] 31 | title_entry: Entry, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 32 | num: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 33 | num_label: Label, [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` profile [unoptimized + debuginfo] target(s) in 34.78s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "b9dd50d6e3433bcd09e96c70fc7813b18110caa5e3385e44af2962bc0efefc96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9dd50d6e3433bcd09e96c70fc7813b18110caa5e3385e44af2962bc0efefc96", kill_on_drop: false }` [INFO] [stdout] b9dd50d6e3433bcd09e96c70fc7813b18110caa5e3385e44af2962bc0efefc96