[INFO] cloning repository https://github.com/thomas-delalande/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/thomas-delalande/opengl_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomas-delalande%2Fopengl_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomas-delalande%2Fopengl_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 099a3a3094cc754e4bd1ecaa6289d776a15ed40a [INFO] testing thomas-delalande/opengl_rust against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomas-delalande%2Fopengl_rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/thomas-delalande/opengl_rust [INFO] finished tweaking git repo https://github.com/thomas-delalande/opengl_rust [INFO] tweaked toml for git repo https://github.com/thomas-delalande/opengl_rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/thomas-delalande/opengl_rust on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/thomas-delalande/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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cad1734c2a8e804b7f7976ac97bf7e7b1fbd7572f3f2e1c0ec9b0eb94902b1da [INFO] running `Command { std: "docker" "start" "-a" "cad1734c2a8e804b7f7976ac97bf7e7b1fbd7572f3f2e1c0ec9b0eb94902b1da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cad1734c2a8e804b7f7976ac97bf7e7b1fbd7572f3f2e1c0ec9b0eb94902b1da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cad1734c2a8e804b7f7976ac97bf7e7b1fbd7572f3f2e1c0ec9b0eb94902b1da", kill_on_drop: false }` [INFO] [stdout] cad1734c2a8e804b7f7976ac97bf7e7b1fbd7572f3f2e1c0ec9b0eb94902b1da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7fd942733710699886a8c1d8aac200bdeb7ec978f082b83bb5bede0ed39c8d06 [INFO] running `Command { std: "docker" "start" "-a" "7fd942733710699886a8c1d8aac200bdeb7ec978f082b83bb5bede0ed39c8d06", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling once_cell v1.13.1 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Compiling bytemuck v1.12.1 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling deflate v1.0.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling foreign-types-shared v0.3.1 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling futures-core v0.3.23 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling tiny-skia-path v0.7.0 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling png v0.17.5 [INFO] [stderr] Compiling wayland-sys v0.29.4 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling wayland-scanner v0.29.4 [INFO] [stderr] Compiling nix v0.22.3 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling nix v0.24.2 [INFO] [stderr] Compiling crossfont v0.5.0 [INFO] [stderr] Compiling x11-dl v2.20.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.0 [INFO] [stderr] Compiling memmap2 v0.5.7 [INFO] [stderr] Compiling crossbeam-deque v0.8.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling tiny-skia v0.7.0 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling raw-window-handle v0.5.0 [INFO] [stderr] Compiling spin v0.9.4 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling gimli v0.26.2 [INFO] [stderr] Compiling weezl v0.1.7 [INFO] [stderr] Compiling futures-sink v0.3.23 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling glium v0.32.1 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling wayland-commons v0.29.4 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Compiling freetype-rs v0.26.0 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling servo-fontconfig v0.5.1 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling object v0.29.0 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling wayland-client v0.29.4 [INFO] [stderr] Compiling wayland-protocols v0.29.4 [INFO] [stderr] Compiling jpeg-decoder v0.2.6 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling bit_field v0.10.1 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling gif v0.11.4 [INFO] [stderr] Compiling takeable-option v0.5.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling tiff v0.7.3 [INFO] [stderr] Compiling wayland-cursor v0.29.4 [INFO] [stderr] Compiling wayland-egl v0.29.4 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Compiling foreign-types-macros v0.2.2 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling foreign-types v0.5.0 [INFO] [stderr] Compiling thiserror v1.0.32 [INFO] [stderr] Compiling calloop v0.10.1 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling flume v0.10.14 [INFO] [stderr] Compiling exr v1.5.0 [INFO] [stderr] Compiling image v0.24.3 [INFO] [stderr] Compiling sctk-adwaita v0.4.2 [INFO] [stderr] Compiling winit v0.27.2 [INFO] [stderr] Compiling glutin v0.29.1 [INFO] [stderr] Compiling opengl_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `number` [INFO] [stdout] --> src/font_loader.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | fn nth(&self, number: u8) -> (u8, u8, u8, u8) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `font_file` [INFO] [stdout] --> src/font_loader.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn load_font(font_file: &str) -> RawImage2d { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_font_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image` [INFO] [stdout] --> src/main.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let image = font_loader::load_font(""); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vertex` is never constructed [INFO] [stdout] --> src/main.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct Vertex { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vertex` is never constructed [INFO] [stdout] --> src/teapot.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Vertex { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VERTICES` is never used [INFO] [stdout] --> src/teapot.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const VERTICES: [Vertex; 531] = [ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Normal` is never constructed [INFO] [stdout] --> src/teapot.rs:544:12 [INFO] [stdout] | [INFO] [stdout] 544 | pub struct Normal { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NORMALS` is never used [INFO] [stdout] --> src/teapot.rs:550:11 [INFO] [stdout] | [INFO] [stdout] 550 | pub const NORMALS: [Normal; 531] = [ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDICES` is never used [INFO] [stdout] --> src/teapot.rs:1085:11 [INFO] [stdout] | [INFO] [stdout] 1085 | pub const INDICES: [u16; 3072] = [ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpriteSheet` is never constructed [INFO] [stdout] --> src/font_loader.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct SpriteSheet { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `nth` is never used [INFO] [stdout] --> src/font_loader.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl SpriteSheet { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 17 | fn nth(&self, number: u8) -> (u8, u8, u8, u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/font_loader.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn load_font(font_file: &str) -> RawImage2d { [INFO] [stdout] | ^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 22 | pub fn load_font(font_file: &str) -> RawImage2d<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 38s [INFO] running `Command { std: "docker" "inspect" "7fd942733710699886a8c1d8aac200bdeb7ec978f082b83bb5bede0ed39c8d06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fd942733710699886a8c1d8aac200bdeb7ec978f082b83bb5bede0ed39c8d06", kill_on_drop: false }` [INFO] [stdout] 7fd942733710699886a8c1d8aac200bdeb7ec978f082b83bb5bede0ed39c8d06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19cf485cf76319a178f81d63a5153a0450b02a365f1955d32b027ffe9b63cc61 [INFO] running `Command { std: "docker" "start" "-a" "19cf485cf76319a178f81d63a5153a0450b02a365f1955d32b027ffe9b63cc61", kill_on_drop: false }` [INFO] [stderr] Compiling opengl_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `number` [INFO] [stdout] --> src/font_loader.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | fn nth(&self, number: u8) -> (u8, u8, u8, u8) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `font_file` [INFO] [stdout] --> src/font_loader.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn load_font(font_file: &str) -> RawImage2d { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_font_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image` [INFO] [stdout] --> src/main.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let image = font_loader::load_font(""); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vertex` is never constructed [INFO] [stdout] --> src/main.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct Vertex { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vertex` is never constructed [INFO] [stdout] --> src/teapot.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Vertex { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VERTICES` is never used [INFO] [stdout] --> src/teapot.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const VERTICES: [Vertex; 531] = [ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Normal` is never constructed [INFO] [stdout] --> src/teapot.rs:544:12 [INFO] [stdout] | [INFO] [stdout] 544 | pub struct Normal { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NORMALS` is never used [INFO] [stdout] --> src/teapot.rs:550:11 [INFO] [stdout] | [INFO] [stdout] 550 | pub const NORMALS: [Normal; 531] = [ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDICES` is never used [INFO] [stdout] --> src/teapot.rs:1085:11 [INFO] [stdout] | [INFO] [stdout] 1085 | pub const INDICES: [u16; 3072] = [ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpriteSheet` is never constructed [INFO] [stdout] --> src/font_loader.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct SpriteSheet { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `nth` is never used [INFO] [stdout] --> src/font_loader.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl SpriteSheet { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 17 | fn nth(&self, number: u8) -> (u8, u8, u8, u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/font_loader.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn load_font(font_file: &str) -> RawImage2d { [INFO] [stdout] | ^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 22 | pub fn load_font(font_file: &str) -> RawImage2d<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.82s [INFO] running `Command { std: "docker" "inspect" "19cf485cf76319a178f81d63a5153a0450b02a365f1955d32b027ffe9b63cc61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19cf485cf76319a178f81d63a5153a0450b02a365f1955d32b027ffe9b63cc61", kill_on_drop: false }` [INFO] [stdout] 19cf485cf76319a178f81d63a5153a0450b02a365f1955d32b027ffe9b63cc61 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d6d26cf392b5a05f3dcdd67a27208c3f047c4e80c1e471c1e02dfb8029a91ac5 [INFO] running `Command { std: "docker" "start" "-a" "d6d26cf392b5a05f3dcdd67a27208c3f047c4e80c1e471c1e02dfb8029a91ac5", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `number` [INFO] [stderr] --> src/font_loader.rs:17:19 [INFO] [stderr] | [INFO] [stderr] 17 | fn nth(&self, number: u8) -> (u8, u8, u8, u8) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `font_file` [INFO] [stderr] --> src/font_loader.rs:22:18 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn load_font(font_file: &str) -> RawImage2d { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_font_file` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `image` [INFO] [stderr] --> src/main.rs:63:9 [INFO] [stderr] | [INFO] [stderr] 63 | let image = font_loader::load_font(""); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_image` [INFO] [stderr] [INFO] [stderr] warning: struct `Vertex` is never constructed [INFO] [stderr] --> src/main.rs:10:8 [INFO] [stderr] | [INFO] [stderr] 10 | struct Vertex { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Vertex` is never constructed [INFO] [stderr] --> src/teapot.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | pub struct Vertex { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `VERTICES` is never used [INFO] [stderr] --> src/teapot.rs:8:11 [INFO] [stderr] | [INFO] [stderr] 8 | pub const VERTICES: [Vertex; 531] = [ [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Normal` is never constructed [INFO] [stderr] --> src/teapot.rs:544:12 [INFO] [stderr] | [INFO] [stderr] 544 | pub struct Normal { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `NORMALS` is never used [INFO] [stderr] --> src/teapot.rs:550:11 [INFO] [stderr] | [INFO] [stderr] 550 | pub const NORMALS: [Normal; 531] = [ [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `INDICES` is never used [INFO] [stderr] --> src/teapot.rs:1085:11 [INFO] [stderr] | [INFO] [stderr] 1085 | pub const INDICES: [u16; 3072] = [ [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `SpriteSheet` is never constructed [INFO] [stderr] --> src/font_loader.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct SpriteSheet { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `nth` is never used [INFO] [stderr] --> src/font_loader.rs:17:8 [INFO] [stderr] | [INFO] [stderr] 16 | impl SpriteSheet { [INFO] [stderr] | ---------------- method in this implementation [INFO] [stderr] 17 | fn nth(&self, number: u8) -> (u8, u8, u8, u8) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/font_loader.rs:22:29 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn load_font(font_file: &str) -> RawImage2d { [INFO] [stderr] | ^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 22 | pub fn load_font(font_file: &str) -> RawImage2d<'_, u8> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `opengl_rust` (bin "opengl_rust" test) generated 12 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/opengl_rust-5c386690f9247661) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d6d26cf392b5a05f3dcdd67a27208c3f047c4e80c1e471c1e02dfb8029a91ac5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6d26cf392b5a05f3dcdd67a27208c3f047c4e80c1e471c1e02dfb8029a91ac5", kill_on_drop: false }` [INFO] [stdout] d6d26cf392b5a05f3dcdd67a27208c3f047c4e80c1e471c1e02dfb8029a91ac5