[INFO] fetching crate gl-lite 0.1.2... [INFO] checking gl-lite-0.1.2 against master#c919f490bbcd2b29b74016101f7ec71aaa24bdbb for pr-79073 [INFO] extracting crate gl-lite 0.1.2 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate gl-lite 0.1.2 on toolchain c919f490bbcd2b29b74016101f7ec71aaa24bdbb [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate gl-lite 0.1.2 [INFO] finished tweaking crates.io crate gl-lite 0.1.2 [INFO] tweaked toml for crates.io crate gl-lite 0.1.2 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file found to be present in multiple build targets: /workspace/builds/worker-8/source/examples/demo/main.rs [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e1d50e842a6112fbe1252d4bc615833009a0410f88f742f9d0f762e70d467830 [INFO] running `Command { std: "docker" "start" "-a" "e1d50e842a6112fbe1252d4bc615833009a0410f88f742f9d0f762e70d467830", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1d50e842a6112fbe1252d4bc615833009a0410f88f742f9d0f762e70d467830", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1d50e842a6112fbe1252d4bc615833009a0410f88f742f9d0f762e70d467830", kill_on_drop: false }` [INFO] [stdout] e1d50e842a6112fbe1252d4bc615833009a0410f88f742f9d0f762e70d467830 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b34a5ec153eb5ff37977b7847d8ded82243977d1cb3d83d65d6782f72cdf97f0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b34a5ec153eb5ff37977b7847d8ded82243977d1cb3d83d65d6782f72cdf97f0", kill_on_drop: false }` [INFO] [stderr] warning: file found to be present in multiple build targets: /opt/rustwide/workdir/examples/demo/main.rs [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking x11-dl v2.18.5 [INFO] [stderr] Checking libloading v0.5.2 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking glutin_glx_sys v0.1.7 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Checking wayland-client v0.21.13 [INFO] [stderr] Checking wayland-protocols v0.21.13 [INFO] [stderr] Checking smithay-client-toolkit v0.4.6 [INFO] [stderr] Checking winit v0.19.5 [INFO] [stderr] Checking glutin v0.20.1 [INFO] [stderr] Checking gl-lite v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/geometry.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | if let Some(index) = self.index { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/native/mod.rs:230:101 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn vertex_attrib_pointer(location: u32, size: i32, gl_type: u32, normalized: bool, stride: i32, offset: i32) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/geometry.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | if let Some(index) = self.index { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/native/mod.rs:230:101 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn vertex_attrib_pointer(location: u32, size: i32, gl_type: u32, normalized: bool, stride: i32, offset: i32) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `stride` [INFO] [stdout] --> src/geometry.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | stride: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `width` [INFO] [stdout] --> src/texture.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | width: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `height` [INFO] [stdout] --> src/texture.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | height: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/native/mod.rs:109:35 [INFO] [stdout] | [INFO] [stdout] 109 | CString::new(name).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/native/mod.rs:142:35 [INFO] [stdout] | [INFO] [stdout] 142 | CString::new(name).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: field is never read: `stride` [INFO] [stdout] --> src/geometry.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | stride: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `width` [INFO] [stdout] --> src/texture.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | width: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `height` [INFO] [stdout] --> src/texture.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | height: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/native/mod.rs:109:35 [INFO] [stdout] | [INFO] [stdout] 109 | CString::new(name).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/native/mod.rs:142:35 [INFO] [stdout] | [INFO] [stdout] 142 | CString::new(name).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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 18.55s [INFO] running `Command { std: "docker" "inspect" "b34a5ec153eb5ff37977b7847d8ded82243977d1cb3d83d65d6782f72cdf97f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b34a5ec153eb5ff37977b7847d8ded82243977d1cb3d83d65d6782f72cdf97f0", kill_on_drop: false }` [INFO] [stdout] b34a5ec153eb5ff37977b7847d8ded82243977d1cb3d83d65d6782f72cdf97f0