[INFO] cloning repository https://github.com/gudmunduro/CG-Assignment5
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gudmunduro/CG-Assignment5" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgudmunduro%2FCG-Assignment5"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgudmunduro%2FCG-Assignment5'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 2d452a9116d846083bb1e8baa31a4d3557c5605a
[INFO] testing gudmunduro/CG-Assignment5 against 1.100.0-beta.13+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgudmunduro%2FCG-Assignment5" "/workspace/builds/worker-2-tc1/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/gudmunduro/CG-Assignment5
[INFO] finished tweaking git repo https://github.com/gudmunduro/CG-Assignment5
[INFO] tweaked toml for git repo https://github.com/gudmunduro/CG-Assignment5 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/gudmunduro/CG-Assignment5 on toolchain 1.100.0-beta.13
[INFO] running `"cargo" "+1.100.0-beta.13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/gudmunduro/CG-Assignment5 already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.100.0-beta.13" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Updating git repository `https://github.com/gudmunduro/glow.git`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded time-macros v0.2.5
[INFO] [stderr]   Downloaded time v0.3.16
[INFO] [stderr]   Downloaded version-compare v0.1.0
[INFO] [stderr]   Downloaded once_cell v1.15.0
[INFO] [stderr]   Downloaded os_str_bytes v6.3.1
[INFO] [stderr]   Downloaded paste v1.0.9
[INFO] [stderr]   Downloaded clap_derive v4.0.18
[INFO] [stderr]   Downloaded wide v0.7.5
[INFO] [stderr]   Downloaded sdl2 v0.35.2
[INFO] [stderr]   Downloaded clap v4.0.18
[INFO] [stderr]   Downloaded syn v1.0.102
[INFO] [stderr]   Downloaded nalgebra v0.31.2
[INFO] [stderr]   Downloaded libc v0.2.135
[INFO] [stderr]   Downloaded sdl2-sys v0.35.2
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 0ea3fe0753641809d1d407636c475bc05cb501218c05a2bde41f3cd45321f294
[INFO] running `"docker" "start" "0ea3fe0753641809d1d407636c475bc05cb501218c05a2bde41f3cd45321f294"`
[INFO] running `"docker" "inspect" "0ea3fe0753641809d1d407636c475bc05cb501218c05a2bde41f3cd45321f294"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0ea3fe0753641809d1d407636c475bc05cb501218c05a2bde41f3cd45321f294" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "0ea3fe0753641809d1d407636c475bc05cb501218c05a2bde41f3cd45321f294"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0ea3fe0753641809d1d407636c475bc05cb501218c05a2bde41f3cd45321f294" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling proc-macro2 v1.0.47
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling unicode-ident v1.0.5
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling libc v0.2.135
[INFO] [stderr]    Compiling syn v1.0.102
[INFO] [stderr]    Compiling version-compare v0.1.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling bytemuck v1.12.1
[INFO] [stderr]    Compiling sdl2-sys v0.35.2
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling time-core v0.1.0
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling time-macros v0.2.5
[INFO] [stderr]    Compiling safe_arch v0.6.0
[INFO] [stderr]    Compiling anyhow v1.0.65
[INFO] [stderr]    Compiling num_threads v0.1.6
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]    Compiling sdl2 v0.35.2
[INFO] [stderr]    Compiling paste v1.0.9
[INFO] [stderr]    Compiling itoa v1.0.4
[INFO] [stderr]    Compiling os_str_bytes v6.3.1
[INFO] [stderr]    Compiling clap_lex v0.3.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling wide v0.7.5
[INFO] [stderr]    Compiling matrixmultiply v0.3.2
[INFO] [stderr]    Compiling time v0.3.16
[INFO] [stderr]    Compiling num-complex v0.4.2
[INFO] [stderr]    Compiling approx v0.5.1
[INFO] [stderr]    Compiling either v1.8.0
[INFO] [stderr]    Compiling once_cell v1.15.0
[INFO] [stderr]    Compiling nom v7.1.1
[INFO] [stderr]    Compiling simplelog v0.12.0
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling simba v0.7.2
[INFO] [stderr]    Compiling glow v0.11.2 (https://github.com/gudmunduro/glow.git?branch=main#36f34e11)
[INFO] [stderr]    Compiling nalgebra-macros v0.1.0
[INFO] [stderr]    Compiling clap_derive v4.0.18
[INFO] [stderr]    Compiling clap v4.0.18
[INFO] [stderr]    Compiling nalgebra v0.31.2
[INFO] [stderr]    Compiling CG-Assignment5 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/core/lights.rs:49:13
[INFO] [stdout]    |
[INFO] [stdout] 49 |         let mut light = match self.lights.get_mut(id) {
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/core/lights.rs:61:13
[INFO] [stdout]    |
[INFO] [stdout] 61 |         let mut light = match self.lights.get_mut(id) {
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/core/lights.rs:73:13
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let mut light = match self.lights.get_mut(id) {
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/core/lights.rs:85:13
[INFO] [stdout]    |
[INFO] [stdout] 85 |         let mut light = match self.lights.get_mut(id) {
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/core/lights.rs:97:13
[INFO] [stdout]    |
[INFO] [stdout] 97 |         let mut light = match self.lights.get_mut(id) {
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/core/shader.rs:35:36
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub fn new(gl: &'a Context) -> Shader3D {
[INFO] [stdout]    |                     --             ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     the lifetime is named here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub fn new(gl: &'a Context) -> Shader3D<'a> {
[INFO] [stdout]    |                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/objects/cube.rs:14:36
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn new(gl: &'a Context) -> Cube {
[INFO] [stdout]    |                     --             ^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     the lifetime is named here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn new(gl: &'a Context) -> Cube<'a> {
[INFO] [stdout]    |                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/objects/textured_square.rs:17:91
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn new(gl: &'a Context, width: f32, height: f32, texture_dir: FacingDirection) -> TexturedSquare {
[INFO] [stdout]    |                     -- the lifetime is named here                                         ^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn new(gl: &'a Context, width: f32, height: f32, texture_dir: FacingDirection) -> TexturedSquare<'a> {
[INFO] [stdout]    |                                                                                                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/objects/track_corner.rs:25:10
[INFO] [stdout]    |
[INFO] [stdout] 23 |         gl: &'a Context,
[INFO] [stdout]    |              -- the lifetime is named here
[INFO] [stdout] 24 |         corner_type: TrackCornerType
[INFO] [stdout] 25 |     ) -> TrackCorner {
[INFO] [stdout]    |          ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 25 |     ) -> TrackCorner<'a> {
[INFO] [stdout]    |                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/objects/skybox_cubemap.rs:15:36
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn new(gl: &'a Context) -> SkyboxCubemap {
[INFO] [stdout]    |                     --             ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     the lifetime is named here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn new(gl: &'a Context) -> SkyboxCubemap<'a> {
[INFO] [stdout]    |                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "/opt/rustwide/target/release/build/CG-Assignment5/949e3bf0fb631e97/out/rustcsYyzNC/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/release/build/anyhow/f6cb15bc4a031a69/out/libanyhow-f6cb15bc4a031a69.rlib" "/opt/rustwide/target/release/build/simplelog/db7530d1b1c0dc11/out/libsimplelog-db7530d1b1c0dc11.rlib" "/opt/rustwide/target/release/build/time/09941ce01bb80ddf/out/libtime-09941ce01bb80ddf.rlib" "/opt/rustwide/target/release/build/num_threads/bddcf0c5f8076f31/out/libnum_threads-bddcf0c5f8076f31.rlib" "/opt/rustwide/target/release/build/itoa/8b2d2ca8db5da5b7/out/libitoa-8b2d2ca8db5da5b7.rlib" "/opt/rustwide/target/release/build/time-core/c8c958179676cda3/out/libtime_core-c8c958179676cda3.rlib" "/opt/rustwide/target/release/build/log/ee0e8637efac62e7/out/liblog-ee0e8637efac62e7.rlib" "/opt/rustwide/target/release/build/cfg-if/193575a6b29a3ab9/out/libcfg_if-193575a6b29a3ab9.rlib" "/opt/rustwide/target/release/build/clap/2624753055d324ee/out/libclap-2624753055d324ee.rlib" "/opt/rustwide/target/release/build/atty/cded78b326e67d58/out/libatty-cded78b326e67d58.rlib" "/opt/rustwide/target/release/build/strsim/4d90d417acaad1e9/out/libstrsim-4d90d417acaad1e9.rlib" "/opt/rustwide/target/release/build/clap_lex/130807d8bef962ad/out/libclap_lex-130807d8bef962ad.rlib" "/opt/rustwide/target/release/build/os_str_bytes/06a17ea66c8d989d/out/libos_str_bytes-06a17ea66c8d989d.rlib" "/opt/rustwide/target/release/build/termcolor/ac2e9838f80d9b5c/out/libtermcolor-ac2e9838f80d9b5c.rlib" "/opt/rustwide/target/release/build/once_cell/483e787f49cdcd64/out/libonce_cell-483e787f49cdcd64.rlib" "/opt/rustwide/target/release/build/nom/6c5b05a0faab9a55/out/libnom-6c5b05a0faab9a55.rlib" "/opt/rustwide/target/release/build/memchr/8ba6ab8209237525/out/libmemchr-8ba6ab8209237525.rlib" "/opt/rustwide/target/release/build/itertools/65db90b4b0c30683/out/libitertools-65db90b4b0c30683.rlib" "/opt/rustwide/target/release/build/either/9b7b8421f0a9b186/out/libeither-9b7b8421f0a9b186.rlib" "/opt/rustwide/target/release/build/sdl2/8e96414e90becd7f/out/libsdl2-8e96414e90becd7f.rlib" "/opt/rustwide/target/release/build/sdl2-sys/c34d99907e1fc363/out/libsdl2_sys-c34d99907e1fc363.rlib" "/opt/rustwide/target/release/build/bitflags/68973b8086863992/out/libbitflags-68973b8086863992.rlib" "/opt/rustwide/target/release/build/lazy_static/480433dca0d17907/out/liblazy_static-480433dca0d17907.rlib" "/opt/rustwide/target/release/build/libc/caadcc1f4e82be90/out/liblibc-caadcc1f4e82be90.rlib" "/opt/rustwide/target/release/build/nalgebra/14c92290c4a94638/out/libnalgebra-14c92290c4a94638.rlib" "/opt/rustwide/target/release/build/matrixmultiply/d82d2b900f1973a6/out/libmatrixmultiply-d82d2b900f1973a6.rlib" "/opt/rustwide/target/release/build/rawpointer/e637704b8109ab79/out/librawpointer-e637704b8109ab79.rlib" "/opt/rustwide/target/release/build/num-rational/ded0b9d7fa3264c7/out/libnum_rational-ded0b9d7fa3264c7.rlib" "/opt/rustwide/target/release/build/num-integer/e04165c0ec973832/out/libnum_integer-e04165c0ec973832.rlib" "/opt/rustwide/target/release/build/typenum/15320cb8a9930e74/out/libtypenum-15320cb8a9930e74.rlib" "/opt/rustwide/target/release/build/simba/e669d6d45952f02b/out/libsimba-e669d6d45952f02b.rlib" "/opt/rustwide/target/release/build/wide/ae9e19df27eda14e/out/libwide-ae9e19df27eda14e.rlib" "/opt/rustwide/target/release/build/safe_arch/fd449b72ab21312b/out/libsafe_arch-fd449b72ab21312b.rlib" "/opt/rustwide/target/release/build/bytemuck/a70540e43c64ece9/out/libbytemuck-a70540e43c64ece9.rlib" "/opt/rustwide/target/release/build/num-complex/a084ff427cf04dcb/out/libnum_complex-a084ff427cf04dcb.rlib" "/opt/rustwide/target/release/build/approx/ef77b3a0aefffacd/out/libapprox-ef77b3a0aefffacd.rlib" "/opt/rustwide/target/release/build/num-traits/a7e3386d59a186c4/out/libnum_traits-a7e3386d59a186c4.rlib" "/opt/rustwide/target/release/build/glow/f9a5280db1788bd1/out/libglow-f9a5280db1788bd1.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lSDL2" "-lSDL2_image" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/opt/rustwide/target/release/build/CG-Assignment5/949e3bf0fb631e97/out/rustcsYyzNC/raw-dylibs" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/release/build/CG-Assignment5/949e3bf0fb631e97/out/CG_Assignment5" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-Wl,--strip-debug" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: unable to find library -lSDL2_image
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `CG-Assignment5` (bin "CG-Assignment5") due to 1 previous error; 10 warnings emitted
[INFO] running `"docker" "inspect" "0ea3fe0753641809d1d407636c475bc05cb501218c05a2bde41f3cd45321f294"`
[INFO] running `"docker" "rm" "-f" "0ea3fe0753641809d1d407636c475bc05cb501218c05a2bde41f3cd45321f294"`
[INFO] [stdout] 0ea3fe0753641809d1d407636c475bc05cb501218c05a2bde41f3cd45321f294
