[INFO] updating cached repository doup/soft_render [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/doup/soft_render [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/doup/soft_render" "work/ex/beta-1.38-1/sources/1.37.0/gh/doup/soft_render"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/doup/soft_render'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/doup/soft_render" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/doup/soft_render"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/doup/soft_render'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 057864c1b3af89700138cb5ecfd6893b2d4148bb [INFO] sha for GitHub repo doup/soft_render: 057864c1b3af89700138cb5ecfd6893b2d4148bb [INFO] validating manifest of doup/soft_render on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of doup/soft_render on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing doup/soft_render [INFO] finished frobbing doup/soft_render [INFO] frobbed toml for doup/soft_render written to work/ex/beta-1.38-1/sources/1.37.0/gh/doup/soft_render/Cargo.toml [INFO] started frobbing doup/soft_render [INFO] finished frobbing doup/soft_render [INFO] frobbed toml for doup/soft_render written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/doup/soft_render/Cargo.toml [INFO] crate doup/soft_render already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing doup/soft_render against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-2/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/doup/soft_render:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 2f055c0c666a88543b09b63a4f7c306eab02d0aa4f56483f3efe9e160791eb3a [INFO] running `"docker" "start" "-a" "2f055c0c666a88543b09b63a4f7c306eab02d0aa4f56483f3efe9e160791eb3a"` [INFO] [stderr] Compiling sdl2-sys v0.30.0 [INFO] [stderr] Compiling c_vec v1.0.12 [INFO] [stderr] Compiling inflate v0.3.4 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling cgmath v0.15.0 [INFO] [stderr] Compiling sdl2 v0.30.0 [INFO] [stderr] Compiling png v0.11.0 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling jpeg-decoder v0.1.15 [INFO] [stderr] Compiling image v0.17.0 [INFO] [stderr] Compiling soft_render v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused import: `cgmath::SquareMatrix` [INFO] [stderr] --> src/main.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use cgmath::SquareMatrix; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:83:99 [INFO] [stderr] | [INFO] [stderr] 83 | fn triangle(canvas: &WindowCanvas, tri: &Triangle, tri_screen: &[Vector2; 3], pixel_shader: &PixelShader, zbuffer: &mut [f64; SCREEN_BUFFER]) { [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn PixelShader` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(bare_trait_objects)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `u` [INFO] [stderr] --> src/main.rs:128:22 [INFO] [stderr] | [INFO] [stderr] 128 | fn render(&self, u: f64, v: f64) -> pixels::Color { [INFO] [stderr] | ^ help: consider prefixing with an underscore: `_u` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/main.rs:128:30 [INFO] [stderr] | [INFO] [stderr] 128 | fn render(&self, u: f64, v: f64) -> pixels::Color { [INFO] [stderr] | ^ help: consider prefixing with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:96:17 [INFO] [stderr] | [INFO] [stderr] 96 | let mut sample = Vector2::new(x as f64 + 0.5, y as f64 + 0.5); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_mut)] on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `line` [INFO] [stderr] --> src/main.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | fn line(canvas: &WindowCanvas, mut x0: i16, mut y0: i16, mut x1: i16, mut y1: i16, color: pixels::Color) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `ShaderFlat` [INFO] [stderr] --> src/main.rs:123:1 [INFO] [stderr] | [INFO] [stderr] 123 | struct ShaderFlat { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `ShaderUV` [INFO] [stderr] --> src/main.rs:139:1 [INFO] [stderr] | [INFO] [stderr] 139 | struct ShaderUV { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `cgmath::InnerSpace::normalize` that must be used [INFO] [stderr] --> src/main.rs:310:21 [INFO] [stderr] | [INFO] [stderr] 310 | light_dir.normalize(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_must_use)] on by default [INFO] [stderr] [INFO] [stderr] error: linking with `cc` failed: exit code: 1 [INFO] [stderr] | [INFO] [stderr] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/crater/target/debug/deps/soft_render-f12dbf47551efb5a.soft_render.7sayjami-cgu.0.rcgu.o" "/opt/crater/target/debug/deps/soft_render-f12dbf47551efb5a.soft_render.7sayjami-cgu.1.rcgu.o" "/opt/crater/target/debug/deps/soft_render-f12dbf47551efb5a.soft_render.7sayjami-cgu.10.rcgu.o" "/opt/crater/target/debug/deps/soft_render-f12dbf47551efb5a.soft_render.7sayjami-cgu.11.rcgu.o" "/opt/crater/target/debug/deps/soft_render-f12dbf47551efb5a.soft_render.7sayjami-cgu.12.rcgu.o" "/opt/crater/target/debug/deps/soft_render-f12dbf47551efb5a.soft_render.7sayjami-cgu.13.rcgu.o" "/opt/crater/target/debug/deps/soft_render-f12dbf47551efb5a.soft_render.7sayjami-cgu.14.rcgu.o" "/opt/crater/target/debug/deps/soft_render-f12dbf47551efb5a.soft_render.7sayjami-cgu.15.rcgu.o" "/opt/crater/target/debug/deps/soft_render-f12dbf47551efb5a.soft_render.7sayjami-cgu.2.rcgu.o" "/opt/crater/target/debug/deps/soft_render-f12dbf47551efb5a.soft_render.7sayjami-cgu.3.rcgu.o" "/opt/crater/target/debug/deps/soft_render-f12dbf47551efb5a.soft_render.7sayjami-cgu.4.rcgu.o" "/opt/crater/target/debug/deps/soft_render-f12dbf47551efb5a.soft_render.7sayjami-cgu.5.rcgu.o" "/opt/crater/target/debug/deps/soft_render-f12dbf47551efb5a.soft_render.7sayjami-cgu.6.rcgu.o" "/opt/crater/target/debug/deps/soft_render-f12dbf47551efb5a.soft_render.7sayjami-cgu.7.rcgu.o" "/opt/crater/target/debug/deps/soft_render-f12dbf47551efb5a.soft_render.7sayjami-cgu.8.rcgu.o" "/opt/crater/target/debug/deps/soft_render-f12dbf47551efb5a.soft_render.7sayjami-cgu.9.rcgu.o" "-o" "/opt/crater/target/debug/deps/soft_render-f12dbf47551efb5a" "/opt/crater/target/debug/deps/soft_render-f12dbf47551efb5a.4vpeuobsj9dgku6m.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/crater/target/debug/deps" "-L" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/crater/target/debug/deps/libwavefront_obj-42d5222f0cab0bdc.rlib" "/opt/crater/target/debug/deps/libtime-772e56805ffb9a47.rlib" "/opt/crater/target/debug/deps/libsdl2-17ad78c1dd6c41b3.rlib" "/opt/crater/target/debug/deps/libc_vec-c46479f165841a49.rlib" "/opt/crater/target/debug/deps/libsdl2_sys-0be8737d7fcd2f76.rlib" "/opt/crater/target/debug/deps/libbitflags-05fa20c47058c1db.rlib" "/opt/crater/target/debug/deps/liblazy_static-0c9d1899e9eae559.rlib" "/opt/crater/target/debug/deps/libnum-afb29d0cf2165d85.rlib" "/opt/crater/target/debug/deps/libimage-b24557374af1d7e9.rlib" "/opt/crater/target/debug/deps/libscoped_threadpool-6ac8fca2f0d457e8.rlib" "/opt/crater/target/debug/deps/libgif-4a2d77993603dec6.rlib" "/opt/crater/target/debug/deps/libcolor_quant-6cd66d44303ef59b.rlib" "/opt/crater/target/debug/deps/liblzw-1f37f345e8096c7b.rlib" "/opt/crater/target/debug/deps/libjpeg_decoder-8cff9adb8d1b523f.rlib" "/opt/crater/target/debug/deps/librayon-d24ea25357f3a1ee.rlib" "/opt/crater/target/debug/deps/libeither-1d8cfd8a86cf0dc0.rlib" "/opt/crater/target/debug/deps/librayon_core-3aa24dc95a960ecb.rlib" "/opt/crater/target/debug/deps/libnum_cpus-48fa0db9a88cabbd.rlib" "/opt/crater/target/debug/deps/libcrossbeam_deque-a2b4cecc17daebd9.rlib" "/opt/crater/target/debug/deps/libcrossbeam_epoch-bf5a71acb4b5d4f1.rlib" "/opt/crater/target/debug/deps/libscopeguard-316f896e0d3e978a.rlib" "/opt/crater/target/debug/deps/libmemoffset-6c4b37f364c61d2a.rlib" "/opt/crater/target/debug/deps/liblazy_static-024dbe6825df62a4.rlib" "/opt/crater/target/debug/deps/libcrossbeam_utils-4ee4091798a829a0.rlib" "/opt/crater/target/debug/deps/libcfg_if-3f691fa550e97962.rlib" "/opt/crater/target/debug/deps/libarrayvec-113ef836fc6f0f3a.rlib" "/opt/crater/target/debug/deps/libnodrop-844425db77ee9480.rlib" "/opt/crater/target/debug/deps/libpng-3e572d00ad6c9160.rlib" "/opt/crater/target/debug/deps/libdeflate-624e3e1115864b7e.rlib" "/opt/crater/target/debug/deps/libinflate-7959dddfc6363adb.rlib" "/opt/crater/target/debug/deps/libadler32-28cce00de1b6c9b3.rlib" "/opt/crater/target/debug/deps/libbitflags-031756039b29afaf.rlib" "/opt/crater/target/debug/deps/libenum_primitive-b074ebf3ecd6e68d.rlib" "/opt/crater/target/debug/deps/libnum_rational-28cf40e97aebf023.rlib" "/opt/crater/target/debug/deps/libnum_iter-8673f0b69b432df1.rlib" "/opt/crater/target/debug/deps/libnum_integer-4efe0f2dadd87400.rlib" "/opt/crater/target/debug/deps/libbyteorder-579b0a05de5ca01c.rlib" "/opt/crater/target/debug/deps/libcgmath-32fd4109841dd189.rlib" "/opt/crater/target/debug/deps/librand-1b21df16a54f3047.rlib" "/opt/crater/target/debug/deps/librand-83f9b0f2deafce6d.rlib" "/opt/crater/target/debug/deps/liblibc-ef404b4d288f3d75.rlib" "/opt/crater/target/debug/deps/libnum_traits-9aa6f135751ef1d5.rlib" "/opt/crater/target/debug/deps/libnum_traits-86600a016bc21e91.rlib" "/opt/crater/target/debug/deps/libapprox-006b105747eba6fa.rlib" "-Wl,--start-group" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-4a76ff35a356aedf.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-e11c7b3b3225afe2.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-13217ede3d276f16.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-621a9ee22da6caa1.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-546c844e8071bbeb.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-be9569e4d599746f.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-47d8845cef2a3bc5.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-017511bce73a530c.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-be7979c57a08057b.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-d6459c4f0817c67c.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-580035dd98451925.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-aee5c24fff305dea.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-8a55a4098920125a.rlib" "-Wl,--end-group" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-9fc4b5be2ba5cc19.rlib" "-Wl,-Bdynamic" "-lSDL2_gfx" "-lSDL2" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil" [INFO] [stderr] = note: /usr/bin/ld: cannot find -lSDL2_gfx [INFO] [stderr] collect2: error: ld returned 1 exit status [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `soft_render`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "2f055c0c666a88543b09b63a4f7c306eab02d0aa4f56483f3efe9e160791eb3a"` [INFO] running `"docker" "rm" "-f" "2f055c0c666a88543b09b63a4f7c306eab02d0aa4f56483f3efe9e160791eb3a"` [INFO] [stdout] 2f055c0c666a88543b09b63a4f7c306eab02d0aa4f56483f3efe9e160791eb3a