[INFO] updating cached repository https://github.com/doup/soft_render [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 057864c1b3af89700138cb5ecfd6893b2d4148bb [INFO] testing doup/soft_render against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdoup%2Fsoft_render" "/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/doup/soft_render on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/doup/soft_render [INFO] finished tweaking git repo https://github.com/doup/soft_render [INFO] tweaked toml for git repo https://github.com/doup/soft_render written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/doup/soft_render already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3ec41d5a0655e71e766ce2ce9710f26d9f4eeefeb1bbd8f0c5bc1f3ae890beea [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" "3ec41d5a0655e71e766ce2ce9710f26d9f4eeefeb1bbd8f0c5bc1f3ae890beea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ec41d5a0655e71e766ce2ce9710f26d9f4eeefeb1bbd8f0c5bc1f3ae890beea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ec41d5a0655e71e766ce2ce9710f26d9f4eeefeb1bbd8f0c5bc1f3ae890beea", kill_on_drop: false }` [INFO] [stdout] 3ec41d5a0655e71e766ce2ce9710f26d9f4eeefeb1bbd8f0c5bc1f3ae890beea [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2b8ed4c8d55f7371fa6e252f0b4a00abadafc67d0f8c2297558e27f0b70db1ee [INFO] running `Command { std: "docker" "start" "-a" "2b8ed4c8d55f7371fa6e252f0b4a00abadafc67d0f8c2297558e27f0b70db1ee", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling sdl2-sys v0.30.0 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling inflate v0.3.4 [INFO] [stderr] Compiling gif v0.9.2 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling num_cpus v1.9.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling deflate v0.7.19 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling cgmath v0.15.0 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling png v0.11.0 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling sdl2 v0.30.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.15 [INFO] [stderr] Compiling image v0.17.0 [INFO] [stderr] Compiling soft_render v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `cgmath::SquareMatrix` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use cgmath::SquareMatrix; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:83:99 [INFO] [stdout] | [INFO] [stdout] 83 | ..._screen: &[Vector2; 3], pixel_shader: &PixelShader, zbuffer: &mut [f64; SCREEN_BUFFER]) { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn PixelShader` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/main.rs:128:22 [INFO] [stdout] | [INFO] [stdout] 128 | fn render(&self, u: f64, v: f64) -> pixels::Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/main.rs:128:30 [INFO] [stdout] | [INFO] [stdout] 128 | fn render(&self, u: f64, v: f64) -> pixels::Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | let mut sample = Vector2::new(x as f64 + 0.5, y as f64 + 0.5); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `line` [INFO] [stdout] --> src/main.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn line(canvas: &WindowCanvas, mut x0: i16, mut y0: i16, mut x1: i16, mut y1: i16, color: pixels::Color) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `cgmath::InnerSpace::normalize` that must be used [INFO] [stdout] --> src/main.rs:310:21 [INFO] [stdout] | [INFO] [stdout] 310 | light_dir.normalize(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit code: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-Wl,--eh-frame-hdr" "-L" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/soft_render-efbfab6e0ca1df93.soft_render.7ge8xkzf-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/soft_render-efbfab6e0ca1df93.soft_render.7ge8xkzf-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/soft_render-efbfab6e0ca1df93.soft_render.7ge8xkzf-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/soft_render-efbfab6e0ca1df93.soft_render.7ge8xkzf-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/soft_render-efbfab6e0ca1df93.soft_render.7ge8xkzf-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/soft_render-efbfab6e0ca1df93.soft_render.7ge8xkzf-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/soft_render-efbfab6e0ca1df93.soft_render.7ge8xkzf-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/soft_render-efbfab6e0ca1df93.soft_render.7ge8xkzf-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/soft_render-efbfab6e0ca1df93.soft_render.7ge8xkzf-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/soft_render-efbfab6e0ca1df93.soft_render.7ge8xkzf-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/soft_render-efbfab6e0ca1df93.soft_render.7ge8xkzf-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/soft_render-efbfab6e0ca1df93.soft_render.7ge8xkzf-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/soft_render-efbfab6e0ca1df93.soft_render.7ge8xkzf-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/soft_render-efbfab6e0ca1df93.soft_render.7ge8xkzf-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/soft_render-efbfab6e0ca1df93.soft_render.7ge8xkzf-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/soft_render-efbfab6e0ca1df93.soft_render.7ge8xkzf-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/soft_render-efbfab6e0ca1df93" "/opt/rustwide/target/debug/deps/soft_render-efbfab6e0ca1df93.1p9vb2e6jkww1us5.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libwavefront_obj-216e601026502f63.rlib" "/opt/rustwide/target/debug/deps/libtime-9822c599325b99ca.rlib" "/opt/rustwide/target/debug/deps/libsdl2-6491bd01604d8592.rlib" "/opt/rustwide/target/debug/deps/libc_vec-c1a3dd2128644df0.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-1600a2f37d541828.rlib" "/opt/rustwide/target/debug/deps/libbitflags-d2ad12c0bdfd14cf.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-65d9f7d0b961f44d.rlib" "/opt/rustwide/target/debug/deps/libnum-c520d02f02ac040e.rlib" "/opt/rustwide/target/debug/deps/libimage-69e292ff029b35b0.rlib" "/opt/rustwide/target/debug/deps/libscoped_threadpool-6c273243435ce414.rlib" "/opt/rustwide/target/debug/deps/libgif-1f2d579022658324.rlib" "/opt/rustwide/target/debug/deps/libcolor_quant-43e25ff04447f77f.rlib" "/opt/rustwide/target/debug/deps/liblzw-1663256aa41133c9.rlib" "/opt/rustwide/target/debug/deps/libjpeg_decoder-0984409a9e90eb29.rlib" "/opt/rustwide/target/debug/deps/librayon-0364258d3b82badf.rlib" "/opt/rustwide/target/debug/deps/libeither-ab7229832adaebc2.rlib" "/opt/rustwide/target/debug/deps/librayon_core-7e76bc1e4aad1f66.rlib" "/opt/rustwide/target/debug/deps/libnum_cpus-3138b249e3935fae.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_deque-8dd4b2e4eb353c9f.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_epoch-a1c951b05f8206b8.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-ad4c3ad3e7604ff0.rlib" "/opt/rustwide/target/debug/deps/libmemoffset-6aac4dafce6b7963.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-7cc6a1620226cf0f.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_utils-56e006e6124b07b6.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-bba0dd4dbfff628a.rlib" "/opt/rustwide/target/debug/deps/libarrayvec-22768ce7d0de8fe2.rlib" "/opt/rustwide/target/debug/deps/libnodrop-76fd22e4c35d3a0a.rlib" "/opt/rustwide/target/debug/deps/libpng-6f35b8ff2ab2775e.rlib" "/opt/rustwide/target/debug/deps/libdeflate-bc1fdee964070cd8.rlib" "/opt/rustwide/target/debug/deps/libinflate-76f202c01c820c63.rlib" "/opt/rustwide/target/debug/deps/libadler32-9ecec324d4347fdf.rlib" "/opt/rustwide/target/debug/deps/libbitflags-d84be2ed0b8bbca8.rlib" "/opt/rustwide/target/debug/deps/libenum_primitive-b3f787e555224b13.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-afc86d746cb653ca.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-aef27937ff364bda.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-b0b6745d22f32d76.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-11de79069fb69c82.rlib" "/opt/rustwide/target/debug/deps/libcgmath-41575f6931488abe.rlib" "/opt/rustwide/target/debug/deps/librand-a6d47965e456f810.rlib" "/opt/rustwide/target/debug/deps/librand-3cca54caccada814.rlib" "/opt/rustwide/target/debug/deps/liblibc-43ad4e4e7b3c9e74.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-b98f4cabf6a07253.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-0de210d470508289.rlib" "/opt/rustwide/target/debug/deps/libapprox-bec25f09c42b804a.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-5989bcf78182f65e.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-4d6da34bc177af8d.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-10e0d6c948699482.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-c2318e2415657781.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-3815b93ed84badbb.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-d7999143d95238cb.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-c58298a0d40df8b8.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-b7de97e2ba6fb4e2.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-6f71c9f654d72cce.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-95ea48ddc44a311b.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-7402cd4761aebc14.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-68f423c59dc48a40.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-54580c7798bf2225.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-95a4d456339b7385.rlib" "-Wl,-Bdynamic" "-lSDL2_gfx" "-lSDL2" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lSDL2_gfx [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `soft_render`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "2b8ed4c8d55f7371fa6e252f0b4a00abadafc67d0f8c2297558e27f0b70db1ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b8ed4c8d55f7371fa6e252f0b4a00abadafc67d0f8c2297558e27f0b70db1ee", kill_on_drop: false }` [INFO] [stdout] 2b8ed4c8d55f7371fa6e252f0b4a00abadafc67d0f8c2297558e27f0b70db1ee