[INFO] cloning repository https://github.com/Abdillah/piston-transpi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Abdillah/piston-transpi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbdillah%2Fpiston-transpi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbdillah%2Fpiston-transpi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 97b7ec1cf3f778fa7f550e1bb159ae3f0f0d355f [INFO] building Abdillah/piston-transpi against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbdillah%2Fpiston-transpi" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Abdillah/piston-transpi [INFO] finished tweaking git repo https://github.com/Abdillah/piston-transpi [INFO] tweaked toml for git repo https://github.com/Abdillah/piston-transpi written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Abdillah/piston-transpi on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Abdillah/piston-transpi 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 24 packages to latest compatible versions [INFO] [stderr] Adding autocfg v0.1.8 [INFO] [stderr] Adding autocfg v1.5.0 [INFO] [stderr] Adding fuchsia-cprng v0.1.1 [INFO] [stderr] Updating libc v0.2.76 -> v0.2.176 [INFO] [stderr] Adding piston v0.52.1 (available: v1.0.0) [INFO] [stderr] Adding pistoncore-event_loop v0.52.0 [INFO] [stderr] Adding pistoncore-input v1.0.1 [INFO] [stderr] Adding pistoncore-sdl2_window v0.66.0 (available: v0.71.0) [INFO] [stderr] Adding pistoncore-window v0.47.1 [INFO] [stderr] Adding rand v0.6.5 (available: v0.9.2) [INFO] [stderr] Adding rand_chacha v0.1.1 [INFO] [stderr] Adding rand_core v0.3.1 [INFO] [stderr] Adding rand_core v0.4.2 [INFO] [stderr] Adding rand_hc v0.1.0 [INFO] [stderr] Adding rand_isaac v0.1.1 [INFO] [stderr] Adding rand_jitter v0.1.4 [INFO] [stderr] Adding rand_os v0.1.3 [INFO] [stderr] Adding rand_pcg v0.1.2 [INFO] [stderr] Adding rand_xorshift v0.1.1 [INFO] [stderr] Adding rdrand v0.4.0 [INFO] [stderr] Adding sdl2 v0.34.5 (available: v0.38.0) [INFO] [stderr] Adding sdl2-sys v0.34.5 [INFO] [stderr] Adding serde_derive v1.0.118 (available: v1.0.228) [INFO] [stderr] Adding version-compare v0.0.10 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded takeable-option v0.4.0 [INFO] [stderr] Downloaded serde_derive v1.0.118 [INFO] [stderr] Downloaded version-compare v0.0.10 [INFO] [stderr] Downloaded piston2d-opengl_graphics v0.74.0 [INFO] [stderr] Downloaded pistoncore-sdl2_window v0.66.0 [INFO] [stderr] Downloaded instant v0.1.6 [INFO] [stderr] Downloaded serde v1.0.115 [INFO] [stderr] Downloaded libloading v0.6.3 [INFO] [stderr] Downloaded cocoa v0.20.2 [INFO] [stderr] Downloaded rayon-core v1.8.0 [INFO] [stderr] Downloaded piston2d-graphics v0.37.0 [INFO] [stderr] Downloaded sdl2 v0.34.5 [INFO] [stderr] Downloaded smallvec v1.4.2 [INFO] [stderr] Downloaded cc v1.0.59 [INFO] [stderr] Downloaded syn v1.0.39 [INFO] [stderr] Downloaded image v0.23.9 [INFO] [stderr] Downloaded glutin v0.24.1 [INFO] [stderr] Downloaded crossbeam-channel v0.4.3 [INFO] [stderr] Downloaded sdl2-sys v0.34.5 [INFO] [stderr] Downloaded piston v0.52.1 [INFO] [stderr] Downloaded bytemuck v1.4.0 [INFO] [stderr] Downloaded either v1.6.0 [INFO] [stderr] Downloaded khronos_api v2.2.0 [INFO] [stderr] Downloaded rayon v1.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c64144d2fbf8212acfac1f386e300a4dfe8654bc1093f3798c11d44976222d9 [INFO] running `Command { std: "docker" "start" "-a" "3c64144d2fbf8212acfac1f386e300a4dfe8654bc1093f3798c11d44976222d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c64144d2fbf8212acfac1f386e300a4dfe8654bc1093f3798c11d44976222d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c64144d2fbf8212acfac1f386e300a4dfe8654bc1093f3798c11d44976222d9", kill_on_drop: false }` [INFO] [stdout] 3c64144d2fbf8212acfac1f386e300a4dfe8654bc1093f3798c11d44976222d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83d5dc74df6ae8560367da3ebfb90efca77a26345df05eee280f4c7fcc11a71c [INFO] running `Command { std: "docker" "start" "-a" "83d5dc74df6ae8560367da3ebfb90efca77a26345df05eee280f4c7fcc11a71c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling libloading v0.6.3 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling piston-float v1.0.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling piston-viewport v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling rayon-core v1.8.0 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling piston-graphics_api_version v1.0.0 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rayon v1.4.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling wayland-sys v0.23.6 [INFO] [stderr] Compiling sdl2-sys v0.34.5 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling either v1.6.0 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling crossbeam-channel v0.4.3 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling cc v1.0.59 [INFO] [stderr] Compiling ordered-float v1.1.0 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling sdl2 v0.34.5 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling tiff v0.5.0 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling png v0.16.7 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling shader_version v0.7.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling vecmath v1.0.0 [INFO] [stderr] Compiling instant v0.1.6 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling interpolation v0.2.0 [INFO] [stderr] Compiling piston-texture v0.8.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling bytemuck v1.4.0 [INFO] [stderr] Compiling piston2d-graphics v0.37.0 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Compiling takeable-option v0.4.0 [INFO] [stderr] Compiling transpi v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling calloop v0.4.4 [INFO] [stderr] Compiling wayland-commons v0.23.6 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling image v0.23.9 [INFO] [stderr] Compiling pistoncore-input v1.0.1 [INFO] [stderr] Compiling pistoncore-window v0.47.1 [INFO] [stderr] Compiling pistoncore-event_loop v0.52.0 [INFO] [stderr] Compiling pistoncore-sdl2_window v0.66.0 [INFO] [stderr] Compiling piston2d-opengl_graphics v0.74.0 [INFO] [stderr] Compiling piston v0.52.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.6.6 [INFO] [stderr] Compiling winit v0.22.2 [INFO] [stderr] Compiling glutin v0.24.1 [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:44:6 [INFO] [stdout] | [INFO] [stdout] 44 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graphics::character::CharacterCache` [INFO] [stdout] --> src/main.rs:165:25 [INFO] [stdout] | [INFO] [stdout] 165 | use graphics::character::CharacterCache; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ControlFlow` and `EventLoop` [INFO] [stdout] --> src/withsdl.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use glutin::event_loop::{ControlFlow, EventLoop}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glutin::window::WindowBuilder` [INFO] [stdout] --> src/withsdl.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use glutin::window::WindowBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glutin::ContextBuilder` [INFO] [stdout] --> src/withsdl.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use glutin::ContextBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::pixels::Color` [INFO] [stdout] --> src/withsdl.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use sdl2::pixels::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/withsdl.rs:48:6 [INFO] [stdout] | [INFO] [stdout] 48 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/withsdl.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | let ctx = window.gl_create_context().unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `interp` is never used [INFO] [stdout] --> src/main.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn interp(s1: f64, s2: f64, distance: f64) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WHITISH` is never used [INFO] [stdout] --> src/main.rs:139:23 [INFO] [stdout] | [INFO] [stdout] 139 | const WHITISH: [f32; 4] = [0.8, 0.8, 0.8, 1.0]; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLACK` is never used [INFO] [stdout] --> src/main.rs:141:23 [INFO] [stdout] | [INFO] [stdout] 141 | const BLACK: [f32; 4] = [0.0, 0.0, 0.0, 1.0]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GREEN` is never used [INFO] [stdout] --> src/main.rs:142:23 [INFO] [stdout] | [INFO] [stdout] 142 | const GREEN: [f32; 4] = [0.0, 0.5, 0.0, 1.0]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Point` is never used [INFO] [stdout] --> src/withsdl.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | type Point = [f64; 2]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bezier_curve_points` is never used [INFO] [stdout] --> src/withsdl.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn bezier_curve_points<'a>(p1: &'a Point, p2: &Point, p3: &Point) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `interp` is never used [INFO] [stdout] --> src/withsdl.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn interp(s1: f64, s2: f64, distance: f64) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_rounded_rect_points` is never used [INFO] [stdout] --> src/withsdl.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn get_rounded_rect_points(rect: graphics::types::Rectangle, radius: f64) -> Vec<[f64; 2]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WHITE` is never used [INFO] [stdout] --> src/withsdl.rs:143:11 [INFO] [stdout] | [INFO] [stdout] 143 | const WHITE: [f32; 4] = [1.0, 1.0, 1.0, 1.0]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GRAY` is never used [INFO] [stdout] --> src/withsdl.rs:145:11 [INFO] [stdout] | [INFO] [stdout] 145 | const GRAY: [f32; 4] = [0.4, 0.4, 0.4, 0.9]; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLACK` is never used [INFO] [stdout] --> src/withsdl.rs:146:11 [INFO] [stdout] | [INFO] [stdout] 146 | const BLACK: [f32; 4] = [0.0, 0.0, 0.0, 1.0]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | glycache.preload_printable_ascii(fontsize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 157 | let _ = glycache.preload_printable_ascii(fontsize); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 09s [INFO] running `Command { std: "docker" "inspect" "83d5dc74df6ae8560367da3ebfb90efca77a26345df05eee280f4c7fcc11a71c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83d5dc74df6ae8560367da3ebfb90efca77a26345df05eee280f4c7fcc11a71c", kill_on_drop: false }` [INFO] [stdout] 83d5dc74df6ae8560367da3ebfb90efca77a26345df05eee280f4c7fcc11a71c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc77e90cf8ea285528267f598e28809c7846b9e0e3fbbb83261bfaabc361b151 [INFO] running `Command { std: "docker" "start" "-a" "fc77e90cf8ea285528267f598e28809c7846b9e0e3fbbb83261bfaabc361b151", kill_on_drop: false }` [INFO] [stderr] Compiling transpi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:44:6 [INFO] [stdout] | [INFO] [stdout] 44 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graphics::character::CharacterCache` [INFO] [stdout] --> src/main.rs:165:25 [INFO] [stdout] | [INFO] [stdout] 165 | use graphics::character::CharacterCache; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ControlFlow` and `EventLoop` [INFO] [stdout] --> src/withsdl.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use glutin::event_loop::{ControlFlow, EventLoop}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glutin::window::WindowBuilder` [INFO] [stdout] --> src/withsdl.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use glutin::window::WindowBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glutin::ContextBuilder` [INFO] [stdout] --> src/withsdl.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use glutin::ContextBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::pixels::Color` [INFO] [stdout] --> src/withsdl.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use sdl2::pixels::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/withsdl.rs:48:6 [INFO] [stdout] | [INFO] [stdout] 48 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `interp` is never used [INFO] [stdout] --> src/main.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn interp(s1: f64, s2: f64, distance: f64) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | glycache.preload_printable_ascii(fontsize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 157 | let _ = glycache.preload_printable_ascii(fontsize); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/withsdl.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | let ctx = window.gl_create_context().unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Point` is never used [INFO] [stdout] --> src/withsdl.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | type Point = [f64; 2]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bezier_curve_points` is never used [INFO] [stdout] --> src/withsdl.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn bezier_curve_points<'a>(p1: &'a Point, p2: &Point, p3: &Point) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `interp` is never used [INFO] [stdout] --> src/withsdl.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn interp(s1: f64, s2: f64, distance: f64) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_rounded_rect_points` is never used [INFO] [stdout] --> src/withsdl.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn get_rounded_rect_points(rect: graphics::types::Rectangle, radius: f64) -> Vec<[f64; 2]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.80s [INFO] running `Command { std: "docker" "inspect" "fc77e90cf8ea285528267f598e28809c7846b9e0e3fbbb83261bfaabc361b151", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc77e90cf8ea285528267f598e28809c7846b9e0e3fbbb83261bfaabc361b151", kill_on_drop: false }` [INFO] [stdout] fc77e90cf8ea285528267f598e28809c7846b9e0e3fbbb83261bfaabc361b151