[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#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnilsmartel%2Fcalender" "/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/nilsmartel/calender on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-1/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a5c70d1667a9d32f503f07434b07edd4d97126753eb7899d5591b1951fac000 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8a5c70d1667a9d32f503f07434b07edd4d97126753eb7899d5591b1951fac000", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a5c70d1667a9d32f503f07434b07edd4d97126753eb7899d5591b1951fac000", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a5c70d1667a9d32f503f07434b07edd4d97126753eb7899d5591b1951fac000", kill_on_drop: false }` [INFO] [stdout] 8a5c70d1667a9d32f503f07434b07edd4d97126753eb7899d5591b1951fac000 [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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df9f5821396e37a5c710447ce335d238139b6412c5bb10dbdadd447e88072afe [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "df9f5821396e37a5c710447ce335d238139b6412c5bb10dbdadd447e88072afe", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling strum v0.18.0 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking futures-io v0.3.15 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Compiling cairo-rs v0.9.1 [INFO] [stderr] Compiling gio v0.9.1 [INFO] [stderr] Checking tinystr v0.3.4 [INFO] [stderr] Compiling gdk-pixbuf v0.9.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling atk v0.9.0 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling gdk v0.13.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking xi-unicode v0.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking xi-unicode v0.3.0 [INFO] [stderr] Compiling heck v0.3.3 [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 standback v0.2.17 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling gtk v0.9.2 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking kurbo v0.7.1 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Checking unic-langid-impl v0.9.0 [INFO] [stderr] Checking type-map v0.4.0 [INFO] [stderr] Compiling anyhow v1.0.41 [INFO] [stderr] Checking unic-ucd-bidi v0.9.0 [INFO] [stderr] Checking keyboard-types v0.5.0 [INFO] [stderr] Checking unic-langid v0.9.0 [INFO] [stderr] Checking simple_logger v1.11.0 [INFO] [stderr] Checking unic-bidi v0.9.0 [INFO] [stderr] Checking fluent-langneg v0.13.0 [INFO] [stderr] Checking intl-memoizer v0.5.1 [INFO] [stderr] Checking intl_pluralrules v7.0.1 [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 gdk-pixbuf-sys v0.10.0 [INFO] [stderr] Compiling pango-sys v0.10.0 [INFO] [stderr] Compiling gdk-sys v0.10.0 [INFO] [stderr] Compiling atk-sys v0.10.0 [INFO] [stderr] Compiling gtk-sys v0.10.0 [INFO] [stderr] Compiling pango v0.9.1 [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: 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: 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] [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` due to 3 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "df9f5821396e37a5c710447ce335d238139b6412c5bb10dbdadd447e88072afe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df9f5821396e37a5c710447ce335d238139b6412c5bb10dbdadd447e88072afe", kill_on_drop: false }` [INFO] [stdout] df9f5821396e37a5c710447ce335d238139b6412c5bb10dbdadd447e88072afe