[INFO] cloning repository https://github.com/quote27/open-gl-tutorial-rs [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/quote27/open-gl-tutorial-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquote27%2Fopen-gl-tutorial-rs"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquote27%2Fopen-gl-tutorial-rs'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 7c38ba799121fb5de04962f5ef4754476589af3e [INFO] testing quote27/open-gl-tutorial-rs against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquote27%2Fopen-gl-tutorial-rs" "/workspace/builds/worker-3/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/quote27/open-gl-tutorial-rs on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/quote27/open-gl-tutorial-rs [INFO] finished tweaking git repo https://github.com/quote27/open-gl-tutorial-rs [INFO] tweaked toml for git repo https://github.com/quote27/open-gl-tutorial-rs written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/quote27/open-gl-tutorial-rs already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-3/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"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=warn" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 18d2036bfea4a89799b396c5810e98ae23f2f2ddac1f19eae35614ec73f06ecb [INFO] running `"docker" "start" "-a" "18d2036bfea4a89799b396c5810e98ae23f2f2ddac1f19eae35614ec73f06ecb"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Compiling bytemuck v1.2.0 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling standback v0.2.9 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling cmake v0.1.44 [INFO] [stderr] Compiling deflate v0.8.4 [INFO] [stderr] Compiling tiff v0.4.0 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling glfw-sys v3.3.2 [INFO] [stderr] Compiling png v0.16.4 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling glfw v0.37.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.19 [INFO] [stderr] Compiling image v0.23.4 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling open-gl-tutorial v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0425]: cannot find function `deg` in this scope [INFO] [stderr] --> src/main.rs:262:35 [INFO] [stderr] | [INFO] [stderr] 262 | let mut proj_m4 = perspective(deg(45.0), 800.0 / 600.0, 1.0, 10.0); [INFO] [stderr] | ^^^ help: a tuple struct with a similar name exists: `Deg` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cgmath-0.17.0/src/angle.rs:47:1 [INFO] [stderr] | [INFO] [stderr] 47 | pub struct Deg(pub S); [INFO] [stderr] | ------------------------- similarly named tuple struct `Deg` defined here [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `deg` in this scope [INFO] [stderr] --> src/main.rs:284:43 [INFO] [stderr] | [INFO] [stderr] 284 | proj_m4 = perspective(deg(45.0), w as f32 / h as f32, 1.0, 10.0); [INFO] [stderr] | ^^^ help: a tuple struct with a similar name exists: `Deg` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cgmath-0.17.0/src/angle.rs:47:1 [INFO] [stderr] | [INFO] [stderr] 47 | pub struct Deg(pub S); [INFO] [stderr] | ------------------------- similarly named tuple struct `Deg` defined here [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `deg` in this scope [INFO] [stderr] --> src/main.rs:301:76 [INFO] [stderr] | [INFO] [stderr] 301 | let rot180 = Basis3::from_axis_angle(&Vector3::new(0.0, 0.0, 1.0), deg(180.0 * t_diff as f32).into()); [INFO] [stderr] | ^^^ help: a tuple struct with a similar name exists: `Deg` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cgmath-0.17.0/src/angle.rs:47:1 [INFO] [stderr] | [INFO] [stderr] 47 | pub struct Deg(pub S); [INFO] [stderr] | ------------------------- similarly named tuple struct `Deg` defined here [INFO] [stderr] [INFO] [stderr] warning: unused import: `image::GenericImage` [INFO] [stderr] --> src/main.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use image::GenericImage; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Uniform` [INFO] [stderr] --> src/main.rs:14:32 [INFO] [stderr] | [INFO] [stderr] 14 | use shaders::{Shader, Program, Uniform}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'time::precise_time_s': Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use time::precise_time_s; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'time::precise_time_s': Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stderr] --> src/main.rs:271:19 [INFO] [stderr] | [INFO] [stderr] 271 | let t_start = precise_time_s(); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'time::precise_time_s': Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stderr] --> src/main.rs:275:21 [INFO] [stderr] | [INFO] [stderr] 275 | let t_now = precise_time_s(); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `dimensions` found for enum `image::DynamicImage` in the current scope [INFO] [stderr] --> src/main.rs:227:29 [INFO] [stderr] | [INFO] [stderr] 227 | let (w0, h0) = img0.dimensions(); [INFO] [stderr] | ^^^^^^^^^^ method not found in `image::DynamicImage` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/image-0.23.4/./src/image.rs:546:8 [INFO] [stderr] | [INFO] [stderr] 546 | fn dimensions(&self) -> (u32, u32); [INFO] [stderr] | ---------- [INFO] [stderr] | | [INFO] [stderr] | the method is available for `std::boxed::Box` here [INFO] [stderr] | the method is available for `std::sync::Arc` here [INFO] [stderr] | the method is available for `std::rc::Rc` here [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 7 | use image::GenericImageView; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `dimensions` found for enum `image::DynamicImage` in the current scope [INFO] [stderr] --> src/main.rs:229:29 [INFO] [stderr] | [INFO] [stderr] 229 | let (w1, h1) = img1.dimensions(); [INFO] [stderr] | ^^^^^^^^^^ method not found in `image::DynamicImage` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/image-0.23.4/./src/image.rs:546:8 [INFO] [stderr] | [INFO] [stderr] 546 | fn dimensions(&self) -> (u32, u32); [INFO] [stderr] | ---------- [INFO] [stderr] | | [INFO] [stderr] | the method is available for `std::boxed::Box` here [INFO] [stderr] | the method is available for `std::sync::Arc` here [INFO] [stderr] | the method is available for `std::rc::Rc` here [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 7 | use image::GenericImageView; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `raw_pixels` found for enum `image::DynamicImage` in the current scope [INFO] [stderr] --> src/main.rs:235:136 [INFO] [stderr] | [INFO] [stderr] 235 | gl::TexImage2D(gl::TEXTURE_2D, 0, gl::RGBA as GLint, w0 as i32, h0 as i32, 0, gl::RGBA, gl::UNSIGNED_BYTE, mem::transmute(img0.raw_pixels().as_ptr())); [INFO] [stderr] | ^^^^^^^^^^ method not found in `image::DynamicImage` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `raw_pixels` found for enum `image::DynamicImage` in the current scope [INFO] [stderr] --> src/main.rs:244:135 [INFO] [stderr] | [INFO] [stderr] 244 | gl::TexImage2D(gl::TEXTURE_2D, 0, gl::RGB as GLint, w1 as i32, h1 as i32, 0, gl::RGBA, gl::UNSIGNED_BYTE, mem::transmute(img1.raw_pixels().as_ptr())); [INFO] [stderr] | ^^^^^^^^^^ method not found in `image::DynamicImage` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:263:40 [INFO] [stderr] | [INFO] [stderr] 263 | let mut view_m4 = Matrix4::look_at(&Point3::new(2.5, 2.5, 2.0), &Point3::new(0.0, 0.0, 0.0), &Vector3::new(0.0, 0.0, 1.0)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected struct `cgmath::Point3`, found reference [INFO] [stderr] | help: consider removing the borrow: `Point3::new(2.5, 2.5, 2.0)` [INFO] [stderr] | [INFO] [stderr] = note: expected struct `cgmath::Point3<_>` [INFO] [stderr] found reference `&cgmath::Point3<{float}>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:263:69 [INFO] [stderr] | [INFO] [stderr] 263 | let mut view_m4 = Matrix4::look_at(&Point3::new(2.5, 2.5, 2.0), &Point3::new(0.0, 0.0, 0.0), &Vector3::new(0.0, 0.0, 1.0)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected struct `cgmath::Point3`, found reference [INFO] [stderr] | help: consider removing the borrow: `Point3::new(0.0, 0.0, 0.0)` [INFO] [stderr] | [INFO] [stderr] = note: expected struct `cgmath::Point3<_>` [INFO] [stderr] found reference `&cgmath::Point3<{float}>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:263:98 [INFO] [stderr] | [INFO] [stderr] 263 | let mut view_m4 = Matrix4::look_at(&Point3::new(2.5, 2.5, 2.0), &Point3::new(0.0, 0.0, 0.0), &Vector3::new(0.0, 0.0, 1.0)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected struct `cgmath::Vector3`, found reference [INFO] [stderr] | help: consider removing the borrow: `Vector3::new(0.0, 0.0, 1.0)` [INFO] [stderr] | [INFO] [stderr] = note: expected struct `cgmath::Vector3<_>` [INFO] [stderr] found reference `&cgmath::Vector3<{float}>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:301:46 [INFO] [stderr] | [INFO] [stderr] 301 | let rot180 = Basis3::from_axis_angle(&Vector3::new(0.0, 0.0, 1.0), deg(180.0 * t_diff as f32).into()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected struct `cgmath::Vector3`, found reference [INFO] [stderr] | help: consider removing the borrow: `Vector3::new(0.0, 0.0, 1.0)` [INFO] [stderr] | [INFO] [stderr] = note: expected struct `cgmath::Vector3<_>` [INFO] [stderr] found reference `&cgmath::Vector3<{float}>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:334:46 [INFO] [stderr] | [INFO] [stderr] 334 | model_m4 = Matrix4::from_translation(&Vector3::new(0.0, 0.0, -1.0)) * scale * model_m4; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected struct `cgmath::Vector3`, found reference [INFO] [stderr] | help: consider removing the borrow: `Vector3::new(0.0, 0.0, -1.0)` [INFO] [stderr] | [INFO] [stderr] = note: expected struct `cgmath::Vector3<_>` [INFO] [stderr] found reference `&cgmath::Vector3<{float}>` [INFO] [stderr] [INFO] [stderr] error: aborting due to 12 previous errors; 5 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0425, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `open-gl-tutorial`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "18d2036bfea4a89799b396c5810e98ae23f2f2ddac1f19eae35614ec73f06ecb"` [INFO] running `"docker" "rm" "-f" "18d2036bfea4a89799b396c5810e98ae23f2f2ddac1f19eae35614ec73f06ecb"` [INFO] [stdout] 18d2036bfea4a89799b396c5810e98ae23f2f2ddac1f19eae35614ec73f06ecb