[INFO] cloning repository https://github.com/AmonDeShir/simple-window-manager
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AmonDeShir/simple-window-manager" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmonDeShir%2Fsimple-window-manager", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmonDeShir%2Fsimple-window-manager'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 992cbf77bcf18ef770f31a2dd1ef3ff0d7d5b34f
[INFO] checking AmonDeShir/simple-window-manager against try#5fee451ebd94296ea05214e819c311e164b30af6 for pr-139042
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmonDeShir%2Fsimple-window-manager" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/AmonDeShir/simple-window-manager on toolchain 5fee451ebd94296ea05214e819c311e164b30af6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/AmonDeShir/simple-window-manager
[INFO] finished tweaking git repo https://github.com/AmonDeShir/simple-window-manager
[INFO] tweaked toml for git repo https://github.com/AmonDeShir/simple-window-manager written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/AmonDeShir/simple-window-manager 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" "+5fee451ebd94296ea05214e819c311e164b30af6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1496e1b9c26f6fabfa88d31380b938ce2cdc73b8a189cc0cf27dc788173cdb8d
[INFO] running `Command { std: "docker" "start" "-a" "1496e1b9c26f6fabfa88d31380b938ce2cdc73b8a189cc0cf27dc788173cdb8d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1496e1b9c26f6fabfa88d31380b938ce2cdc73b8a189cc0cf27dc788173cdb8d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1496e1b9c26f6fabfa88d31380b938ce2cdc73b8a189cc0cf27dc788173cdb8d", kill_on_drop: false }`
[INFO] [stdout] 1496e1b9c26f6fabfa88d31380b938ce2cdc73b8a189cc0cf27dc788173cdb8d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4d5fa8bc99f10198fff63415c98a23d6e8513d12fec411570c88acdd831f2fdf
[INFO] running `Command { std: "docker" "start" "-a" "4d5fa8bc99f10198fff63415c98a23d6e8513d12fec411570c88acdd831f2fdf", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]    Compiling serde v1.0.144
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]    Compiling smallvec v1.9.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.43
[INFO] [stderr]    Compiling version-compare v0.1.0
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling unicode-ident v1.0.3
[INFO] [stderr]    Compiling libc v0.2.132
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]    Compiling futures-core v0.3.23
[INFO] [stderr]    Compiling cfg-expr v0.10.3
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling slab v0.4.7
[INFO] [stderr]    Compiling futures-task v0.3.23
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling anyhow v1.0.62
[INFO] [stderr]    Compiling futures-util v0.3.23
[INFO] [stderr]    Compiling once_cell v1.13.1
[INFO] [stderr]    Compiling futures-channel v0.3.23
[INFO] [stderr]     Checking nix v0.24.2
[INFO] [stderr]     Checking gethostname v0.2.3
[INFO] [stderr]     Checking futures-executor v0.3.23
[INFO] [stderr]    Compiling toml v0.5.9
[INFO] [stderr]    Compiling thiserror-impl v1.0.32
[INFO] [stderr]    Compiling system-deps v6.0.2
[INFO] [stderr]    Compiling thiserror v1.0.32
[INFO] [stderr]    Compiling proc-macro-crate v1.2.1
[INFO] [stderr]     Checking x11rb-protocol v0.10.0
[INFO] [stderr]    Compiling glib-sys v0.15.10
[INFO] [stderr]    Compiling gobject-sys v0.15.10
[INFO] [stderr]    Compiling cairo-sys-rs v0.15.1
[INFO] [stderr]    Compiling glib-macros v0.15.11
[INFO] [stderr]     Checking glib v0.15.12
[INFO] [stderr]     Checking cairo-rs v0.15.12
[INFO] [stderr]     Checking x11rb v0.10.1
[INFO] [stderr]     Checking rusty-rsx v0.1.0 (/opt/rustwide/workdir/rusty-rsx)
[INFO] [stdout] error[E0106]: missing lifetime specifier
[INFO] [stdout]   --> rusty-rsx/src/window.rs:22:109
[INFO] [stdout]    |
[INFO] [stdout] 22 |   pub fn new(name: &str, size: (u16, u16), root: &WindowToolKit, children: Vec<Box<dyn Element>>) -> Result<Window, String> {
[INFO] [stdout]    |                    ----                          --------------                                             ^^^^^^ expected named lifetime parameter
[INFO] [stdout]    |
[INFO] [stdout]    = help: this function's return type contains a borrowed value, but the signature does not say whether it is borrowed from `name` or one of `root`'s 2 lifetimes
[INFO] [stdout] help: consider using the `'a` lifetime
[INFO] [stdout]    |
[INFO] [stdout] 22 |   pub fn new(name: &str, size: (u16, u16), root: &WindowToolKit, children: Vec<Box<dyn Element>>) -> Result<Window<'a>, String> {
[INFO] [stdout]    |                                                                                                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0106]: missing lifetime specifier
[INFO] [stdout]   --> rusty-rsx/src/window.rs:22:109
[INFO] [stdout]    |
[INFO] [stdout] 22 |   pub fn new(name: &str, size: (u16, u16), root: &WindowToolKit, children: Vec<Box<dyn Element>>) -> Result<Window, String> {
[INFO] [stdout]    |                    ----                          --------------                                             ^^^^^^ expected named lifetime parameter
[INFO] [stdout]    |
[INFO] [stdout]    = help: this function's return type contains a borrowed value, but the signature does not say whether it is borrowed from `name` or one of `root`'s 2 lifetimes
[INFO] [stdout] help: consider using the `'a` lifetime
[INFO] [stdout]    |
[INFO] [stdout] 22 |   pub fn new(name: &str, size: (u16, u16), root: &WindowToolKit, children: Vec<Box<dyn Element>>) -> Result<Window<'a>, String> {
[INFO] [stdout]    |                                                                                                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> rusty-rsx/src/root.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `x11rb::connection::Connection`
[INFO] [stdout]  --> rusty-rsx/src/root.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use x11rb::connection::Connection;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Screen`
[INFO] [stdout]  --> rusty-rsx/src/root.rs:6:31
[INFO] [stdout]   |
[INFO] [stdout] 6 | use x11rb::protocol::xproto::{Screen};
[INFO] [stdout]   |                               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Size`
[INFO] [stdout]  --> rusty-rsx/src/root.rs:7:19
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::size::{Size, Sizeable};
[INFO] [stdout]   |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::xcb_visualtype_t::xcb_visualtype_t`
[INFO] [stdout]   --> rusty-rsx/src/root.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::xcb_visualtype_t::xcb_visualtype_t;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `element::Element`
[INFO] [stdout]  --> rusty-rsx/src/show.rs:1:38
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{window::NoSurfaceRender, element::Element};
[INFO] [stdout]   |                                      ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> rusty-rsx/src/root.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `x11rb::connection::Connection`
[INFO] [stdout]  --> rusty-rsx/src/root.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use x11rb::connection::Connection;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Screen`
[INFO] [stdout]  --> rusty-rsx/src/root.rs:6:31
[INFO] [stdout]   |
[INFO] [stdout] 6 | use x11rb::protocol::xproto::{Screen};
[INFO] [stdout]   |                               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Size`
[INFO] [stdout]  --> rusty-rsx/src/root.rs:7:19
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::size::{Size, Sizeable};
[INFO] [stdout]   |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::xcb_visualtype_t::xcb_visualtype_t`
[INFO] [stdout]   --> rusty-rsx/src/root.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::xcb_visualtype_t::xcb_visualtype_t;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `element::Element`
[INFO] [stdout]  --> rusty-rsx/src/show.rs:1:38
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{window::NoSurfaceRender, element::Element};
[INFO] [stdout]   |                                      ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Sizeable`
[INFO] [stdout]  --> rusty-rsx/src/root.rs:7:25
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::size::{Size, Sizeable};
[INFO] [stdout]   |                         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `window`
[INFO] [stdout]    --> rusty-rsx/src/root.rs:109:9
[INFO] [stdout]     |
[INFO] [stdout] 109 |     for window in &self.children {
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Sizeable`
[INFO] [stdout]  --> rusty-rsx/src/root.rs:7:25
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::size::{Size, Sizeable};
[INFO] [stdout]   |                         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `showed`
[INFO] [stdout]  --> rusty-rsx/src/window.rs:6:32
[INFO] [stdout]   |
[INFO] [stdout] 6 |   fn set_visibility(&mut self, showed: bool) {}
[INFO] [stdout]   |                                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_showed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `**child` as mutable, as it is behind a `&` reference
[INFO] [stdout]   --> rusty-rsx/src/window.rs:86:7
[INFO] [stdout]    |
[INFO] [stdout] 85 |     for child in &self.children {
[INFO] [stdout]    |                  -------------- this iterator yields `&` references
[INFO] [stdout] 86 |       child.render();
[INFO] [stdout]    |       ^^^^^ `child` is a `&` reference, so the data it refers to cannot be borrowed as mutable
[INFO] [stdout]    |
[INFO] [stdout] help: use a mutable iterator instead
[INFO] [stdout]    |
[INFO] [stdout] 85 |     for child in &mut self.children {
[INFO] [stdout]    |                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0106, E0596.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0106`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `window`
[INFO] [stdout]    --> rusty-rsx/src/root.rs:109:9
[INFO] [stdout]     |
[INFO] [stdout] 109 |     for window in &self.children {
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `showed`
[INFO] [stdout]  --> rusty-rsx/src/window.rs:6:32
[INFO] [stdout]   |
[INFO] [stdout] 6 |   fn set_visibility(&mut self, showed: bool) {}
[INFO] [stdout]   |                                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_showed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rusty-rsx` (lib test) due to 2 previous errors; 9 warnings emitted
[INFO] [stdout] error[E0596]: cannot borrow `**child` as mutable, as it is behind a `&` reference
[INFO] [stdout]   --> rusty-rsx/src/window.rs:86:7
[INFO] [stdout]    |
[INFO] [stdout] 85 |     for child in &self.children {
[INFO] [stdout]    |                  -------------- this iterator yields `&` references
[INFO] [stdout] 86 |       child.render();
[INFO] [stdout]    |       ^^^^^ `child` is a `&` reference, so the data it refers to cannot be borrowed as mutable
[INFO] [stdout]    |
[INFO] [stdout] help: use a mutable iterator instead
[INFO] [stdout]    |
[INFO] [stdout] 85 |     for child in &mut self.children {
[INFO] [stdout]    |                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0106, E0596.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0106`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rusty-rsx` (lib) due to 2 previous errors; 9 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "4d5fa8bc99f10198fff63415c98a23d6e8513d12fec411570c88acdd831f2fdf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4d5fa8bc99f10198fff63415c98a23d6e8513d12fec411570c88acdd831f2fdf", kill_on_drop: false }`
[INFO] [stdout] 4d5fa8bc99f10198fff63415c98a23d6e8513d12fec411570c88acdd831f2fdf
