[INFO] cloning repository https://github.com/cp-shen/tiny-renderer-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cp-shen/tiny-renderer-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcp-shen%2Ftiny-renderer-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcp-shen%2Ftiny-renderer-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bb2163cd0e760e32a808390a151057b11a6920a1 [INFO] testing cp-shen/tiny-renderer-rs against try#d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 for pr-86479 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcp-shen%2Ftiny-renderer-rs" "/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/cp-shen/tiny-renderer-rs on toolchain d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cp-shen/tiny-renderer-rs [INFO] finished tweaking git repo https://github.com/cp-shen/tiny-renderer-rs [INFO] tweaked toml for git repo https://github.com/cp-shen/tiny-renderer-rs written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/cp-shen/tiny-renderer-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-traits v0.2.9 [INFO] [stderr] Downloaded image v0.22.3 [INFO] [stderr] Downloaded glfw v0.34.0 [INFO] [stderr] Downloaded glfw-sys v3.3.0 [INFO] [stderr] Downloaded tobj v0.1.11 [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4106323b7de9861c0b7e4068f651b5523012726531c08f240d5f22f495aa0bc3 [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" "4106323b7de9861c0b7e4068f651b5523012726531c08f240d5f22f495aa0bc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4106323b7de9861c0b7e4068f651b5523012726531c08f240d5f22f495aa0bc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4106323b7de9861c0b7e4068f651b5523012726531c08f240d5f22f495aa0bc3", kill_on_drop: false }` [INFO] [stdout] 4106323b7de9861c0b7e4068f651b5523012726531c08f240d5f22f495aa0bc3 [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8d145fdfe17ee0bb3221b2b50d508b50f724ed5ee596512edce8f6afbee27cb [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" "f8d145fdfe17ee0bb3221b2b50d508b50f724ed5ee596512edce8f6afbee27cb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling cc v1.0.48 [INFO] [stderr] Compiling rayon-core v1.6.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling tobj v0.1.11 [INFO] [stderr] Compiling num-traits v0.2.9 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling cmake v0.1.42 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling glfw-sys v3.3.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling png v0.15.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling rayon v1.2.0 [INFO] [stderr] Compiling glfw v0.34.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.16 [INFO] [stderr] Compiling tiff v0.3.1 [INFO] [stderr] Compiling image v0.22.3 [INFO] [stderr] Compiling tiny-renderer-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/macros.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / macro_rules! c_str { [INFO] [stdout] 4 | | ($literal:expr) => { [INFO] [stdout] 5 | | CStr::from_bytes_with_nul_unchecked(concat!($literal, "\0").as_bytes()) [INFO] [stdout] 6 | | }; [INFO] [stdout] 7 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OpenGL` [INFO] [stdout] --> src/backends/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | OpenGL, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/appdata/mesh.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | 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:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/appdata/mesh.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | 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:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/appdata/mesh.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | 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:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/appdata/mesh.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | 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:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/appdata/mesh.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | 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 [unoptimized + debuginfo] target(s) in 30.66s [INFO] running `Command { std: "docker" "inspect" "f8d145fdfe17ee0bb3221b2b50d508b50f724ed5ee596512edce8f6afbee27cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8d145fdfe17ee0bb3221b2b50d508b50f724ed5ee596512edce8f6afbee27cb", kill_on_drop: false }` [INFO] [stdout] f8d145fdfe17ee0bb3221b2b50d508b50f724ed5ee596512edce8f6afbee27cb [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12ebac3356d0036ff48e134c6c9b277a2fc76d8d2b8ab86d9fa26cb1d1beb231 [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" "12ebac3356d0036ff48e134c6c9b277a2fc76d8d2b8ab86d9fa26cb1d1beb231", kill_on_drop: false }` [INFO] [stderr] Compiling tiny-renderer-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/macros.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / macro_rules! c_str { [INFO] [stdout] 4 | | ($literal:expr) => { [INFO] [stdout] 5 | | CStr::from_bytes_with_nul_unchecked(concat!($literal, "\0").as_bytes()) [INFO] [stdout] 6 | | }; [INFO] [stdout] 7 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OpenGL` [INFO] [stdout] --> src/backends/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | OpenGL, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/appdata/mesh.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | 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:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/appdata/mesh.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | 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:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/appdata/mesh.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | 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:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/appdata/mesh.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | 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:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/appdata/mesh.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | 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 test [unoptimized + debuginfo] target(s) in 4.31s [INFO] running `Command { std: "docker" "inspect" "12ebac3356d0036ff48e134c6c9b277a2fc76d8d2b8ab86d9fa26cb1d1beb231", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12ebac3356d0036ff48e134c6c9b277a2fc76d8d2b8ab86d9fa26cb1d1beb231", kill_on_drop: false }` [INFO] [stdout] 12ebac3356d0036ff48e134c6c9b277a2fc76d8d2b8ab86d9fa26cb1d1beb231 [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f8c8f0b9db6f09ce6710c80593af0107dd208d2c6caadd191b81bff6871e210d [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" "f8c8f0b9db6f09ce6710c80593af0107dd208d2c6caadd191b81bff6871e210d", kill_on_drop: false }` [INFO] [stderr] warning: unused macro definition [INFO] [stderr] --> src/macros.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / macro_rules! c_str { [INFO] [stderr] 4 | | ($literal:expr) => { [INFO] [stderr] 5 | | CStr::from_bytes_with_nul_unchecked(concat!($literal, "\0").as_bytes()) [INFO] [stderr] 6 | | }; [INFO] [stderr] 7 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `OpenGL` [INFO] [stderr] --> src/backends/mod.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | OpenGL, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> src/macros.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] | [INFO] [stderr] ::: src/appdata/mesh.rs:164:13 [INFO] [stderr] | [INFO] [stderr] 164 | 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:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] | [INFO] [stderr] ::: src/appdata/mesh.rs:174:13 [INFO] [stderr] | [INFO] [stderr] 174 | 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:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] | [INFO] [stderr] ::: src/appdata/mesh.rs:184:13 [INFO] [stderr] | [INFO] [stderr] 184 | offset_of!(Vertex, TexCoords) 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:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] | [INFO] [stderr] ::: src/appdata/mesh.rs:194:13 [INFO] [stderr] | [INFO] [stderr] 194 | 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:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] | [INFO] [stderr] ::: src/appdata/mesh.rs:204:13 [INFO] [stderr] | [INFO] [stderr] 204 | offset_of!(Vertex, Bitangent) 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: `tiny-renderer-rs` (bin "tiny-renderer-rs" test) generated 7 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/tiny_renderer_rs-4a7a5607f52e3c9a) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test appdata::model::tests::load_model ... ok [INFO] [stdout] test backends::my_gl::tests::draw_human_head ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- backends::my_gl::tests::draw_human_head stdout ---- [INFO] [stdout] thread 'backends::my_gl::tests::draw_human_head' panicked at 'not implemented', src/backends/my_gl.rs:106:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55b1c572f1a0 - std::backtrace_rs::backtrace::libunwind::trace::h99dbb39dca18857d [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x55b1c572f1a0 - std::backtrace_rs::backtrace::trace_unsynchronized::h832861927e9cfedf [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55b1c572f1a0 - std::sys_common::backtrace::_print_fmt::h3d18154c77dcf310 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55b1c572f1a0 - ::fmt::he312f4ad5b9bb346 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55b1c575282c - core::fmt::write::h9a6d9c74526a6c1b [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/fmt/mod.rs:1115:17 [INFO] [stdout] 5: 0x55b1c572bec5 - std::io::Write::write_fmt::h65d36b96410d80d7 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/io/mod.rs:1665:15 [INFO] [stdout] 6: 0x55b1c573131b - std::sys_common::backtrace::_print::h65d996766de40da4 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55b1c573131b - std::sys_common::backtrace::print::h40df9727e635f303 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55b1c573131b - std::panicking::default_hook::{{closure}}::hd2da4327dea91a51 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x55b1c5730e2c - std::panicking::default_hook::h3d55120ad6ada158 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x55b1c57319e4 - std::panicking::rust_panic_with_hook::hf85dd0bb545e3b55 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x55b1c5731497 - std::panicking::begin_panic_handler::{{closure}}::h736ae969434da9fa [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:517:13 [INFO] [stdout] 12: 0x55b1c572f67c - std::sys_common::backtrace::__rust_end_short_backtrace::h6133bb80b1d6c3e0 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x55b1c5731429 - rust_begin_unwind [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x55b1c56ae3b1 - core::panicking::panic_fmt::hcf5f6d96e1dd7099 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x55b1c56ae2fd - core::panicking::panic::hd695e3b1d0dd4ef4 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/panicking.rs:50:5 [INFO] [stdout] 16: 0x55b1c56afbf8 - tiny_renderer_rs::backends::my_gl::draw_tri_world::h3ff5bca2284e0641 [INFO] [stdout] at /opt/rustwide/workdir/src/backends/my_gl.rs:106:5 [INFO] [stdout] 17: 0x55b1c56b089e - tiny_renderer_rs::backends::my_gl::draw_mesh::he690cd9035b27fdc [INFO] [stdout] at /opt/rustwide/workdir/src/backends/my_gl.rs:142:9 [INFO] [stdout] 18: 0x55b1c56b191c - tiny_renderer_rs::backends::my_gl::tests::draw_human_head::h194850a4ecfd463e [INFO] [stdout] at /opt/rustwide/workdir/src/backends/my_gl.rs:169:21 [INFO] [stdout] 19: 0x55b1c56b14da - tiny_renderer_rs::backends::my_gl::tests::draw_human_head::{{closure}}::h5c05627ce5c999a7 [INFO] [stdout] at /opt/rustwide/workdir/src/backends/my_gl.rs:153:5 [INFO] [stdout] 20: 0x55b1c56af56e - core::ops::function::FnOnce::call_once::h9dbf20fc66425fe4 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55b1c56e4e03 - core::ops::function::FnOnce::call_once::h227fa683a5745bd3 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x55b1c56e4e03 - test::__rust_begin_short_backtrace::h3a193bd570ada00a [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/test/src/lib.rs:578:5 [INFO] [stdout] 23: 0x55b1c56e3878 - as core::ops::function::FnOnce>::call_once::h262d2f411717179a [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 24: 0x55b1c56e3878 - as core::ops::function::FnOnce<()>>::call_once::hfec00caec3e52a7b [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panic.rs:347:9 [INFO] [stdout] 25: 0x55b1c56e3878 - std::panicking::try::do_call::ha5f42e76ffda569d [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:401:40 [INFO] [stdout] 26: 0x55b1c56e3878 - std::panicking::try::h53f36df0935b9500 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:365:19 [INFO] [stdout] 27: 0x55b1c56e3878 - std::panic::catch_unwind::h5a497f74b0ce006f [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panic.rs:434:14 [INFO] [stdout] 28: 0x55b1c56e3878 - test::run_test_in_process::hab0aead337f48a88 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/test/src/lib.rs:601:18 [INFO] [stdout] 29: 0x55b1c56e3878 - test::run_test::run_test_inner::{{closure}}::h632c383164d4cba2 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/test/src/lib.rs:493:39 [INFO] [stdout] 30: 0x55b1c56b1ffd - test::run_test::run_test_inner::{{closure}}::h7c4b3612891a4b58 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/test/src/lib.rs:520:37 [INFO] [stdout] 31: 0x55b1c56b1ffd - std::sys_common::backtrace::__rust_begin_short_backtrace::habf7d8a08419d00e [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 32: 0x55b1c56b6728 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h3acba502e2068204 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/thread/mod.rs:476:17 [INFO] [stdout] 33: 0x55b1c56b6728 - as core::ops::function::FnOnce<()>>::call_once::h526ef819c1964a35 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panic.rs:347:9 [INFO] [stdout] 34: 0x55b1c56b6728 - std::panicking::try::do_call::hc0b5663d6373cec8 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:401:40 [INFO] [stdout] 35: 0x55b1c56b6728 - std::panicking::try::ha9007ede9d35dcd6 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:365:19 [INFO] [stdout] 36: 0x55b1c56b6728 - std::panic::catch_unwind::hf60d56329ebbb81c [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panic.rs:434:14 [INFO] [stdout] 37: 0x55b1c56b6728 - std::thread::Builder::spawn_unchecked::{{closure}}::hb1722d498f4ce777 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/thread/mod.rs:475:30 [INFO] [stdout] 38: 0x55b1c56b6728 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h15eb01325730c962 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x55b1c5736587 - as core::ops::function::FnOnce>::call_once::h09f167e08fc945ff [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 40: 0x55b1c5736587 - as core::ops::function::FnOnce>::call_once::hf814fe85eeb118e0 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 41: 0x55b1c5736587 - std::sys::unix::thread::Thread::new::thread_start::hb71b17934c5f5e68 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys/unix/thread.rs:91:17 [INFO] [stdout] 42: 0x7ffbdf0af609 - start_thread [INFO] [stdout] 43: 0x7ffbdee7f293 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] backends::my_gl::tests::draw_human_head [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin tiny-renderer-rs' [INFO] running `Command { std: "docker" "inspect" "f8c8f0b9db6f09ce6710c80593af0107dd208d2c6caadd191b81bff6871e210d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8c8f0b9db6f09ce6710c80593af0107dd208d2c6caadd191b81bff6871e210d", kill_on_drop: false }` [INFO] [stdout] f8c8f0b9db6f09ce6710c80593af0107dd208d2c6caadd191b81bff6871e210d