[INFO] cloning repository https://github.com/bigworlds/demo1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bigworlds/demo1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbigworlds%2Fdemo1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbigworlds%2Fdemo1'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d05e737818d8d17bc1342e6335dd6de36dc899d3 [INFO] building bigworlds/demo1 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbigworlds%2Fdemo1" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bigworlds/demo1 [INFO] finished tweaking git repo https://github.com/bigworlds/demo1 [INFO] tweaked toml for git repo https://github.com/bigworlds/demo1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bigworlds/demo1 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/bigworlds/demo1 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] Downloading crates ... [INFO] [stderr] Downloaded thiserror-impl v1.0.34 [INFO] [stderr] Downloaded semver v1.0.13 [INFO] [stderr] Downloaded coreaudio-sys v0.2.10 [INFO] [stderr] Downloaded sha1_smol v1.0.0 [INFO] [stderr] Downloaded clang-sys v1.3.3 [INFO] [stderr] Downloaded camino v1.1.1 [INFO] [stderr] Downloaded bytecount v0.6.3 [INFO] [stderr] Downloaded pulldown-cmark v0.9.2 [INFO] [stderr] Downloaded cargo-platform v0.1.2 [INFO] [stderr] Downloaded thiserror v1.0.34 [INFO] [stderr] Downloaded serde_json v1.0.85 [INFO] [stderr] Downloaded bindgen v0.59.2 [INFO] [stderr] Downloaded libm v0.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 24673ca8c11bf7ac38d13053bfea1f1e321ccc5c84aa2255847a849c24b585ae [INFO] running `Command { std: "docker" "start" "-a" "24673ca8c11bf7ac38d13053bfea1f1e321ccc5c84aa2255847a849c24b585ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "24673ca8c11bf7ac38d13053bfea1f1e321ccc5c84aa2255847a849c24b585ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24673ca8c11bf7ac38d13053bfea1f1e321ccc5c84aa2255847a849c24b585ae", kill_on_drop: false }` [INFO] [stdout] 24673ca8c11bf7ac38d13053bfea1f1e321ccc5c84aa2255847a849c24b585ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] ef1545ea28d633940db3e302a810e173569ad2c5fb76006f6a04728da86054ca [INFO] running `Command { std: "docker" "start" "-a" "ef1545ea28d633940db3e302a810e173569ad2c5fb76006f6a04728da86054ca", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling libm v0.2.5 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling wayland-sys v0.21.13 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling semver v1.0.13 [INFO] [stderr] Compiling camino v1.1.1 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling x11-dl v2.20.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling pulldown-cmark v0.9.2 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling gfx_core v0.9.2 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling xdg v2.4.1 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling euclid v0.19.9 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling sid v0.5.2 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling xi-unicode v0.2.1 [INFO] [stderr] Compiling bytecount v0.6.3 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling lyon_geom v0.12.7 [INFO] [stderr] Compiling matrixmultiply v0.2.4 [INFO] [stderr] Compiling alga v0.9.3 [INFO] [stderr] Compiling glyph_brush_layout v0.1.9 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling lyon_path v0.13.2 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling slice-deque v0.3.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling ogg v0.7.1 [INFO] [stderr] Compiling mint v0.5.9 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling png v0.15.3 [INFO] [stderr] Compiling lyon_tessellation v0.13.5 [INFO] [stderr] Compiling lyon_algorithms v0.13.4 [INFO] [stderr] Compiling wayland-commons v0.21.13 [INFO] [stderr] Compiling nalgebra v0.18.1 [INFO] [stderr] Compiling lewton v0.9.4 [INFO] [stderr] Compiling minimp3 v0.3.5 [INFO] [stderr] Compiling thiserror-impl v1.0.34 [INFO] [stderr] Compiling gfx_device_gl v0.16.2 [INFO] [stderr] Compiling tiff v0.3.1 [INFO] [stderr] Compiling cpal v0.8.2 [INFO] [stderr] Compiling glyph_brush v0.6.3 [INFO] [stderr] Compiling bzip2 v0.4.3 [INFO] [stderr] Compiling claxon v0.4.3 [INFO] [stderr] Compiling image v0.22.5 [INFO] [stderr] Compiling lyon v0.13.5 [INFO] [stderr] Compiling glyph_brush v0.5.4 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling gfx v0.18.2 [INFO] [stderr] Compiling directories v2.0.2 [INFO] [stderr] Compiling glam v0.21.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling thiserror v1.0.34 [INFO] [stderr] Compiling zip v0.5.13 [INFO] [stderr] Compiling gilrs-core v0.2.6 [INFO] [stderr] Compiling gilrs v0.7.4 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling cargo-platform v0.1.2 [INFO] [stderr] Compiling rodio v0.9.0 [INFO] [stderr] Compiling cargo_metadata v0.14.2 [INFO] [stderr] Compiling skeptic v0.13.7 [INFO] [stderr] Compiling ggez v0.5.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.4.6 [INFO] [stderr] Compiling winit v0.19.5 [INFO] [stderr] Compiling glutin v0.20.1 [INFO] [stderr] Compiling gfx_window_glutin v0.30.0 [INFO] [stderr] Compiling rusty_pong v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:95:59 [INFO] [stdout] | [INFO] [stdout] 95 | let box_down_centre = glam::Vec2::new(screen_w * 0.5, (screen_h+ (screen_h * 0.5))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 95 - let box_down_centre = glam::Vec2::new(screen_w * 0.5, (screen_h+ (screen_h * 0.5))); [INFO] [stdout] 95 + let box_down_centre = glam::Vec2::new(screen_w * 0.5, screen_h+ (screen_h * 0.5)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `screen_h` [INFO] [stdout] --> src/main.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let screen_h = graphics::drawable_size(ctx).1; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 59 | let _screen_h = graphics::drawable_size(ctx).1; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MIDDLE_LINE_W` [INFO] [stdout] | [INFO] [stdout] 59 - let screen_h = graphics::drawable_size(ctx).1; [INFO] [stdout] 59 + let MIDDLE_LINE_W = graphics::drawable_size(ctx).1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `screen_h_half` [INFO] [stdout] --> src/main.rs:172:29 [INFO] [stdout] | [INFO] [stdout] 172 | let (screen_w_half, screen_h_half) = (screen_w * 0.5, screen_h * 0.5); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 172 | let (screen_w_half, _screen_h_half) = (screen_w * 0.5, screen_h * 0.5); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MIDDLE_LINE_W` [INFO] [stdout] | [INFO] [stdout] 172 - let (screen_w_half, screen_h_half) = (screen_w * 0.5, screen_h * 0.5); [INFO] [stdout] 172 + let (screen_w_half, MIDDLE_LINE_W) = (screen_w * 0.5, screen_h * 0.5); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PADDING` is never used [INFO] [stdout] --> src/main.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const PADDING: f32 = 40.; [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 `sdSphere` is never used [INFO] [stdout] --> src/main.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn sdSphere(x: glam::Vec2, pos: glam::Vec2, rad : f32) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Vec2::normalize` that must be used [INFO] [stdout] --> src/main.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | vec.normalize(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] 77 | let _ = vec.normalize(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sdSphere` should have a snake case name [INFO] [stdout] --> src/main.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn sdSphere(x: glam::Vec2, pos: glam::Vec2, rad : f32) -> f32 { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `sd_sphere` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sdBox` should have a snake case name [INFO] [stdout] --> src/main.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn sdBox(x: glam::Vec2, pos: glam::Vec2, ext: glam::Vec2) -> f32{ [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `sd_box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `distVec` should have a snake case name [INFO] [stdout] --> src/main.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | let distVec = dist.abs() - ext; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `dist_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sdScene` should have a snake case name [INFO] [stdout] --> src/main.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | fn sdScene(x: glam::Vec2, screen_w: f32, screen_h: f32) -> f32{ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `sd_scene` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | event::run(ctx, event_loop, &mut state); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 194 | let _ = event::run(ctx, event_loop, &mut state); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 46s [INFO] running `Command { std: "docker" "inspect" "ef1545ea28d633940db3e302a810e173569ad2c5fb76006f6a04728da86054ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef1545ea28d633940db3e302a810e173569ad2c5fb76006f6a04728da86054ca", kill_on_drop: false }` [INFO] [stdout] ef1545ea28d633940db3e302a810e173569ad2c5fb76006f6a04728da86054ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 1a268e54da843fe40f81a5676f327ca59ef2b50ca7c7eac0fdde7762c0e57c63 [INFO] running `Command { std: "docker" "start" "-a" "1a268e54da843fe40f81a5676f327ca59ef2b50ca7c7eac0fdde7762c0e57c63", kill_on_drop: false }` [INFO] [stderr] Compiling rusty_pong v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:95:59 [INFO] [stdout] | [INFO] [stdout] 95 | let box_down_centre = glam::Vec2::new(screen_w * 0.5, (screen_h+ (screen_h * 0.5))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 95 - let box_down_centre = glam::Vec2::new(screen_w * 0.5, (screen_h+ (screen_h * 0.5))); [INFO] [stdout] 95 + let box_down_centre = glam::Vec2::new(screen_w * 0.5, screen_h+ (screen_h * 0.5)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `screen_h` [INFO] [stdout] --> src/main.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let screen_h = graphics::drawable_size(ctx).1; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 59 | let _screen_h = graphics::drawable_size(ctx).1; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MIDDLE_LINE_W` [INFO] [stdout] | [INFO] [stdout] 59 - let screen_h = graphics::drawable_size(ctx).1; [INFO] [stdout] 59 + let MIDDLE_LINE_W = graphics::drawable_size(ctx).1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `screen_h_half` [INFO] [stdout] --> src/main.rs:172:29 [INFO] [stdout] | [INFO] [stdout] 172 | let (screen_w_half, screen_h_half) = (screen_w * 0.5, screen_h * 0.5); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 172 | let (screen_w_half, _screen_h_half) = (screen_w * 0.5, screen_h * 0.5); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MIDDLE_LINE_W` [INFO] [stdout] | [INFO] [stdout] 172 - let (screen_w_half, screen_h_half) = (screen_w * 0.5, screen_h * 0.5); [INFO] [stdout] 172 + let (screen_w_half, MIDDLE_LINE_W) = (screen_w * 0.5, screen_h * 0.5); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PADDING` is never used [INFO] [stdout] --> src/main.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const PADDING: f32 = 40.; [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 `sdSphere` is never used [INFO] [stdout] --> src/main.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn sdSphere(x: glam::Vec2, pos: glam::Vec2, rad : f32) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Vec2::normalize` that must be used [INFO] [stdout] --> src/main.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | vec.normalize(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] 77 | let _ = vec.normalize(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sdSphere` should have a snake case name [INFO] [stdout] --> src/main.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn sdSphere(x: glam::Vec2, pos: glam::Vec2, rad : f32) -> f32 { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `sd_sphere` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sdBox` should have a snake case name [INFO] [stdout] --> src/main.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn sdBox(x: glam::Vec2, pos: glam::Vec2, ext: glam::Vec2) -> f32{ [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `sd_box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `distVec` should have a snake case name [INFO] [stdout] --> src/main.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | let distVec = dist.abs() - ext; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `dist_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sdScene` should have a snake case name [INFO] [stdout] --> src/main.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | fn sdScene(x: glam::Vec2, screen_w: f32, screen_h: f32) -> f32{ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `sd_scene` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | event::run(ctx, event_loop, &mut state); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 194 | let _ = event::run(ctx, event_loop, &mut state); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.61s [INFO] running `Command { std: "docker" "inspect" "1a268e54da843fe40f81a5676f327ca59ef2b50ca7c7eac0fdde7762c0e57c63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a268e54da843fe40f81a5676f327ca59ef2b50ca7c7eac0fdde7762c0e57c63", kill_on_drop: false }` [INFO] [stdout] 1a268e54da843fe40f81a5676f327ca59ef2b50ca7c7eac0fdde7762c0e57c63