[INFO] updating cached repository https://github.com/sector-f/swm-rust
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] b7d645b6c9b9ff28110aaaa8714122ef17004cd3
[INFO] checking sector-f/swm-rust against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsector-f%2Fswm-rust" "/workspace/builds/worker-3/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/sector-f/swm-rust on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/sector-f/swm-rust
[INFO] finished tweaking git repo https://github.com/sector-f/swm-rust
[INFO] tweaked toml for git repo https://github.com/sector-f/swm-rust written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/sector-f/swm-rust already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] error: the lock file /workspace/builds/worker-3/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 4f7eb9b6c512f8b493d1e5132bcf9ce33a406fcf45420b4beed855d191020fe1
[INFO] running `"docker" "start" "-a" "4f7eb9b6c512f8b493d1e5132bcf9ce33a406fcf45420b4beed855d191020fe1"`
[INFO] [stderr]     Checking swm-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unused import: `base`
[INFO] [stderr]   --> src/swm.rs:27:11
[INFO] [stderr]    |
[INFO] [stderr] 27 | use xcb::{base,xproto};
[INFO] [stderr]    |           ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `base`
[INFO] [stderr]   --> src/swm.rs:27:11
[INFO] [stderr]    |
[INFO] [stderr] 27 | use xcb::{base,xproto};
[INFO] [stderr]    |           ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable statement
[INFO] [stderr]    --> src/swm.rs:238:5
[INFO] [stderr]     |
[INFO] [stderr] 234 | /     loop {
[INFO] [stderr] 235 | |         events_loop(&connection, &screen, focuswin);
[INFO] [stderr] 236 | |     }
[INFO] [stderr]     | |_____- any code following this expression is unreachable
[INFO] [stderr] 237 | 
[INFO] [stderr] 238 |       process::exit(1);
[INFO] [stderr]     |       ^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable statement
[INFO] [stderr]    --> src/swm.rs:238:5
[INFO] [stderr]     |
[INFO] [stderr] 234 | /     loop {
[INFO] [stderr] 235 | |         events_loop(&connection, &screen, focuswin);
[INFO] [stderr] 236 | |     }
[INFO] [stderr]     | |_____- any code following this expression is unreachable
[INFO] [stderr] 237 | 
[INFO] [stderr] 238 |       process::exit(1);
[INFO] [stderr]     |       ^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error[E0133]: call to unsafe function is unsafe and requires unsafe function or block
[INFO] [stderr]    --> src/swm.rs:104:54
[INFO] [stderr]     |
[INFO] [stderr] 104 |                 let event: &xcb::CreateNotifyEvent = xcb::cast_event(&event);
[INFO] [stderr]     |                                                      ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stderr]     |
[INFO] [stderr]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stderr] 
[INFO] [stderr] error[E0133]: call to unsafe function is unsafe and requires unsafe function or block
[INFO] [stderr]    --> src/swm.rs:111:55
[INFO] [stderr]     |
[INFO] [stderr] 111 |                 let event: &xcb::DestroyNotifyEvent = xcb::cast_event(&event);
[INFO] [stderr]     |                                                       ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stderr]     |
[INFO] [stderr]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stderr] 
[INFO] [stderr] error[E0133]: call to unsafe function is unsafe and requires unsafe function or block
[INFO] [stderr]    --> src/swm.rs:116:57
[INFO] [stderr]     |
[INFO] [stderr] 116 |                     let event: &xcb::EnterNotifyEvent = xcb::cast_event(&event);
[INFO] [stderr]     |                                                         ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stderr]     |
[INFO] [stderr]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stderr] 
[INFO] [stderr] error[E0133]: call to unsafe function is unsafe and requires unsafe function or block
[INFO] [stderr]    --> src/swm.rs:121:51
[INFO] [stderr]     |
[INFO] [stderr] 121 |                 let event: &xcb::MapNotifyEvent = xcb::cast_event(&event);
[INFO] [stderr]     |                                                   ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stderr]     |
[INFO] [stderr]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stderr] 
[INFO] [stderr] error[E0133]: call to unsafe function is unsafe and requires unsafe function or block
[INFO] [stderr]    --> src/swm.rs:129:57
[INFO] [stderr]     |
[INFO] [stderr] 129 |                     let event: &xcb::ButtonPressEvent = xcb::cast_event(&event);
[INFO] [stderr]     |                                                         ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stderr]     |
[INFO] [stderr]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stderr] 
[INFO] [stderr] error[E0133]: call to unsafe function is unsafe and requires unsafe function or block
[INFO] [stderr]    --> src/swm.rs:205:57
[INFO] [stderr]     |
[INFO] [stderr] 205 |                 let event: &xcb::ConfigureNotifyEvent = xcb::cast_event(&event);
[INFO] [stderr]     |                                                         ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stderr]     |
[INFO] [stderr]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 6 previous errors
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0133`.
[INFO] [stderr] error: could not compile `swm-rust`.
[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] [stderr] error[E0133]: call to unsafe function is unsafe and requires unsafe function or block
[INFO] [stderr]    --> src/swm.rs:104:54
[INFO] [stderr]     |
[INFO] [stderr] 104 |                 let event: &xcb::CreateNotifyEvent = xcb::cast_event(&event);
[INFO] [stderr]     |                                                      ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stderr]     |
[INFO] [stderr]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stderr] 
[INFO] [stderr] error[E0133]: call to unsafe function is unsafe and requires unsafe function or block
[INFO] [stderr]    --> src/swm.rs:111:55
[INFO] [stderr]     |
[INFO] [stderr] 111 |                 let event: &xcb::DestroyNotifyEvent = xcb::cast_event(&event);
[INFO] [stderr]     |                                                       ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stderr]     |
[INFO] [stderr]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stderr] 
[INFO] [stderr] error[E0133]: call to unsafe function is unsafe and requires unsafe function or block
[INFO] [stderr]    --> src/swm.rs:116:57
[INFO] [stderr]     |
[INFO] [stderr] 116 |                     let event: &xcb::EnterNotifyEvent = xcb::cast_event(&event);
[INFO] [stderr]     |                                                         ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stderr]     |
[INFO] [stderr]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stderr] 
[INFO] [stderr] error[E0133]: call to unsafe function is unsafe and requires unsafe function or block
[INFO] [stderr]    --> src/swm.rs:121:51
[INFO] [stderr]     |
[INFO] [stderr] 121 |                 let event: &xcb::MapNotifyEvent = xcb::cast_event(&event);
[INFO] [stderr]     |                                                   ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stderr]     |
[INFO] [stderr]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stderr] 
[INFO] [stderr] error[E0133]: call to unsafe function is unsafe and requires unsafe function or block
[INFO] [stderr]    --> src/swm.rs:129:57
[INFO] [stderr]     |
[INFO] [stderr] 129 |                     let event: &xcb::ButtonPressEvent = xcb::cast_event(&event);
[INFO] [stderr]     |                                                         ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stderr]     |
[INFO] [stderr]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stderr] 
[INFO] [stderr] error[E0133]: call to unsafe function is unsafe and requires unsafe function or block
[INFO] [stderr]    --> src/swm.rs:205:57
[INFO] [stderr]     |
[INFO] [stderr] 205 |                 let event: &xcb::ConfigureNotifyEvent = xcb::cast_event(&event);
[INFO] [stderr]     |                                                         ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stderr]     |
[INFO] [stderr]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 6 previous errors
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0133`.
[INFO] [stderr] error: could not compile `swm-rust`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "4f7eb9b6c512f8b493d1e5132bcf9ce33a406fcf45420b4beed855d191020fe1"`
[INFO] running `"docker" "rm" "-f" "4f7eb9b6c512f8b493d1e5132bcf9ce33a406fcf45420b4beed855d191020fe1"`
[INFO] [stdout] 4f7eb9b6c512f8b493d1e5132bcf9ce33a406fcf45420b4beed855d191020fe1
