[INFO] cloning repository https://github.com/rottencandy/rcomp
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rottencandy/rcomp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frottencandy%2Frcomp", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frottencandy%2Frcomp'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 29d69cf9330161b530c44c5ee8feefe40db371ef
[INFO] checking rottencandy/rcomp against master#568b11762723b001bfa693d0f21c5dad01d4e813 for pr-149518
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frottencandy%2Frcomp" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/rottencandy/rcomp
[INFO] finished tweaking git repo https://github.com/rottencandy/rcomp
[INFO] tweaked toml for git repo https://github.com/rottencandy/rcomp written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/rottencandy/rcomp on toolchain 568b11762723b001bfa693d0f21c5dad01d4e813
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+568b11762723b001bfa693d0f21c5dad01d4e813" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/rottencandy/rcomp 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" "+568b11762723b001bfa693d0f21c5dad01d4e813" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded gl v0.14.0
[INFO] [stderr]   Downloaded xml-rs v0.8.2
[INFO] [stderr]   Downloaded libc v0.2.67
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+568b11762723b001bfa693d0f21c5dad01d4e813" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 05e3c16bd6e1196235c59d7dec2c72589b6ac4b9d2ecce4b0469b365ca8b4f74
[INFO] running `Command { std: "docker" "start" "-a" "05e3c16bd6e1196235c59d7dec2c72589b6ac4b9d2ecce4b0469b365ca8b4f74", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "05e3c16bd6e1196235c59d7dec2c72589b6ac4b9d2ecce4b0469b365ca8b4f74", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "05e3c16bd6e1196235c59d7dec2c72589b6ac4b9d2ecce4b0469b365ca8b4f74", kill_on_drop: false }`
[INFO] [stdout] 05e3c16bd6e1196235c59d7dec2c72589b6ac4b9d2ecce4b0469b365ca8b4f74
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+568b11762723b001bfa693d0f21c5dad01d4e813" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c602b5dedf0ff66f0b65a4dd7c0a8842ea550b7462aaaa505d7033943654b943
[INFO] running `Command { std: "docker" "start" "-a" "c602b5dedf0ff66f0b65a4dd7c0a8842ea550b7462aaaa505d7033943654b943", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.67
[INFO] [stderr]    Compiling xml-rs v0.8.2
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling x11 v2.18.2
[INFO] [stderr]    Compiling xcb v0.9.0
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling gl v0.14.0
[INFO] [stderr]     Checking rcomp v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: associated function `unbind` is never used
[INFO] [stdout]   --> src/backend/opengl/buffer.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl Buffer {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn unbind() {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `unbind` is never used
[INFO] [stdout]   --> src/backend/opengl/buffer.rs:94:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | impl VertexArray {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 94 |     pub fn unbind() {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_gl_error` is never used
[INFO] [stdout]    --> src/backend/opengl/setup.rs:173:15
[INFO] [stdout]     |
[INFO] [stdout] 173 | pub unsafe fn check_gl_error() {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_attrib_location` is never used
[INFO] [stdout]    --> src/backend/opengl/shader.rs:133:12
[INFO] [stdout]     |
[INFO] [stdout]  79 | impl Program {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 133 |     pub fn get_attrib_location(&self, name: &str) -> gl::types::GLint {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `set_active` and `unbind` are never used
[INFO] [stdout]   --> src/backend/opengl/texture.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl Texture {
[INFO] [stdout]    | ------------ associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub fn set_active(i: u32) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn unbind() {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `xcb_screens` and `win_id` are never read
[INFO] [stdout]   --> src/state.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct State {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub xcb_screens: u8,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub win_id: xcb::Window,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `alpha` is never read
[INFO] [stdout]   --> src/window.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub struct Window {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub alpha: bool,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `update_geometry` is never used
[INFO] [stdout]   --> src/window.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl Window {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 61 |     pub fn update_geometry(&mut self, conn: &xcb::Connection) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/backend/opengl.rs:44:24
[INFO] [stdout]    |
[INFO] [stdout] 44 |     pub fn init(state: &State) -> Result<Opengl, &str> {
[INFO] [stdout]    |                        ^^^^^^            ^^^^^^  ^^^^ the same lifetime is elided here
[INFO] [stdout]    |                        |                 |
[INFO] [stdout]    |                        |                 the same lifetime is hidden here
[INFO] [stdout]    |                        the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 44 |     pub fn init(state: &State) -> Result<Opengl<'_>, &str> {
[INFO] [stdout]    |                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a dangling pointer will be produced because the temporary `CString` will be dropped
[INFO] [stdout]    --> src/backend/opengl/shader.rs:134:52
[INFO] [stdout]     |
[INFO] [stdout] 134 |         let name_arr = CString::new(name).unwrap().as_ptr();
[INFO] [stdout]     |                        --------------------------- ^^^^^^ this pointer will immediately 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: you must make sure that the variable you bind the `CString` to lives at least as long as the pointer returned by the call to `as_ptr`
[INFO] [stdout]     = help: in particular, if this pointer is returned from the current function, binding the `CString` inside the function will not suffice
[INFO] [stdout]     = help: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout]     = note: `#[warn(dangling_pointers_from_temporaries)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `unbind` is never used
[INFO] [stdout]   --> src/backend/opengl/buffer.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl Buffer {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn unbind() {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `unbind` is never used
[INFO] [stdout]   --> src/backend/opengl/buffer.rs:94:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | impl VertexArray {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 94 |     pub fn unbind() {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_gl_error` is never used
[INFO] [stdout]    --> src/backend/opengl/setup.rs:173:15
[INFO] [stdout]     |
[INFO] [stdout] 173 | pub unsafe fn check_gl_error() {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_attrib_location` is never used
[INFO] [stdout]    --> src/backend/opengl/shader.rs:133:12
[INFO] [stdout]     |
[INFO] [stdout]  79 | impl Program {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 133 |     pub fn get_attrib_location(&self, name: &str) -> gl::types::GLint {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `set_active` and `unbind` are never used
[INFO] [stdout]   --> src/backend/opengl/texture.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl Texture {
[INFO] [stdout]    | ------------ associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub fn set_active(i: u32) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn unbind() {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `xcb_screens` and `win_id` are never read
[INFO] [stdout]   --> src/state.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct State {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub xcb_screens: u8,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub win_id: xcb::Window,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `alpha` is never read
[INFO] [stdout]   --> src/window.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub struct Window {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub alpha: bool,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `update_geometry` is never used
[INFO] [stdout]   --> src/window.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl Window {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 61 |     pub fn update_geometry(&mut self, conn: &xcb::Connection) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/backend/opengl.rs:44:24
[INFO] [stdout]    |
[INFO] [stdout] 44 |     pub fn init(state: &State) -> Result<Opengl, &str> {
[INFO] [stdout]    |                        ^^^^^^            ^^^^^^  ^^^^ the same lifetime is elided here
[INFO] [stdout]    |                        |                 |
[INFO] [stdout]    |                        |                 the same lifetime is hidden here
[INFO] [stdout]    |                        the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 44 |     pub fn init(state: &State) -> Result<Opengl<'_>, &str> {
[INFO] [stdout]    |                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a dangling pointer will be produced because the temporary `CString` will be dropped
[INFO] [stdout]    --> src/backend/opengl/shader.rs:134:52
[INFO] [stdout]     |
[INFO] [stdout] 134 |         let name_arr = CString::new(name).unwrap().as_ptr();
[INFO] [stdout]     |                        --------------------------- ^^^^^^ this pointer will immediately 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: you must make sure that the variable you bind the `CString` to lives at least as long as the pointer returned by the call to `as_ptr`
[INFO] [stdout]     = help: in particular, if this pointer is returned from the current function, binding the `CString` inside the function will not suffice
[INFO] [stdout]     = help: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout]     = note: `#[warn(dangling_pointers_from_temporaries)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.87s
[INFO] running `Command { std: "docker" "inspect" "c602b5dedf0ff66f0b65a4dd7c0a8842ea550b7462aaaa505d7033943654b943", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c602b5dedf0ff66f0b65a4dd7c0a8842ea550b7462aaaa505d7033943654b943", kill_on_drop: false }`
[INFO] [stdout] c602b5dedf0ff66f0b65a4dd7c0a8842ea550b7462aaaa505d7033943654b943
