[INFO] cloning repository https://github.com/Max-E/rust-gl-python-gtk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Max-E/rust-gl-python-gtk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMax-E%2Frust-gl-python-gtk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMax-E%2Frust-gl-python-gtk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f431dd142f04069276f6553e0440c9e7b3ae2c94 [INFO] checking Max-E/rust-gl-python-gtk against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMax-E%2Frust-gl-python-gtk" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Max-E/rust-gl-python-gtk on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Max-E/rust-gl-python-gtk [INFO] finished tweaking git repo https://github.com/Max-E/rust-gl-python-gtk [INFO] tweaked toml for git repo https://github.com/Max-E/rust-gl-python-gtk written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/Max-E/rust-gl-python-gtk already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded deflate v0.7.15 [INFO] [stderr] Downloaded tobj v0.1.6 [INFO] [stderr] Downloaded scoped_threadpool v0.1.7 [INFO] [stderr] Downloaded png v0.8.0 [INFO] [stderr] Downloaded image v0.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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] d88d6e67d9d7562acf1a07ca201ff39dc58bb001cbb3463fc8754bd93ddd6eb2 [INFO] running `Command { std: "docker" "start" "-a" "d88d6e67d9d7562acf1a07ca201ff39dc58bb001cbb3463fc8754bd93ddd6eb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d88d6e67d9d7562acf1a07ca201ff39dc58bb001cbb3463fc8754bd93ddd6eb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d88d6e67d9d7562acf1a07ca201ff39dc58bb001cbb3463fc8754bd93ddd6eb2", kill_on_drop: false }` [INFO] [stdout] d88d6e67d9d7562acf1a07ca201ff39dc58bb001cbb3463fc8754bd93ddd6eb2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] 6b37e42c52acd8b2369a5bbf6f8540bb243877f2d7dcb8c1fcd90b83f6cb32a2 [INFO] running `Command { std: "docker" "start" "-a" "6b37e42c52acd8b2369a5bbf6f8540bb243877f2d7dcb8c1fcd90b83f6cb32a2", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking libc v0.2.29 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Checking either v1.1.0 [INFO] [stderr] Checking scopeguard v0.3.2 [INFO] [stderr] Compiling rayon-core v1.2.1 [INFO] [stderr] Checking byteorder v1.1.0 [INFO] [stderr] Checking futures v0.1.14 [INFO] [stderr] Compiling log v0.3.8 [INFO] [stderr] Checking adler32 v1.0.0 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Checking scoped_threadpool v0.1.7 [INFO] [stderr] Checking tobj v0.1.6 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Checking gif v0.9.2 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking num-rational v0.1.39 [INFO] [stderr] Compiling xml-rs v0.6.1 [INFO] [stderr] Checking coco v0.1.1 [INFO] [stderr] Checking deflate v0.7.15 [INFO] [stderr] Checking rand v0.3.16 [INFO] [stderr] Checking num_cpus v1.6.2 [INFO] [stderr] Compiling gl_generator v0.5.5 [INFO] [stderr] Checking png v0.8.0 [INFO] [stderr] Checking cgmath v0.14.1 [INFO] [stderr] Checking rayon v0.8.2 [INFO] [stderr] Compiling gl v0.6.3 [INFO] [stderr] Checking jpeg-decoder v0.1.13 [INFO] [stderr] Checking image v0.14.0 [INFO] [stderr] Checking rust-gl-python-gtk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / lazy_static! { [INFO] [stdout] 45 | | static ref tabs: Mutex> = { [INFO] [stdout] 46 | | Mutex::new(HashMap::new()) [INFO] [stdout] 47 | | }; [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / lazy_static! { [INFO] [stdout] 45 | | static ref tabs: Mutex> = { [INFO] [stdout] 46 | | Mutex::new(HashMap::new()) [INFO] [stdout] 47 | | }; [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/lib.rs:71:89 [INFO] [stdout] | [INFO] [stdout] 71 | gl::load_with(|symbol| libc::dlsym (handle, ffi::CString::new (symbol).unwrap().as_ptr()) as *const _); [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: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/mesh.rs:146:67 [INFO] [stdout] | [INFO] [stdout] 146 | gl::VertexAttribPointer(0, 3, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, Position) as *const c_void); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/mesh.rs:149:67 [INFO] [stdout] | [INFO] [stdout] 149 | gl::VertexAttribPointer(1, 3, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, Normal) as *const c_void); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/mesh.rs:152:67 [INFO] [stdout] | [INFO] [stdout] 152 | gl::VertexAttribPointer(2, 2, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, TexCoords) as *const c_void); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/mesh.rs:155:67 [INFO] [stdout] | [INFO] [stdout] 155 | gl::VertexAttribPointer(3, 3, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, Tangent) as *const c_void); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/mesh.rs:158:67 [INFO] [stdout] | [INFO] [stdout] 158 | gl::VertexAttribPointer(4, 3, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, Bitangent) as *const c_void); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/lib.rs:71:89 [INFO] [stdout] | [INFO] [stdout] 71 | gl::load_with(|symbol| libc::dlsym (handle, ffi::CString::new (symbol).unwrap().as_ptr()) as *const _); [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: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/mesh.rs:146:67 [INFO] [stdout] | [INFO] [stdout] 146 | gl::VertexAttribPointer(0, 3, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, Position) as *const c_void); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/mesh.rs:149:67 [INFO] [stdout] | [INFO] [stdout] 149 | gl::VertexAttribPointer(1, 3, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, Normal) as *const c_void); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/mesh.rs:152:67 [INFO] [stdout] | [INFO] [stdout] 152 | gl::VertexAttribPointer(2, 2, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, TexCoords) as *const c_void); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/mesh.rs:155:67 [INFO] [stdout] | [INFO] [stdout] 155 | gl::VertexAttribPointer(3, 3, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, Tangent) as *const c_void); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/mesh.rs:158:67 [INFO] [stdout] | [INFO] [stdout] 158 | gl::VertexAttribPointer(4, 3, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, Bitangent) as *const c_void); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [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 15.65s [INFO] running `Command { std: "docker" "inspect" "6b37e42c52acd8b2369a5bbf6f8540bb243877f2d7dcb8c1fcd90b83f6cb32a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b37e42c52acd8b2369a5bbf6f8540bb243877f2d7dcb8c1fcd90b83f6cb32a2", kill_on_drop: false }` [INFO] [stdout] 6b37e42c52acd8b2369a5bbf6f8540bb243877f2d7dcb8c1fcd90b83f6cb32a2