[INFO] cloning repository https://github.com/Inityx/tetroids [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Inityx/tetroids" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInityx%2Ftetroids", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInityx%2Ftetroids'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 13a81c31fdbeec94d2adf43f08f6970982cf2dbe [INFO] testing Inityx/tetroids against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInityx%2Ftetroids" "/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/Inityx/tetroids on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Inityx/tetroids [INFO] finished tweaking git repo https://github.com/Inityx/tetroids [INFO] tweaked toml for git repo https://github.com/Inityx/tetroids written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/Inityx/tetroids already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded metadeps v1.1.2 [INFO] [stderr] Downloaded x11 v2.14.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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 90f5e84a07346aa3d37d9a519039e3ba4c6958e12a1d48b6a20caf083577d8ce [INFO] running `Command { std: "docker" "start" "-a" "90f5e84a07346aa3d37d9a519039e3ba4c6958e12a1d48b6a20caf083577d8ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "90f5e84a07346aa3d37d9a519039e3ba4c6958e12a1d48b6a20caf083577d8ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90f5e84a07346aa3d37d9a519039e3ba4c6958e12a1d48b6a20caf083577d8ce", kill_on_drop: false }` [INFO] [stdout] 90f5e84a07346aa3d37d9a519039e3ba4c6958e12a1d48b6a20caf083577d8ce [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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a80f5a7a349a33fff8a11b6a281fe584a3c1919a09630d675a74eb3bfea26be [INFO] running `Command { std: "docker" "start" "-a" "6a80f5a7a349a33fff8a11b6a281fe584a3c1919a09630d675a74eb3bfea26be", kill_on_drop: false }` [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling toml v0.2.1 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling libc v0.2.23 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling metadeps v1.1.2 [INFO] [stderr] Compiling x11 v2.14.0 [INFO] [stderr] Compiling tetroids v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/gui/mod.rs:210:67 [INFO] [stdout] | [INFO] [stdout] 210 | let mut event: xlib::XKeyPressedEvent = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/gui/mod.rs:230:53 [INFO] [stdout] | [INFO] [stdout] 230 | let mut event: xlib::XEvent = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/gui/mod.rs:175:21 [INFO] [stdout] | [INFO] [stdout] 175 | let result = match key { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `square` [INFO] [stdout] --> src/gui/mod.rs:283:25 [INFO] [stdout] | [INFO] [stdout] 283 | if let Some(square) = square { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_square` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game/board.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let mut board = &mut self.data; [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] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/gui/mod.rs:66:54 [INFO] [stdout] | [INFO] [stdout] 66 | ffi::CString::new(WINDOW_TITLE).unwrap().as_ptr(), [INFO] [stdout] | ---------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/gui/mod.rs:87:64 [INFO] [stdout] | [INFO] [stdout] 87 | ffi::CString::new("WM_DELETE_WINDOW").unwrap().as_ptr(), [INFO] [stdout] | ---------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/gui/mod.rs:94:60 [INFO] [stdout] | [INFO] [stdout] 94 | ffi::CString::new("WM_PROTOCOLS").unwrap().as_ptr(), [INFO] [stdout] | ------------------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.24s [INFO] running `Command { std: "docker" "inspect" "6a80f5a7a349a33fff8a11b6a281fe584a3c1919a09630d675a74eb3bfea26be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a80f5a7a349a33fff8a11b6a281fe584a3c1919a09630d675a74eb3bfea26be", kill_on_drop: false }` [INFO] [stdout] 6a80f5a7a349a33fff8a11b6a281fe584a3c1919a09630d675a74eb3bfea26be [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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c6a39c402e0abda2c6b1ff4832ea333768ba5b999e20a658cfb691685f9e8c22 [INFO] running `Command { std: "docker" "start" "-a" "c6a39c402e0abda2c6b1ff4832ea333768ba5b999e20a658cfb691685f9e8c22", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling tetroids v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/gui/mod.rs:210:67 [INFO] [stdout] | [INFO] [stdout] 210 | let mut event: xlib::XKeyPressedEvent = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/gui/mod.rs:230:53 [INFO] [stdout] | [INFO] [stdout] 230 | let mut event: xlib::XEvent = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/gui/mod.rs:175:21 [INFO] [stdout] | [INFO] [stdout] 175 | let result = match key { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `square` [INFO] [stdout] --> src/gui/mod.rs:283:25 [INFO] [stdout] | [INFO] [stdout] 283 | if let Some(square) = square { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_square` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game/board.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let mut board = &mut self.data; [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] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/gui/mod.rs:66:54 [INFO] [stdout] | [INFO] [stdout] 66 | ffi::CString::new(WINDOW_TITLE).unwrap().as_ptr(), [INFO] [stdout] | ---------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/gui/mod.rs:87:64 [INFO] [stdout] | [INFO] [stdout] 87 | ffi::CString::new("WM_DELETE_WINDOW").unwrap().as_ptr(), [INFO] [stdout] | ---------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/gui/mod.rs:94:60 [INFO] [stdout] | [INFO] [stdout] 94 | ffi::CString::new("WM_PROTOCOLS").unwrap().as_ptr(), [INFO] [stdout] | ------------------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.52s [INFO] running `Command { std: "docker" "inspect" "c6a39c402e0abda2c6b1ff4832ea333768ba5b999e20a658cfb691685f9e8c22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6a39c402e0abda2c6b1ff4832ea333768ba5b999e20a658cfb691685f9e8c22", kill_on_drop: false }` [INFO] [stdout] c6a39c402e0abda2c6b1ff4832ea333768ba5b999e20a658cfb691685f9e8c22 [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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 087105a38009723c9f7df2173d6935c7dbd23af06757d974c7f111d7a1f9e262 [INFO] running `Command { std: "docker" "start" "-a" "087105a38009723c9f7df2173d6935c7dbd23af06757d974c7f111d7a1f9e262", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/gui/mod.rs:210:67 [INFO] [stderr] | [INFO] [stderr] 210 | let mut event: xlib::XKeyPressedEvent = unsafe { mem::uninitialized() }; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/gui/mod.rs:230:53 [INFO] [stderr] | [INFO] [stderr] 230 | let mut event: xlib::XEvent = unsafe { mem::uninitialized() }; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `result` [INFO] [stderr] --> src/gui/mod.rs:175:21 [INFO] [stderr] | [INFO] [stderr] 175 | let result = match key { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `square` [INFO] [stderr] --> src/gui/mod.rs:283:25 [INFO] [stderr] | [INFO] [stderr] 283 | if let Some(square) = square { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_square` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/game/board.rs:46:13 [INFO] [stderr] | [INFO] [stderr] 46 | let mut board = &mut self.data; [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/gui/mod.rs:66:54 [INFO] [stderr] | [INFO] [stderr] 66 | ffi::CString::new(WINDOW_TITLE).unwrap().as_ptr(), [INFO] [stderr] | ---------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/gui/mod.rs:87:64 [INFO] [stderr] | [INFO] [stderr] 87 | ffi::CString::new("WM_DELETE_WINDOW").unwrap().as_ptr(), [INFO] [stderr] | ---------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] | [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/gui/mod.rs:94:60 [INFO] [stderr] | [INFO] [stderr] 94 | ffi::CString::new("WM_PROTOCOLS").unwrap().as_ptr(), [INFO] [stderr] | ------------------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] | [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: `tetroids` (bin "tetroids" test) generated 8 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.57s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/tetroids-4caca9ce76d453ca) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test game::coord::tests::add_assign_plain ... ok [INFO] [stdout] test game::coord::tests::add_plain ... ok [INFO] [stdout] test game::coord::tests::add_plain_to_ref ... ok [INFO] [stdout] test game::coord::tests::equality ... ok [INFO] [stdout] test game::coord::tests::equality_ref ... ok [INFO] [stdout] test game::coord::tests::sanity ... ok [INFO] [stdout] test game::coord::tests::collect_arr4 ... ok [INFO] [stdout] test game::coord::tests::turn ... ok [INFO] [stdout] test game::piece::tests::do_rotate ... ok [INFO] [stdout] test game::piece::tests::do_translate ... ok [INFO] [stdout] test game::piece::tests::real_locations ... ok [INFO] [stdout] test game::piece::tests::when_rotated ... ok [INFO] [stdout] test game::piece::tests::when_translated ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "087105a38009723c9f7df2173d6935c7dbd23af06757d974c7f111d7a1f9e262", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "087105a38009723c9f7df2173d6935c7dbd23af06757d974c7f111d7a1f9e262", kill_on_drop: false }` [INFO] [stdout] 087105a38009723c9f7df2173d6935c7dbd23af06757d974c7f111d7a1f9e262