[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] checking cp-shen/tiny-renderer-rs against try#8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346 for pr-86194 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcp-shen%2Ftiny-renderer-rs" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cp-shen/tiny-renderer-rs on toolchain 8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346" "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-4/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" "+8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-rational v0.2.2 [INFO] [stderr] Downloaded num-traits v0.2.9 [INFO] [stderr] Downloaded crossbeam-deque v0.7.2 [INFO] [stderr] Downloaded crossbeam-epoch v0.8.0 [INFO] [stderr] Downloaded crossbeam-utils v0.7.0 [INFO] [stderr] Downloaded rayon-core v1.6.0 [INFO] [stderr] Downloaded num-iter v0.1.39 [INFO] [stderr] Downloaded png v0.15.0 [INFO] [stderr] Downloaded memoffset v0.5.3 [INFO] [stderr] Downloaded cgmath v0.17.0 [INFO] [stderr] Downloaded approx v0.3.2 [INFO] [stderr] Downloaded hermit-abi v0.1.3 [INFO] [stderr] Downloaded gif v0.10.3 [INFO] [stderr] Downloaded libc v0.2.65 [INFO] [stderr] Downloaded glfw-sys v3.3.0 [INFO] [stderr] Downloaded tobj v0.1.11 [INFO] [stderr] Downloaded image v0.22.3 [INFO] [stderr] Downloaded rayon v1.2.0 [INFO] [stderr] Downloaded cc v1.0.48 [INFO] [stderr] Downloaded num-integer v0.1.41 [INFO] [stderr] Downloaded num-derive v0.2.5 [INFO] [stderr] Downloaded deflate v0.7.20 [INFO] [stderr] Downloaded num_cpus v1.11.1 [INFO] [stderr] Downloaded jpeg-decoder v0.1.16 [INFO] [stderr] Downloaded tiff v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 580e254a35bac751a49b0c53c8b45d946e3bd77d7b94279fc166696a6c98858b [INFO] running `Command { std: "docker" "start" "-a" "580e254a35bac751a49b0c53c8b45d946e3bd77d7b94279fc166696a6c98858b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "580e254a35bac751a49b0c53c8b45d946e3bd77d7b94279fc166696a6c98858b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "580e254a35bac751a49b0c53c8b45d946e3bd77d7b94279fc166696a6c98858b", kill_on_drop: false }` [INFO] [stdout] 580e254a35bac751a49b0c53c8b45d946e3bd77d7b94279fc166696a6c98858b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 148f498107035afb3db6a338d19b48d15743f5cb7d039fc5d1a810cbe502a8cc [INFO] running `Command { std: "docker" "start" "-a" "148f498107035afb3db6a338d19b48d15743f5cb7d039fc5d1a810cbe502a8cc", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling rayon-core v1.6.0 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Checking tobj v0.1.11 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Compiling glfw-sys v3.3.0 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Compiling num-traits v0.2.9 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking png v0.15.0 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking rayon v1.2.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking glfw v0.34.0 [INFO] [stderr] Checking jpeg-decoder v0.1.16 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking image v0.22.3 [INFO] [stderr] Checking 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: 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: field is never read: `dir` [INFO] [stdout] --> src/appdata/light.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | dir: Vec3, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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] [INFO] [stdout] warning: field is never read: `dir` [INFO] [stdout] --> src/appdata/light.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | dir: Vec3, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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] [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: 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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.56s [INFO] running `Command { std: "docker" "inspect" "148f498107035afb3db6a338d19b48d15743f5cb7d039fc5d1a810cbe502a8cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "148f498107035afb3db6a338d19b48d15743f5cb7d039fc5d1a810cbe502a8cc", kill_on_drop: false }` [INFO] [stdout] 148f498107035afb3db6a338d19b48d15743f5cb7d039fc5d1a810cbe502a8cc