[INFO] cloning repository https://github.com/andogq/opengl_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andogq/opengl_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandogq%2Fopengl_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandogq%2Fopengl_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3a323b76ffa9458b6cc4fdbc90b9983e1f805aac [INFO] checking andogq/opengl_rust against master#18a6d911caba59605eb03db1452848a85d2e5879 for pr-112743 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandogq%2Fopengl_rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andogq/opengl_rust on toolchain 18a6d911caba59605eb03db1452848a85d2e5879 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/andogq/opengl_rust [INFO] finished tweaking git repo https://github.com/andogq/opengl_rust [INFO] tweaked toml for git repo https://github.com/andogq/opengl_rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/andogq/opengl_rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1fb30df54c974e4521a08069603dfb54a1cc0e210485821fb125d2958ccef4f2 [INFO] running `Command { std: "docker" "start" "-a" "1fb30df54c974e4521a08069603dfb54a1cc0e210485821fb125d2958ccef4f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1fb30df54c974e4521a08069603dfb54a1cc0e210485821fb125d2958ccef4f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fb30df54c974e4521a08069603dfb54a1cc0e210485821fb125d2958ccef4f2", kill_on_drop: false }` [INFO] [stdout] 1fb30df54c974e4521a08069603dfb54a1cc0e210485821fb125d2958ccef4f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6cdc957e856825a09d89d0cf71e32a9cdd8f1c0f1033f356fc95251cd05c086 [INFO] running `Command { std: "docker" "start" "-a" "d6cdc957e856825a09d89d0cf71e32a9cdd8f1c0f1033f356fc95251cd05c086", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling wayland-sys v0.28.5 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Checking bytemuck v1.7.0 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling wayland-scanner v0.28.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking nix v0.18.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking x11-dl v2.18.5 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking rayon-core v1.9.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rayon v1.5.1 [INFO] [stderr] Compiling wayland-client v0.28.5 [INFO] [stderr] Compiling wayland-protocols v0.28.5 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking wayland-commons v0.28.5 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking wayland-cursor v0.28.5 [INFO] [stderr] Checking wayland-egl v0.28.5 [INFO] [stderr] Checking noise v0.7.0 [INFO] [stderr] Checking smithay-client-toolkit v0.12.3 [INFO] [stderr] Checking winit v0.24.0 [INFO] [stderr] Checking glutin v0.26.0 [INFO] [stderr] Checking opengl_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `lights` [INFO] [stdout] --> src/engine/renderer.rs:28:76 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn render(&self, camera: &Camera, objects: &[Box], lights: &[Box]) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lights` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/engine.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let id = self.add_object(object); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lights` [INFO] [stdout] --> src/engine/renderer.rs:28:76 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn render(&self, camera: &Camera, objects: &[Box], lights: &[Box]) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lights` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `object_updates` is never read [INFO] [stdout] --> src/engine.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Engine<'a, T> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | object_updates: Vec<(usize, &'a dyn Fn())> [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_updatable` is never used [INFO] [stdout] --> src/engine.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl<'a, T> Engine<'a, T> { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn add_updatable(&mut self, object: Box) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/engine/models/square.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Square { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 16 | pub fn new() -> Square { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/engine.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let id = self.add_object(object); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `object_updates` is never read [INFO] [stdout] --> src/engine.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Engine<'a, T> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | object_updates: Vec<(usize, &'a dyn Fn())> [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_updatable` is never used [INFO] [stdout] --> src/engine.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl<'a, T> Engine<'a, T> { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn add_updatable(&mut self, object: Box) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/engine/models/square.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Square { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 16 | pub fn new() -> Square { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.23s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] running `Command { std: "docker" "inspect" "d6cdc957e856825a09d89d0cf71e32a9cdd8f1c0f1033f356fc95251cd05c086", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6cdc957e856825a09d89d0cf71e32a9cdd8f1c0f1033f356fc95251cd05c086", kill_on_drop: false }` [INFO] [stdout] d6cdc957e856825a09d89d0cf71e32a9cdd8f1c0f1033f356fc95251cd05c086