[INFO] cloning repository https://github.com/bwasty/gltf-viewer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bwasty/gltf-viewer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbwasty%2Fgltf-viewer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbwasty%2Fgltf-viewer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1cb99cb51c04ddf7af3f2b4488757f6f4f498787 [INFO] testing bwasty/gltf-viewer against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbwasty%2Fgltf-viewer" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bwasty/gltf-viewer on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bwasty/gltf-viewer [INFO] finished tweaking git repo https://github.com/bwasty/gltf-viewer [INFO] tweaked toml for git repo https://github.com/bwasty/gltf-viewer written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/bwasty/gltf-viewer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1c960be6397080e66ea114acf33dbcfb6ecc49f93688bf67333b34f72fd3d2a [INFO] running `Command { std: "docker" "start" "-a" "d1c960be6397080e66ea114acf33dbcfb6ecc49f93688bf67333b34f72fd3d2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1c960be6397080e66ea114acf33dbcfb6ecc49f93688bf67333b34f72fd3d2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1c960be6397080e66ea114acf33dbcfb6ecc49f93688bf67333b34f72fd3d2a", kill_on_drop: false }` [INFO] [stdout] d1c960be6397080e66ea114acf33dbcfb6ecc49f93688bf67333b34f72fd3d2a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 62616cfe222e5dcf0a59257d528d99d62153580caf05050d1c521af2351cde1d [INFO] running `Command { std: "docker" "start" "-a" "62616cfe222e5dcf0a59257d528d99d62153580caf05050d1c521af2351cde1d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.48 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling proc-macro2 v0.4.26 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling cc v1.0.28 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling serde v1.0.85 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling downcast-rs v1.0.3 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Compiling num-derive v0.2.4 [INFO] [stderr] Compiling nix v0.11.0 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Compiling inflections v1.1.1 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling safe-transmute v0.10.1 [INFO] [stderr] Compiling bit-vec v0.5.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling inflate v0.4.4 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling gif v0.10.1 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling deflate v0.7.19 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling term v0.5.1 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling smallvec v0.6.8 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling bit-set v0.5.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling wayland-scanner v0.20.12 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling png v0.14.0 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling num_cpus v1.9.0 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling memmap v0.6.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling wayland-sys v0.20.12 [INFO] [stderr] Compiling wayland-commons v0.20.12 [INFO] [stderr] Compiling glutin v0.18.0 [INFO] [stderr] Compiling wayland-client v0.20.12 [INFO] [stderr] Compiling wayland-protocols v0.20.12 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling simplelog v0.7.4 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling jpeg-decoder v0.1.15 [INFO] [stderr] Compiling gltf-derive v0.15.0 [INFO] [stderr] Compiling serde_derive v1.0.85 [INFO] [stderr] Compiling smithay-client-toolkit v0.3.0 [INFO] [stderr] Compiling winit v0.17.2 [INFO] [stderr] Compiling tiff v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.37 [INFO] [stderr] Compiling gltf-json v0.15.0 [INFO] [stderr] Compiling image v0.21.0 [INFO] [stderr] Compiling collision v0.20.1 [INFO] [stderr] Compiling gltf v0.15.0 [INFO] [stderr] Compiling gltf-viewer v0.4.2-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/render/texture.rs:50:33 [INFO] [stdout] | [INFO] [stdout] 50 | _ => panic!(format!("unsupported image type (image: {}, mime_type: {})", [INFO] [stdout] | _________________________________^ [INFO] [stdout] 51 | | g_img.index(), mime_type)), [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 50 | _ => panic!("unsupported image type (image: {}, mime_type: {})", [INFO] [stdout] 51 | g_img.index(), mime_type), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/render/texture.rs:72:37 [INFO] [stdout] | [INFO] [stdout] 72 | _ => panic!(format!("unsupported image type (image: {}, mime_type: {})", [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 73 | | g_img.index(), mime_type)), [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 72 | _ => panic!("unsupported image type (image: {}, mime_type: {})", [INFO] [stdout] 73 | g_img.index(), mime_type), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/render/texture.rs:83:37 [INFO] [stdout] | [INFO] [stdout] 83 | _ => panic!(format!("unsupported image type (image: {}, mime_type: {})", [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 84 | | g_img.index(), mime_type)), [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 83 | _ => panic!("unsupported image type (image: {}, mime_type: {})", [INFO] [stdout] 84 | g_img.index(), mime_type), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/primitive.rs:387:67 [INFO] [stdout] | [INFO] [stdout] 387 | 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:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/primitive.rs:390:67 [INFO] [stdout] | [INFO] [stdout] 390 | 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:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/primitive.rs:393:67 [INFO] [stdout] | [INFO] [stdout] 393 | gl::VertexAttribPointer(2, 4, 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:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/primitive.rs:396:67 [INFO] [stdout] | [INFO] [stdout] 396 | gl::VertexAttribPointer(3, 2, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, tex_coord_0) 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:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/primitive.rs:399:67 [INFO] [stdout] | [INFO] [stdout] 399 | gl::VertexAttribPointer(4, 2, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, tex_coord_1) 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:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/primitive.rs:402:67 [INFO] [stdout] | [INFO] [stdout] 402 | gl::VertexAttribPointer(5, 4, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, color_0) 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:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/primitive.rs:406:76 [INFO] [stdout] | [INFO] [stdout] 406 | gl::VertexAttribPointer(6, 4, gl::UNSIGNED_SHORT, gl::FALSE, size, offset_of!(Vertex, joints_0) 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:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/primitive.rs:409:67 [INFO] [stdout] | [INFO] [stdout] 409 | gl::VertexAttribPointer(7, 4, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, weights_0) 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: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 19s [INFO] running `Command { std: "docker" "inspect" "62616cfe222e5dcf0a59257d528d99d62153580caf05050d1c521af2351cde1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62616cfe222e5dcf0a59257d528d99d62153580caf05050d1c521af2351cde1d", kill_on_drop: false }` [INFO] [stdout] 62616cfe222e5dcf0a59257d528d99d62153580caf05050d1c521af2351cde1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 886e6122607b394d7ed945d7847d1a4e4fe1d74421366a606b5897d2b3ad27e6 [INFO] running `Command { std: "docker" "start" "-a" "886e6122607b394d7ed945d7847d1a4e4fe1d74421366a606b5897d2b3ad27e6", kill_on_drop: false }` [INFO] [stderr] Compiling gltf-viewer v0.4.2-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/render/texture.rs:50:33 [INFO] [stdout] | [INFO] [stdout] 50 | _ => panic!(format!("unsupported image type (image: {}, mime_type: {})", [INFO] [stdout] | _________________________________^ [INFO] [stdout] 51 | | g_img.index(), mime_type)), [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 50 | _ => panic!("unsupported image type (image: {}, mime_type: {})", [INFO] [stdout] 51 | g_img.index(), mime_type), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/render/texture.rs:72:37 [INFO] [stdout] | [INFO] [stdout] 72 | _ => panic!(format!("unsupported image type (image: {}, mime_type: {})", [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 73 | | g_img.index(), mime_type)), [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 72 | _ => panic!("unsupported image type (image: {}, mime_type: {})", [INFO] [stdout] 73 | g_img.index(), mime_type), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/render/texture.rs:83:37 [INFO] [stdout] | [INFO] [stdout] 83 | _ => panic!(format!("unsupported image type (image: {}, mime_type: {})", [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 84 | | g_img.index(), mime_type)), [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 83 | _ => panic!("unsupported image type (image: {}, mime_type: {})", [INFO] [stdout] 84 | g_img.index(), mime_type), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/primitive.rs:387:67 [INFO] [stdout] | [INFO] [stdout] 387 | 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:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/primitive.rs:390:67 [INFO] [stdout] | [INFO] [stdout] 390 | 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:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/primitive.rs:393:67 [INFO] [stdout] | [INFO] [stdout] 393 | gl::VertexAttribPointer(2, 4, 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:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/primitive.rs:396:67 [INFO] [stdout] | [INFO] [stdout] 396 | gl::VertexAttribPointer(3, 2, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, tex_coord_0) 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:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/primitive.rs:399:67 [INFO] [stdout] | [INFO] [stdout] 399 | gl::VertexAttribPointer(4, 2, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, tex_coord_1) 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:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/primitive.rs:402:67 [INFO] [stdout] | [INFO] [stdout] 402 | gl::VertexAttribPointer(5, 4, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, color_0) 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:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/primitive.rs:406:76 [INFO] [stdout] | [INFO] [stdout] 406 | gl::VertexAttribPointer(6, 4, gl::UNSIGNED_SHORT, gl::FALSE, size, offset_of!(Vertex, joints_0) 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:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/primitive.rs:409:67 [INFO] [stdout] | [INFO] [stdout] 409 | gl::VertexAttribPointer(7, 4, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, weights_0) 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: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.50s [INFO] running `Command { std: "docker" "inspect" "886e6122607b394d7ed945d7847d1a4e4fe1d74421366a606b5897d2b3ad27e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "886e6122607b394d7ed945d7847d1a4e4fe1d74421366a606b5897d2b3ad27e6", kill_on_drop: false }` [INFO] [stdout] 886e6122607b394d7ed945d7847d1a4e4fe1d74421366a606b5897d2b3ad27e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 089cd2c59dbefe7fd220e147138fc571e4d0e99eaf1d90d5edcbbe65afa70ff6 [INFO] running `Command { std: "docker" "start" "-a" "089cd2c59dbefe7fd220e147138fc571e4d0e99eaf1d90d5edcbbe65afa70ff6", kill_on_drop: false }` [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/render/texture.rs:50:33 [INFO] [stderr] | [INFO] [stderr] 50 | _ => panic!(format!("unsupported image type (image: {}, mime_type: {})", [INFO] [stderr] | _________________________________^ [INFO] [stderr] 51 | | g_img.index(), mime_type)), [INFO] [stderr] | |_________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 50 | _ => panic!("unsupported image type (image: {}, mime_type: {})", [INFO] [stderr] 51 | g_img.index(), mime_type), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/render/texture.rs:72:37 [INFO] [stderr] | [INFO] [stderr] 72 | _ => panic!(format!("unsupported image type (image: {}, mime_type: {})", [INFO] [stderr] | _____________________________________^ [INFO] [stderr] 73 | | g_img.index(), mime_type)), [INFO] [stderr] | |_____________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 72 | _ => panic!("unsupported image type (image: {}, mime_type: {})", [INFO] [stderr] 73 | g_img.index(), mime_type), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/render/texture.rs:83:37 [INFO] [stderr] | [INFO] [stderr] 83 | _ => panic!(format!("unsupported image type (image: {}, mime_type: {})", [INFO] [stderr] | _____________________________________^ [INFO] [stderr] 84 | | g_img.index(), mime_type)), [INFO] [stderr] | |_____________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 83 | _ => panic!("unsupported image type (image: {}, mime_type: {})", [INFO] [stderr] 84 | g_img.index(), mime_type), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> src/macros.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] | [INFO] [stderr] ::: src/render/primitive.rs:387:67 [INFO] [stderr] | [INFO] [stderr] 387 | gl::VertexAttribPointer(0, 3, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, position) as *const c_void); [INFO] [stderr] | ---------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stderr] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> src/macros.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] | [INFO] [stderr] ::: src/render/primitive.rs:390:67 [INFO] [stderr] | [INFO] [stderr] 390 | gl::VertexAttribPointer(1, 3, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, normal) as *const c_void); [INFO] [stderr] | -------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> src/macros.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] | [INFO] [stderr] ::: src/render/primitive.rs:393:67 [INFO] [stderr] | [INFO] [stderr] 393 | gl::VertexAttribPointer(2, 4, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, tangent) as *const c_void); [INFO] [stderr] | --------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> src/macros.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] | [INFO] [stderr] ::: src/render/primitive.rs:396:67 [INFO] [stderr] | [INFO] [stderr] 396 | gl::VertexAttribPointer(3, 2, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, tex_coord_0) as *const c_void); [INFO] [stderr] | ------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> src/macros.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] | [INFO] [stderr] ::: src/render/primitive.rs:399:67 [INFO] [stderr] | [INFO] [stderr] 399 | gl::VertexAttribPointer(4, 2, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, tex_coord_1) as *const c_void); [INFO] [stderr] | ------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> src/macros.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] | [INFO] [stderr] ::: src/render/primitive.rs:402:67 [INFO] [stderr] | [INFO] [stderr] 402 | gl::VertexAttribPointer(5, 4, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, color_0) as *const c_void); [INFO] [stderr] | --------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> src/macros.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] | [INFO] [stderr] ::: src/render/primitive.rs:406:76 [INFO] [stderr] | [INFO] [stderr] 406 | gl::VertexAttribPointer(6, 4, gl::UNSIGNED_SHORT, gl::FALSE, size, offset_of!(Vertex, joints_0) as *const c_void); [INFO] [stderr] | ---------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> src/macros.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] | [INFO] [stderr] ::: src/render/primitive.rs:409:67 [INFO] [stderr] | [INFO] [stderr] 409 | gl::VertexAttribPointer(7, 4, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, weights_0) as *const c_void); [INFO] [stderr] | ----------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 11 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/gltf_viewer-7f8f47657c4de60c) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::print_struct_sizes ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "089cd2c59dbefe7fd220e147138fc571e4d0e99eaf1d90d5edcbbe65afa70ff6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "089cd2c59dbefe7fd220e147138fc571e4d0e99eaf1d90d5edcbbe65afa70ff6", kill_on_drop: false }` [INFO] [stdout] 089cd2c59dbefe7fd220e147138fc571e4d0e99eaf1d90d5edcbbe65afa70ff6