[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/f431dd142f04069276f6553e0440c9e7b3ae2c94 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMax-E%2Frust-gl-python-gtk" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Max-E/rust-gl-python-gtk on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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-3-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tobj v0.1.6 [INFO] [stderr] Downloaded num-iter v0.1.34 [INFO] [stderr] Downloaded inflate v0.2.0 [INFO] [stderr] Downloaded png v0.8.0 [INFO] [stderr] Downloaded adler32 v1.0.0 [INFO] [stderr] Downloaded gl v0.6.3 [INFO] [stderr] Downloaded scopeguard v0.3.2 [INFO] [stderr] Downloaded num-integer v0.1.35 [INFO] [stderr] Downloaded gl_generator v0.5.5 [INFO] [stderr] Downloaded num-rational v0.1.39 [INFO] [stderr] Downloaded byteorder v1.1.0 [INFO] [stderr] Downloaded cgmath v0.14.1 [INFO] [stderr] Downloaded rayon-core v1.2.1 [INFO] [stderr] Downloaded image v0.14.0 [INFO] [stderr] Downloaded libc v0.2.29 [INFO] [stderr] Downloaded coco v0.1.1 [INFO] [stderr] Downloaded futures v0.1.14 [INFO] [stderr] Downloaded deflate v0.7.15 [INFO] [stderr] Downloaded num-traits v0.1.40 [INFO] [stderr] Downloaded khronos_api v1.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f814ea221101a101e2a582ed1da9ab09e46a68948abbde38bb64788998b44d84 [INFO] running `Command { std: "docker" "start" "-a" "f814ea221101a101e2a582ed1da9ab09e46a68948abbde38bb64788998b44d84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f814ea221101a101e2a582ed1da9ab09e46a68948abbde38bb64788998b44d84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f814ea221101a101e2a582ed1da9ab09e46a68948abbde38bb64788998b44d84", kill_on_drop: false }` [INFO] [stdout] f814ea221101a101e2a582ed1da9ab09e46a68948abbde38bb64788998b44d84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e9e821df2fa99848b55dbb4a61a5b22f95c58f455d96065d0ff098055646707 [INFO] running `Command { std: "docker" "start" "-a" "3e9e821df2fa99848b55dbb4a61a5b22f95c58f455d96065d0ff098055646707", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking num-traits v0.1.40 [INFO] [stderr] Checking libc v0.2.29 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Checking scopeguard v0.3.2 [INFO] [stderr] Checking either v1.1.0 [INFO] [stderr] Compiling rayon-core v1.2.1 [INFO] [stderr] Checking futures v0.1.14 [INFO] [stderr] Checking lazy_static v0.2.8 [INFO] [stderr] Compiling khronos_api v1.0.1 [INFO] [stderr] Compiling xml-rs v0.6.1 [INFO] [stderr] Checking byteorder v1.1.0 [INFO] [stderr] Compiling log v0.3.8 [INFO] [stderr] Checking coco v0.1.1 [INFO] [stderr] Checking adler32 v1.0.0 [INFO] [stderr] Checking rand v0.3.16 [INFO] [stderr] Checking num_cpus v1.6.2 [INFO] [stderr] Checking inflate v0.2.0 [INFO] [stderr] Checking deflate v0.7.15 [INFO] [stderr] Checking color_quant v1.0.0 [INFO] [stderr] Checking num-integer v0.1.35 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Checking gif v0.9.2 [INFO] [stderr] Checking scoped_threadpool v0.1.7 [INFO] [stderr] Checking num-iter v0.1.34 [INFO] [stderr] Checking num-rational v0.1.39 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Checking tobj v0.1.6 [INFO] [stderr] Checking cgmath v0.14.1 [INFO] [stderr] Compiling gl_generator v0.5.5 [INFO] [stderr] Checking png v0.8.0 [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 `Once::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` which comes from the expansion of the macro `lazy_static` (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 `Once::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` which comes from the expansion of the macro `lazy_static` (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: 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] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [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: 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: 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] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.77s [INFO] running `Command { std: "docker" "inspect" "3e9e821df2fa99848b55dbb4a61a5b22f95c58f455d96065d0ff098055646707", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e9e821df2fa99848b55dbb4a61a5b22f95c58f455d96065d0ff098055646707", kill_on_drop: false }` [INFO] [stdout] 3e9e821df2fa99848b55dbb4a61a5b22f95c58f455d96065d0ff098055646707