[INFO] cloning repository https://github.com/rust-lang-ve/notesmd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rust-lang-ve/notesmd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frust-lang-ve%2Fnotesmd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frust-lang-ve%2Fnotesmd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0e79fffd46f75d1d1ee42022e2d78e5411c6b245 [INFO] checking rust-lang-ve/notesmd against master#53709aedba198874ee50769f19f1e9ab00798bb5 for pr-108221 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frust-lang-ve%2Fnotesmd" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rust-lang-ve/notesmd on toolchain 53709aedba198874ee50769f19f1e9ab00798bb5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+53709aedba198874ee50769f19f1e9ab00798bb5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rust-lang-ve/notesmd [INFO] finished tweaking git repo https://github.com/rust-lang-ve/notesmd [INFO] tweaked toml for git repo https://github.com/rust-lang-ve/notesmd written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rust-lang-ve/notesmd 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" "+53709aedba198874ee50769f19f1e9ab00798bb5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gdk v0.13.1 [INFO] [stderr] Downloaded gtk v0.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:542af8c9c691278ea8427c9f55ce1005b509eeebcbbcbc893145cd6832507671" "/opt/rustwide/cargo-home/bin/cargo" "+53709aedba198874ee50769f19f1e9ab00798bb5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3fca5b85560d593210032b293139f8d9831ec7712f69684412d3c52e7a2f9067 [INFO] running `Command { std: "docker" "start" "-a" "3fca5b85560d593210032b293139f8d9831ec7712f69684412d3c52e7a2f9067", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3fca5b85560d593210032b293139f8d9831ec7712f69684412d3c52e7a2f9067", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fca5b85560d593210032b293139f8d9831ec7712f69684412d3c52e7a2f9067", kill_on_drop: false }` [INFO] [stdout] 3fca5b85560d593210032b293139f8d9831ec7712f69684412d3c52e7a2f9067 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:542af8c9c691278ea8427c9f55ce1005b509eeebcbbcbc893145cd6832507671" "/opt/rustwide/cargo-home/bin/cargo" "+53709aedba198874ee50769f19f1e9ab00798bb5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ac9d493d99e150936f41acb2da9bb8382bb0efd05cfdf282868e1f1e9a5019f [INFO] running `Command { std: "docker" "start" "-a" "8ac9d493d99e150936f41acb2da9bb8382bb0efd05cfdf282868e1f1e9a5019f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling strum v0.18.0 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Compiling either v1.6.0 [INFO] [stderr] Compiling gio v0.9.0 [INFO] [stderr] Compiling pango v0.9.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling cairo-rs v0.9.1 [INFO] [stderr] Compiling gdk-pixbuf v0.9.0 [INFO] [stderr] Compiling atk v0.9.0 [INFO] [stderr] Compiling gdk v0.13.1 [INFO] [stderr] Compiling gtk v0.9.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling glib-macros v0.10.1 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling system-deps v1.3.2 [INFO] [stderr] Checking pin-project v0.4.23 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Compiling glib-sys v0.10.0 [INFO] [stderr] Compiling gobject-sys v0.10.0 [INFO] [stderr] Compiling gio-sys v0.10.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.10.0 [INFO] [stderr] Compiling cairo-sys-rs v0.10.0 [INFO] [stderr] Compiling pango-sys v0.10.0 [INFO] [stderr] Compiling atk-sys v0.10.0 [INFO] [stderr] Compiling gdk-sys v0.10.0 [INFO] [stderr] Compiling gtk-sys v0.10.0 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking glib v0.10.1 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking notesmd v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::core::NotesMD` [INFO] [stdout] --> src/layout/view/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::core::NotesMD; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::NotesMD` [INFO] [stdout] --> src/layout/view/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::core::NotesMD; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_sheet` is never used [INFO] [stdout] --> src/core/notesmd.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new_sheet(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `receive` is never used [INFO] [stdout] --> src/core/notesmd.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn receive(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `write` is never used [INFO] [stdout] --> src/core/sheet.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn write(&mut self, next_text: String) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_sheet` is never used [INFO] [stdout] --> src/core/notesmd.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new_sheet(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `receive` is never used [INFO] [stdout] --> src/core/notesmd.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn receive(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `write` is never used [INFO] [stdout] --> src/core/sheet.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn write(&mut self, next_text: String) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/core/notesmd.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | for msg in self.receiver.try_recv() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 54 | while let Ok(msg) = self.receiver.try_recv() { [INFO] [stdout] | ~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 54 | if let Ok(msg) = self.receiver.try_recv() { [INFO] [stdout] | ~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/core/notesmd.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | for msg in self.receiver.try_recv() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 54 | while let Ok(msg) = self.receiver.try_recv() { [INFO] [stdout] | ~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 54 | if let Ok(msg) = self.receiver.try_recv() { [INFO] [stdout] | ~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 30.79s [INFO] running `Command { std: "docker" "inspect" "8ac9d493d99e150936f41acb2da9bb8382bb0efd05cfdf282868e1f1e9a5019f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ac9d493d99e150936f41acb2da9bb8382bb0efd05cfdf282868e1f1e9a5019f", kill_on_drop: false }` [INFO] [stdout] 8ac9d493d99e150936f41acb2da9bb8382bb0efd05cfdf282868e1f1e9a5019f