[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 beta-2021-10-15 for beta-1.56-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnilsmartel%2Fcalender" "/workspace/builds/worker-7/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/nilsmartel/calender on toolchain beta-2021-10-15
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-10-15" "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-7/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" "+beta-2021-10-15" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded kurbo v0.7.1
[INFO] [stderr]   Downloaded console_log v0.2.0
[INFO] [stderr]   Downloaded piet-cairo v0.3.0
[INFO] [stderr]   Downloaded piet-coregraphics v0.3.0
[INFO] [stderr]   Downloaded utf16_lit v1.0.1
[INFO] [stderr]   Downloaded piet v0.3.1
[INFO] [stderr]   Downloaded druid-derive v0.4.0
[INFO] [stderr]   Downloaded fluent-bundle v0.12.0
[INFO] [stderr]   Downloaded druid v0.7.0
[INFO] [stderr]   Downloaded piet-direct2d v0.3.0
[INFO] [stderr]   Downloaded rental v0.5.6
[INFO] [stderr]   Downloaded piet-web v0.3.1
[INFO] [stderr]   Downloaded glib v0.10.3
[INFO] [stderr]   Downloaded piet-common v0.3.2
[INFO] [stderr]   Downloaded druid-shell v0.7.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-10-15" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7025a61980da8fc47828c5bdab38e16b83b1ee4ec60c7a1692d0205d098f3202
[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" "7025a61980da8fc47828c5bdab38e16b83b1ee4ec60c7a1692d0205d098f3202", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7025a61980da8fc47828c5bdab38e16b83b1ee4ec60c7a1692d0205d098f3202", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7025a61980da8fc47828c5bdab38e16b83b1ee4ec60c7a1692d0205d098f3202", kill_on_drop: false }`
[INFO] [stdout] 7025a61980da8fc47828c5bdab38e16b83b1ee4ec60c7a1692d0205d098f3202
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-10-15" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b001821477bc5669080845daf51a729d0b089f3d8dd0b109a307ac02904b9e9c
[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" "b001821477bc5669080845daf51a729d0b089f3d8dd0b109a307ac02904b9e9c", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.73
[INFO] [stderr]    Compiling futures-task v0.3.15
[INFO] [stderr]     Checking futures-io v0.3.15
[INFO] [stderr]     Checking type-map v0.4.0
[INFO] [stderr]    Compiling serde v1.0.126
[INFO] [stderr]    Compiling anyhow v1.0.41
[INFO] [stderr]     Checking unic-ucd-bidi v0.9.0
[INFO] [stderr]     Checking futures-channel v0.3.15
[INFO] [stderr]     Checking intl_pluralrules v7.0.1
[INFO] [stderr]     Checking simple_logger v1.11.0
[INFO] [stderr]     Checking intl-memoizer v0.5.1
[INFO] [stderr]     Checking unic-bidi v0.9.0
[INFO] [stderr]     Checking piet v0.3.1
[INFO] [stderr]    Compiling toml v0.5.8
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[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 futures-macro v0.3.15
[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 futures-util v0.3.15
[INFO] [stderr]     Checking time-macros v0.1.1
[INFO] [stderr]     Checking time v0.2.27
[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 atk-sys v0.10.0
[INFO] [stderr]    Compiling gdk-sys v0.10.0
[INFO] [stderr]    Compiling gtk-sys v0.10.0
[INFO] [stderr]    Compiling cairo-rs v0.9.1
[INFO] [stderr]    Compiling gio v0.9.1
[INFO] [stderr]    Compiling pango v0.9.1
[INFO] [stderr]    Compiling gdk-pixbuf v0.9.0
[INFO] [stderr]    Compiling atk v0.9.0
[INFO] [stderr]    Compiling gdk v0.13.2
[INFO] [stderr]    Compiling gtk v0.9.2
[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<W>`, which does not implement the `Copy` trait
[INFO] [stdout]    |
[INFO] [stdout] help: consider iterating over a slice of the `Vec<W>`'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: could not compile `calender` due to 3 previous errors; 8 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[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<W>`, which does not implement the `Copy` trait
[INFO] [stdout]    |
[INFO] [stdout] help: consider iterating over a slice of the `Vec<W>`'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" "b001821477bc5669080845daf51a729d0b089f3d8dd0b109a307ac02904b9e9c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b001821477bc5669080845daf51a729d0b089f3d8dd0b109a307ac02904b9e9c", kill_on_drop: false }`
[INFO] [stdout] b001821477bc5669080845daf51a729d0b089f3d8dd0b109a307ac02904b9e9c
