[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#24139cf844095e574708faf406034dc78cb39143 for pr-149518-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frottencandy%2Frcomp" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-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-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/rottencandy/rcomp on toolchain 24139cf844095e574708faf406034dc78cb39143
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+24139cf844095e574708faf406034dc78cb39143" "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" "+24139cf844095e574708faf406034dc78cb39143" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded pkg-config v0.3.17
[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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+24139cf844095e574708faf406034dc78cb39143" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8cb5771dcdafb551f8415d6fb8f2d19f81a00f620af1f6891f4d5cc9bf7d7687
[INFO] running `Command { std: "docker" "start" "-a" "8cb5771dcdafb551f8415d6fb8f2d19f81a00f620af1f6891f4d5cc9bf7d7687", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8cb5771dcdafb551f8415d6fb8f2d19f81a00f620af1f6891f4d5cc9bf7d7687", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8cb5771dcdafb551f8415d6fb8f2d19f81a00f620af1f6891f4d5cc9bf7d7687", kill_on_drop: false }`
[INFO] [stdout] 8cb5771dcdafb551f8415d6fb8f2d19f81a00f620af1f6891f4d5cc9bf7d7687
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+24139cf844095e574708faf406034dc78cb39143" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 13a8669a730a81f9169f388dd19d3cc37554a7a5b9adc74716472895b8cacd26
[INFO] running `Command { std: "docker" "start" "-a" "13a8669a730a81f9169f388dd19d3cc37554a7a5b9adc74716472895b8cacd26", kill_on_drop: false }`
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling libc v0.2.67
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling xml-rs v0.8.2
[INFO] [stderr]    Compiling pkg-config v0.3.17
[INFO] [stderr]    Compiling x11 v2.18.2
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling xcb v0.9.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: 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: this creates a dangling pointer because temporary `CString` is dropped at end of statement
[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]     |                        --------------------------- ^^^^^^ pointer created here
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        this `CString` is dropped at end of statement
[INFO] [stdout]     |
[INFO] [stdout]     = help: bind the `CString` to a variable such that it outlives the pointer returned by `as_ptr`
[INFO] [stdout]     = note: a dangling pointer is safe, but dereferencing one is undefined behavior
[INFO] [stdout]     = note: returning a pointer to a local variable will always result in a dangling pointer
[INFO] [stdout]     = note: 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: this creates a dangling pointer because temporary `CString` is dropped at end of statement
[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]     |                        --------------------------- ^^^^^^ pointer created here
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        this `CString` is dropped at end of statement
[INFO] [stdout]     |
[INFO] [stdout]     = help: bind the `CString` to a variable such that it outlives the pointer returned by `as_ptr`
[INFO] [stdout]     = note: a dangling pointer is safe, but dereferencing one is undefined behavior
[INFO] [stdout]     = note: returning a pointer to a local variable will always result in a dangling pointer
[INFO] [stdout]     = note: 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 14.76s
[INFO] running `Command { std: "docker" "inspect" "13a8669a730a81f9169f388dd19d3cc37554a7a5b9adc74716472895b8cacd26", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "13a8669a730a81f9169f388dd19d3cc37554a7a5b9adc74716472895b8cacd26", kill_on_drop: false }`
[INFO] [stdout] 13a8669a730a81f9169f388dd19d3cc37554a7a5b9adc74716472895b8cacd26
