[INFO] cloning repository https://github.com/nilsmartel/calender [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nilsmartel/calender" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnilsmartel%2Fcalender", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnilsmartel%2Fcalender'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6774040b6f20d549fc451f89bfd62a463dd63f0a [INFO] checking nilsmartel/calender against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnilsmartel%2Fcalender" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nilsmartel/calender on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nilsmartel/calender [INFO] finished tweaking git repo https://github.com/nilsmartel/calender [INFO] tweaked toml for git repo https://github.com/nilsmartel/calender written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/nilsmartel/calender already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fff54c12b937e2cd350fc3cfbc40c3b6e436ccb321c1292865c2479805901854 [INFO] running `Command { std: "docker" "start" "-a" "fff54c12b937e2cd350fc3cfbc40c3b6e436ccb321c1292865c2479805901854", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fff54c12b937e2cd350fc3cfbc40c3b6e436ccb321c1292865c2479805901854", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fff54c12b937e2cd350fc3cfbc40c3b6e436ccb321c1292865c2479805901854", kill_on_drop: false }` [INFO] [stdout] fff54c12b937e2cd350fc3cfbc40c3b6e436ccb321c1292865c2479805901854 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21a4a3f1f3a80d58b6bf8b93e3b015af9cf41d9b8171c2d460d07144e97b96c8 [INFO] running `Command { std: "docker" "start" "-a" "21a4a3f1f3a80d58b6bf8b93e3b015af9cf41d9b8171c2d460d07144e97b96c8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling strum v0.18.0 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling anyhow v1.0.41 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Checking futures-io v0.3.15 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Compiling cairo-rs v0.9.1 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Compiling gio v0.9.1 [INFO] [stderr] Checking tinystr v0.3.4 [INFO] [stderr] Compiling pango v0.9.1 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling gdk-pixbuf v0.9.0 [INFO] [stderr] Compiling gdk v0.13.2 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling atk v0.9.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking xi-unicode v0.2.1 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking fluent-syntax v0.9.3 [INFO] [stderr] Checking xi-unicode v0.3.0 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling gtk v0.9.2 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking type-map v0.4.0 [INFO] [stderr] Checking unic-langid-impl v0.9.0 [INFO] [stderr] Checking keyboard-types v0.5.0 [INFO] [stderr] Checking unic-ucd-bidi v0.9.0 [INFO] [stderr] Checking simple_logger v1.11.0 [INFO] [stderr] Checking unic-langid v0.9.0 [INFO] [stderr] Checking fluent-langneg v0.13.0 [INFO] [stderr] Checking intl_pluralrules v7.0.1 [INFO] [stderr] Checking intl-memoizer v0.5.1 [INFO] [stderr] Checking kurbo v0.7.1 [INFO] [stderr] Checking unic-bidi v0.9.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking piet v0.3.1 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling glib-macros v0.10.1 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling rental-impl v0.5.5 [INFO] [stderr] Compiling druid-derive v0.4.0 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling system-deps v1.3.2 [INFO] [stderr] Compiling glib-sys v0.10.1 [INFO] [stderr] Compiling gobject-sys v0.10.0 [INFO] [stderr] Compiling gio-sys v0.10.1 [INFO] [stderr] Compiling cairo-sys-rs v0.10.0 [INFO] [stderr] Compiling pango-sys v0.10.0 [INFO] [stderr] Compiling gdk-pixbuf-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.15 [INFO] [stderr] Checking glib v0.10.3 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking rental v0.5.6 [INFO] [stderr] Checking fluent-bundle v0.12.0 [INFO] [stderr] Checking piet-cairo v0.3.0 [INFO] [stderr] Checking piet-common v0.3.2 [INFO] [stderr] Checking druid-shell v0.7.0 [INFO] [stderr] Checking druid v0.7.0 [INFO] [stderr] Checking calender v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Lens` [INFO] [stdout] --> src/grid.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use druid::{Data, Lens}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Lens` [INFO] [stdout] --> src/grid.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use druid::{Data, Lens}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/main.rs:97:63 [INFO] [stdout] | [INFO] [stdout] 97 | .with_child(widget::Label::new(|data: &CalenderState, env: &_| data.weekday().to_str().to_string())) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/main.rs:103:47 [INFO] [stdout] | [INFO] [stdout] 103 | widget::Label::new(|data: &CalenderState, env: &_| format!("{}", data.day)).with_font(font) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_rows` [INFO] [stdout] --> src/grid.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | let (my_columns, my_rows) = self.current_size(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/grid.rs:110:26 [INFO] [stdout] | [INFO] [stdout] 110 | fn layout(&mut self, ctx: &mut LayoutCtx, bc: &BoxConstraints, _data: &D, _env: &Env) -> Size { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pos_y` is assigned to, but never used [INFO] [stdout] --> src/grid.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | let mut pos_y = 0.0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_pos_y` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pos_x` is assigned to, but never used [INFO] [stdout] --> src/grid.rs:126:21 [INFO] [stdout] | [INFO] [stdout] 126 | let mut pos_x = 0.0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_pos_x` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/grid.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 67 | for (row_index, mut row) in self.widgets.iter_mut().enumerate() { [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] error[E0507]: cannot move out of a mutable reference [INFO] [stdout] --> src/grid.rs:56:23 [INFO] [stdout] | [INFO] [stdout] 56 | for &mut w in self.widgets.iter_mut() { [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | data moved here [INFO] [stdout] | move occurs because `w` has type `Vec`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider iterating over a slice of the `Vec<_>`'s content [INFO] [stdout] | [INFO] [stdout] 56 | for &mut w in &self.widgets.iter_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider removing the `&mut` [INFO] [stdout] | [INFO] [stdout] 56 | for w in self.widgets.iter_mut() { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `w` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/grid.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 56 | for &mut w in self.widgets.iter_mut() { [INFO] [stdout] | - help: consider changing this to be mutable: `mut w` [INFO] [stdout] 57 | let len = w.len(); [INFO] [stdout] 58 | w.truncate(len.min(rows as usize)); [INFO] [stdout] | ^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/main.rs:97:63 [INFO] [stdout] | [INFO] [stdout] 97 | .with_child(widget::Label::new(|data: &CalenderState, env: &_| data.weekday().to_str().to_string())) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/main.rs:103:47 [INFO] [stdout] | [INFO] [stdout] 103 | widget::Label::new(|data: &CalenderState, env: &_| format!("{}", data.day)).with_font(font) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_rows` [INFO] [stdout] --> src/grid.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | let (my_columns, my_rows) = self.current_size(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/grid.rs:110:26 [INFO] [stdout] | [INFO] [stdout] 110 | fn layout(&mut self, ctx: &mut LayoutCtx, bc: &BoxConstraints, _data: &D, _env: &Env) -> Size { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pos_y` is assigned to, but never used [INFO] [stdout] --> src/grid.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | let mut pos_y = 0.0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_pos_y` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pos_x` is assigned to, but never used [INFO] [stdout] --> src/grid.rs:126:21 [INFO] [stdout] | [INFO] [stdout] 126 | let mut pos_x = 0.0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_pos_x` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0507, E0596. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stderr] error: could not compile `calender` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/grid.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 67 | for (row_index, mut row) in self.widgets.iter_mut().enumerate() { [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] error[E0507]: cannot move out of a mutable reference [INFO] [stdout] --> src/grid.rs:56:23 [INFO] [stdout] | [INFO] [stdout] 56 | for &mut w in self.widgets.iter_mut() { [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | data moved here [INFO] [stdout] | move occurs because `w` has type `Vec`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider iterating over a slice of the `Vec<_>`'s content [INFO] [stdout] | [INFO] [stdout] 56 | for &mut w in &self.widgets.iter_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider removing the `&mut` [INFO] [stdout] | [INFO] [stdout] 56 | for w in self.widgets.iter_mut() { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `w` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/grid.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 56 | for &mut w in self.widgets.iter_mut() { [INFO] [stdout] | - help: consider changing this to be mutable: `mut w` [INFO] [stdout] 57 | let len = w.len(); [INFO] [stdout] 58 | w.truncate(len.min(rows as usize)); [INFO] [stdout] | ^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0507, E0596. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "21a4a3f1f3a80d58b6bf8b93e3b015af9cf41d9b8171c2d460d07144e97b96c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21a4a3f1f3a80d58b6bf8b93e3b015af9cf41d9b8171c2d460d07144e97b96c8", kill_on_drop: false }` [INFO] [stdout] 21a4a3f1f3a80d58b6bf8b93e3b015af9cf41d9b8171c2d460d07144e97b96c8