[INFO] cloning repository https://github.com/quote27/open-gl-tutorial-rs [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquote27%2Fopen-gl-tutorial-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7c38ba799121fb5de04962f5ef4754476589af3e [INFO] checking quote27/open-gl-tutorial-rs against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquote27%2Fopen-gl-tutorial-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/quote27/open-gl-tutorial-rs on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-4/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gl_generator v0.14.0 [INFO] [stderr] Downloaded rayon-core v1.9.0 [INFO] [stderr] Downloaded crossbeam-deque v0.8.0 [INFO] [stderr] Downloaded bytemuck v1.5.1 [INFO] [stderr] Downloaded crossbeam-channel v0.5.0 [INFO] [stderr] Downloaded gif v0.11.1 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.3 [INFO] [stderr] Downloaded rayon v1.5.0 [INFO] [stderr] Downloaded glfw v0.41.0 [INFO] [stderr] Downloaded cgmath v0.18.0 [INFO] [stderr] Downloaded gl v0.14.0 [INFO] [stderr] Downloaded khronos_api v3.1.0 [INFO] [stderr] Downloaded tiff v0.6.1 [INFO] [stderr] Downloaded image v0.23.14 [INFO] [stderr] Downloaded glfw-sys v3.3.2 [INFO] [stderr] Downloaded xml-rs v0.8.3 [INFO] [stderr] Downloaded miniz_oxide v0.4.4 [INFO] [stderr] Downloaded byteorder v1.4.3 [INFO] [stderr] Downloaded weezl v0.1.4 [INFO] [stderr] Downloaded adler v1.0.2 [INFO] [stderr] Downloaded memoffset v0.6.1 [INFO] [stderr] Downloaded jpeg-decoder v0.1.22 [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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 51d9ede3652d6e1ac88d3c95366dd799b218631733de434291a42e4f3c16cd00 [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" "51d9ede3652d6e1ac88d3c95366dd799b218631733de434291a42e4f3c16cd00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "51d9ede3652d6e1ac88d3c95366dd799b218631733de434291a42e4f3c16cd00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51d9ede3652d6e1ac88d3c95366dd799b218631733de434291a42e4f3c16cd00", kill_on_drop: false }` [INFO] [stdout] 51d9ede3652d6e1ac88d3c95366dd799b218631733de434291a42e4f3c16cd00 [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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4fe8515c75920465383bbeb2a0918368fc879abe1f1d1ccbe033a8d1f7d4f86f [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" "4fe8515c75920465383bbeb2a0918368fc879abe1f1d1ccbe033a8d1f7d4f86f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking weezl v0.1.4 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Compiling standback v0.2.15 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking crc32fast v1.2.1 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling glfw-sys v3.3.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking glfw v0.41.0 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking open-gl-tutorial v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `deg` in this scope [INFO] [stdout] --> src/main.rs:262:35 [INFO] [stdout] | [INFO] [stdout] 262 | let mut proj_m4 = perspective(deg(45.0), 800.0 / 600.0, 1.0, 10.0); [INFO] [stdout] | ^^^ help: a tuple struct with a similar name exists: `Deg` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cgmath-0.18.0/src/angle.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Deg(pub S); [INFO] [stdout] | ------------------------- similarly named tuple struct `Deg` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `deg` in this scope [INFO] [stdout] --> src/main.rs:284:43 [INFO] [stdout] | [INFO] [stdout] 284 | proj_m4 = perspective(deg(45.0), w as f32 / h as f32, 1.0, 10.0); [INFO] [stdout] | ^^^ help: a tuple struct with a similar name exists: `Deg` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cgmath-0.18.0/src/angle.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Deg(pub S); [INFO] [stdout] | ------------------------- similarly named tuple struct `Deg` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `deg` in this scope [INFO] [stdout] --> src/main.rs:301:76 [INFO] [stdout] | [INFO] [stdout] 301 | let rot180 = Basis3::from_axis_angle(&Vector3::new(0.0, 0.0, 1.0), deg(180.0 * t_diff as f32).into()); [INFO] [stdout] | ^^^ help: a tuple struct with a similar name exists: `Deg` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cgmath-0.18.0/src/angle.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Deg(pub S); [INFO] [stdout] | ------------------------- similarly named tuple struct `Deg` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::GenericImage` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use image::GenericImage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Uniform` [INFO] [stdout] --> src/main.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | use shaders::{Shader, Program, Uniform}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_s`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use time::precise_time_s; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_s`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/main.rs:271:19 [INFO] [stdout] | [INFO] [stdout] 271 | let t_start = precise_time_s(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_s`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/main.rs:275:21 [INFO] [stdout] | [INFO] [stdout] 275 | let t_now = precise_time_s(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `deg` in this scope [INFO] [stdout] --> src/main.rs:262:35 [INFO] [stdout] | [INFO] [stdout] 262 | let mut proj_m4 = perspective(deg(45.0), 800.0 / 600.0, 1.0, 10.0); [INFO] [stdout] | ^^^ help: a tuple struct with a similar name exists: `Deg` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cgmath-0.18.0/src/angle.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Deg(pub S); [INFO] [stdout] | ------------------------- similarly named tuple struct `Deg` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `deg` in this scope [INFO] [stdout] --> src/main.rs:284:43 [INFO] [stdout] | [INFO] [stdout] 284 | proj_m4 = perspective(deg(45.0), w as f32 / h as f32, 1.0, 10.0); [INFO] [stdout] | ^^^ help: a tuple struct with a similar name exists: `Deg` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cgmath-0.18.0/src/angle.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Deg(pub S); [INFO] [stdout] | ------------------------- similarly named tuple struct `Deg` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `deg` in this scope [INFO] [stdout] --> src/main.rs:301:76 [INFO] [stdout] | [INFO] [stdout] 301 | let rot180 = Basis3::from_axis_angle(&Vector3::new(0.0, 0.0, 1.0), deg(180.0 * t_diff as f32).into()); [INFO] [stdout] | ^^^ help: a tuple struct with a similar name exists: `Deg` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cgmath-0.18.0/src/angle.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Deg(pub S); [INFO] [stdout] | ------------------------- similarly named tuple struct `Deg` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::GenericImage` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use image::GenericImage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Uniform` [INFO] [stdout] --> src/main.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | use shaders::{Shader, Program, Uniform}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_s`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use time::precise_time_s; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_s`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/main.rs:271:19 [INFO] [stdout] | [INFO] [stdout] 271 | let t_start = precise_time_s(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_s`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/main.rs:275:21 [INFO] [stdout] | [INFO] [stdout] 275 | let t_now = precise_time_s(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `dimensions` found for enum `DynamicImage` in the current scope [INFO] [stdout] --> src/main.rs:227:29 [INFO] [stdout] | [INFO] [stdout] 227 | let (w0, h0) = img0.dimensions(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `DynamicImage` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 7 | use image::GenericImageView; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `dimensions` found for enum `DynamicImage` in the current scope [INFO] [stdout] --> src/main.rs:229:29 [INFO] [stdout] | [INFO] [stdout] 229 | let (w1, h1) = img1.dimensions(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `DynamicImage` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 7 | use image::GenericImageView; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `dimensions` found for enum `DynamicImage` in the current scope [INFO] [stdout] --> src/main.rs:227:29 [INFO] [stdout] | [INFO] [stdout] 227 | let (w0, h0) = img0.dimensions(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `DynamicImage` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 7 | use image::GenericImageView; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `dimensions` found for enum `DynamicImage` in the current scope [INFO] [stdout] --> src/main.rs:229:29 [INFO] [stdout] | [INFO] [stdout] 229 | let (w1, h1) = img1.dimensions(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `DynamicImage` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 7 | use image::GenericImageView; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `raw_pixels` found for enum `DynamicImage` in the current scope [INFO] [stdout] --> src/main.rs:235:136 [INFO] [stdout] | [INFO] [stdout] 235 | ...GBA, gl::UNSIGNED_BYTE, mem::transmute(img0.raw_pixels().as_ptr())); [INFO] [stdout] | ^^^^^^^^^^ method not found in `DynamicImage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `raw_pixels` found for enum `DynamicImage` in the current scope [INFO] [stdout] --> src/main.rs:235:136 [INFO] [stdout] | [INFO] [stdout] 235 | ...GBA, gl::UNSIGNED_BYTE, mem::transmute(img0.raw_pixels().as_ptr())); [INFO] [stdout] | ^^^^^^^^^^ method not found in `DynamicImage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `raw_pixels` found for enum `DynamicImage` in the current scope [INFO] [stdout] --> src/main.rs:244:135 [INFO] [stdout] | [INFO] [stdout] 244 | ...GBA, gl::UNSIGNED_BYTE, mem::transmute(img1.raw_pixels().as_ptr())); [INFO] [stdout] | ^^^^^^^^^^ method not found in `DynamicImage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `raw_pixels` found for enum `DynamicImage` in the current scope [INFO] [stdout] --> src/main.rs:244:135 [INFO] [stdout] | [INFO] [stdout] 244 | ...GBA, gl::UNSIGNED_BYTE, mem::transmute(img1.raw_pixels().as_ptr())); [INFO] [stdout] | ^^^^^^^^^^ method not found in `DynamicImage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `cgmath::Matrix4::::look_at`: Use Matrix4::look_at_rh [INFO] [stdout] --> src/main.rs:263:23 [INFO] [stdout] | [INFO] [stdout] 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] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:263:40 [INFO] [stdout] | [INFO] [stdout] 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] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `cgmath::Point3`, found reference [INFO] [stdout] | help: consider removing the borrow: `Point3::new(2.5, 2.5, 2.0)` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `cgmath::Point3<_>` [INFO] [stdout] found reference `&cgmath::Point3<{float}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:263:69 [INFO] [stdout] | [INFO] [stdout] 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] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `cgmath::Point3`, found reference [INFO] [stdout] | help: consider removing the borrow: `Point3::new(0.0, 0.0, 0.0)` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `cgmath::Point3<_>` [INFO] [stdout] found reference `&cgmath::Point3<{float}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:263:98 [INFO] [stdout] | [INFO] [stdout] 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] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `cgmath::Vector3`, found reference [INFO] [stdout] | help: consider removing the borrow: `Vector3::new(0.0, 0.0, 1.0)` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `cgmath::Vector3<_>` [INFO] [stdout] found reference `&cgmath::Vector3<{float}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `cgmath::Matrix4::::look_at`: Use Matrix4::look_at_rh [INFO] [stdout] --> src/main.rs:263:23 [INFO] [stdout] | [INFO] [stdout] 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] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:263:40 [INFO] [stdout] | [INFO] [stdout] 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] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `cgmath::Point3`, found reference [INFO] [stdout] | help: consider removing the borrow: `Point3::new(2.5, 2.5, 2.0)` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `cgmath::Point3<_>` [INFO] [stdout] found reference `&cgmath::Point3<{float}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:263:69 [INFO] [stdout] | [INFO] [stdout] 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] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `cgmath::Point3`, found reference [INFO] [stdout] | help: consider removing the borrow: `Point3::new(0.0, 0.0, 0.0)` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `cgmath::Point3<_>` [INFO] [stdout] found reference `&cgmath::Point3<{float}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:263:98 [INFO] [stdout] | [INFO] [stdout] 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] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `cgmath::Vector3`, found reference [INFO] [stdout] | help: consider removing the borrow: `Vector3::new(0.0, 0.0, 1.0)` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `cgmath::Vector3<_>` [INFO] [stdout] found reference `&cgmath::Vector3<{float}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:301:46 [INFO] [stdout] | [INFO] [stdout] 301 | let rot180 = Basis3::from_axis_angle(&Vector3::new(0.0, 0.0, 1.0), deg(180.0 * t_diff as f32).into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `cgmath::Vector3`, found reference [INFO] [stdout] | help: consider removing the borrow: `Vector3::new(0.0, 0.0, 1.0)` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `cgmath::Vector3<_>` [INFO] [stdout] found reference `&cgmath::Vector3<{float}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:301:46 [INFO] [stdout] | [INFO] [stdout] 301 | let rot180 = Basis3::from_axis_angle(&Vector3::new(0.0, 0.0, 1.0), deg(180.0 * t_diff as f32).into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `cgmath::Vector3`, found reference [INFO] [stdout] | help: consider removing the borrow: `Vector3::new(0.0, 0.0, 1.0)` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `cgmath::Vector3<_>` [INFO] [stdout] found reference `&cgmath::Vector3<{float}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:334:46 [INFO] [stdout] | [INFO] [stdout] 334 | model_m4 = Matrix4::from_translation(&Vector3::new(0.0, 0.0, -1.0)) * scale * model_m4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `cgmath::Vector3`, found reference [INFO] [stdout] | help: consider removing the borrow: `Vector3::new(0.0, 0.0, -1.0)` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `cgmath::Vector3<_>` [INFO] [stdout] found reference `&cgmath::Vector3<{float}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:334:46 [INFO] [stdout] | [INFO] [stdout] 334 | model_m4 = Matrix4::from_translation(&Vector3::new(0.0, 0.0, -1.0)) * scale * model_m4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `cgmath::Vector3`, found reference [INFO] [stdout] | help: consider removing the borrow: `Vector3::new(0.0, 0.0, -1.0)` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `cgmath::Vector3<_>` [INFO] [stdout] found reference `&cgmath::Vector3<{float}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `open-gl-tutorial` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4fe8515c75920465383bbeb2a0918368fc879abe1f1d1ccbe033a8d1f7d4f86f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fe8515c75920465383bbeb2a0918368fc879abe1f1d1ccbe033a8d1f7d4f86f", kill_on_drop: false }` [INFO] [stdout] 4fe8515c75920465383bbeb2a0918368fc879abe1f1d1ccbe033a8d1f7d4f86f