[INFO] cloning repository https://github.com/igaryhe/cg [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/igaryhe/cg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Figaryhe%2Fcg", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Figaryhe%2Fcg'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9e60e4e9e5733d17518f94e0fa04c05d78db8001 [INFO] building igaryhe/cg against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Figaryhe%2Fcg" "/workspace/builds/worker-20/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-20/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/igaryhe/cg on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/igaryhe/cg [INFO] finished tweaking git repo https://github.com/igaryhe/cg [INFO] tweaked toml for git repo https://github.com/igaryhe/cg written to /workspace/builds/worker-20/source/Cargo.toml [INFO] crate git repo https://github.com/igaryhe/cg already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77dac5aefcef6cd2ac35616bd369452100a2819e1fe7c4bb9e909645713ed5b0 [INFO] running `Command { std: "docker" "start" "-a" "77dac5aefcef6cd2ac35616bd369452100a2819e1fe7c4bb9e909645713ed5b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77dac5aefcef6cd2ac35616bd369452100a2819e1fe7c4bb9e909645713ed5b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77dac5aefcef6cd2ac35616bd369452100a2819e1fe7c4bb9e909645713ed5b0", kill_on_drop: false }` [INFO] [stdout] 77dac5aefcef6cd2ac35616bd369452100a2819e1fe7c4bb9e909645713ed5b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c5dbe7a39e15d69459903be484ef14a387e8e3c3024cee16c3b95e0040c997d [INFO] running `Command { std: "docker" "start" "-a" "4c5dbe7a39e15d69459903be484ef14a387e8e3c3024cee16c3b95e0040c997d", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.75 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling either v1.6.0 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling mint v0.5.5 [INFO] [stderr] Compiling glam v0.9.3 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling once_cell v1.4.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling bytemuck v1.3.1 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling inventory v0.1.8 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling cc v1.0.59 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling number_prefix v0.3.0 [INFO] [stderr] Compiling anyhow v1.0.35 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.0 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling glam v0.10.2 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling matrixmultiply v0.2.3 [INFO] [stderr] Compiling wayland-sys v0.27.0 [INFO] [stderr] Compiling xkbcommon-sys v0.7.4 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling tiff v0.5.0 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling png v0.16.7 [INFO] [stderr] Compiling wayland-scanner v0.27.0 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling assignment_1 v0.1.0 (/opt/rustwide/workdir/assignment_1) [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling termios v0.3.2 [INFO] [stderr] Compiling terminal_size v0.1.13 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling console v0.12.0 [INFO] [stderr] Compiling minifb v0.18.0 [INFO] [stderr] Compiling xkb v0.2.1 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling wayland-client v0.27.0 [INFO] [stderr] Compiling wayland-protocols v0.27.0 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling wayland-commons v0.27.0 [INFO] [stderr] Compiling xcursor v0.3.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling generic-array v0.13.2 [INFO] [stderr] Compiling ctor v0.1.15 [INFO] [stderr] Compiling inventory-impl v0.1.8 [INFO] [stderr] Compiling ghost v0.1.2 [INFO] [stderr] Compiling typetag-impl v0.1.5 [INFO] [stderr] Compiling paste v0.1.18 [INFO] [stderr] Compiling simba v0.2.0 [INFO] [stderr] Compiling nalgebra v0.22.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling indicatif v0.15.0 [INFO] [stderr] Compiling image v0.23.8 [INFO] [stderr] Compiling wayland-cursor v0.27.0 [INFO] [stderr] Compiling erased-serde v0.3.12 [INFO] [stderr] Compiling typetag v0.1.5 [INFO] [stderr] Compiling assignment_5 v0.1.0 (/opt/rustwide/workdir/assignment_5) [INFO] [stdout] warning: variant is never constructed: `Triangle` [INFO] [stdout] --> assignment_5/src/attributes.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | Triangle, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `PrimitiveType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> assignment_5/src/attributes.rs:158:16 [INFO] [stdout] | [INFO] [stdout] 158 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Gif` [INFO] [stdout] --> assignment_5/src/attributes.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | Gif, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `RenderType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> assignment_5/src/attributes.rs:164:16 [INFO] [stdout] | [INFO] [stdout] 164 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling assignment_6 v0.1.0 (/opt/rustwide/workdir/assignment_6) [INFO] [stdout] warning: unused variable: `uniform` [INFO] [stdout] --> assignment_6/src/main.rs:24:36 [INFO] [stdout] | [INFO] [stdout] 24 | |va: VertexAttributes, uniform: UniformAttributes| va ); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_uniform` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uniform` [INFO] [stdout] --> assignment_6/src/main.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | |va: VertexAttributes, uniform| [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_uniform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `previous` [INFO] [stdout] --> assignment_6/src/main.rs:31:38 [INFO] [stdout] | [INFO] [stdout] 31 | |fa: FragmentAttributes, previous: Rgba| [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_previous` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> assignment_6/src/main.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | fn mouse_move(&self, x: f32, y: f32) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> assignment_6/src/main.rs:52:34 [INFO] [stdout] | [INFO] [stdout] 52 | fn mouse_move(&self, x: f32, y: f32) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> assignment_6/src/main.rs:54:49 [INFO] [stdout] | [INFO] [stdout] 54 | fn mouse_pressed(&mut self, x: f32, y: f32, button: minifb::MouseButton) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dx` [INFO] [stdout] --> assignment_6/src/main.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | fn mouse_wheel(dx: u32, dy: u32, is_direction_normal: bool) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dy` [INFO] [stdout] --> assignment_6/src/main.rs:61:29 [INFO] [stdout] | [INFO] [stdout] 61 | fn mouse_wheel(dx: u32, dy: u32, is_direction_normal: bool) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_direction_normal` [INFO] [stdout] --> assignment_6/src/main.rs:61:38 [INFO] [stdout] | [INFO] [stdout] 61 | fn mouse_wheel(dx: u32, dy: u32, is_direction_normal: bool) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_direction_normal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> assignment_6/src/main.rs:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | fn key_pressed(&self, key: minifb::Key) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> assignment_6/src/viewer.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn resize(w: u32, h: u32) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> assignment_6/src/viewer.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn resize(w: u32, h: u32) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `t` is never read [INFO] [stdout] --> assignment_6/src/raster.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let mut t = -1.0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> assignment_6/src/main.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut program = Program { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `resize` [INFO] [stdout] --> assignment_6/src/viewer.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn resize(w: u32, h: u32) {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rasterize_line` [INFO] [stdout] --> assignment_6/src/raster.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn rasterize_line(program: &mut Program, uniform: UniformAttributes, v1: VertexAttributes, v2: VertexAttributes, line_thickness: f32,... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rasterize_lines` [INFO] [stdout] --> assignment_6/src/raster.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn rasterize_lines(program: &mut Program, uniform: UniformAttributes, vertices: Vec, line_thickness: f32, frame_buf... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling assignment_4 v0.1.0 (/opt/rustwide/workdir/assignment_4) [INFO] [stderr] Compiling assignment_2 v0.1.0 (/opt/rustwide/workdir/assignment_2) [INFO] [stderr] Compiling assignment_3 v0.1.0 (/opt/rustwide/workdir/assignment_3) [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> assignment_4/src/scene.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | let offset = Vec3::new(r * theta.cos(), r * theta.sin(), 0.0); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cost` [INFO] [stdout] --> assignment_4/src/object.rs:223:8 [INFO] [stdout] | [INFO] [stdout] 223 | fn cost(&self, node: &Node) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 51.35s [INFO] running `Command { std: "docker" "inspect" "4c5dbe7a39e15d69459903be484ef14a387e8e3c3024cee16c3b95e0040c997d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c5dbe7a39e15d69459903be484ef14a387e8e3c3024cee16c3b95e0040c997d", kill_on_drop: false }` [INFO] [stdout] 4c5dbe7a39e15d69459903be484ef14a387e8e3c3024cee16c3b95e0040c997d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5faed9ada9877f2a9a4e7f6005e4deb0862ac031ab86710791583fac8a8f4e48 [INFO] running `Command { std: "docker" "start" "-a" "5faed9ada9877f2a9a4e7f6005e4deb0862ac031ab86710791583fac8a8f4e48", kill_on_drop: false }` [INFO] [stderr] Compiling assignment_1 v0.1.0 (/opt/rustwide/workdir/assignment_1) [INFO] [stderr] Compiling assignment_4 v0.1.0 (/opt/rustwide/workdir/assignment_4) [INFO] [stderr] Compiling assignment_3 v0.1.0 (/opt/rustwide/workdir/assignment_3) [INFO] [stderr] Compiling assignment_5 v0.1.0 (/opt/rustwide/workdir/assignment_5) [INFO] [stderr] Compiling assignment_6 v0.1.0 (/opt/rustwide/workdir/assignment_6) [INFO] [stderr] Compiling assignment_2 v0.1.0 (/opt/rustwide/workdir/assignment_2) [INFO] [stdout] warning: unused variable: `uniform` [INFO] [stdout] --> assignment_6/src/main.rs:24:36 [INFO] [stdout] | [INFO] [stdout] 24 | |va: VertexAttributes, uniform: UniformAttributes| va ); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_uniform` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uniform` [INFO] [stdout] --> assignment_6/src/main.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | |va: VertexAttributes, uniform| [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_uniform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `previous` [INFO] [stdout] --> assignment_6/src/main.rs:31:38 [INFO] [stdout] | [INFO] [stdout] 31 | |fa: FragmentAttributes, previous: Rgba| [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_previous` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> assignment_6/src/main.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | fn mouse_move(&self, x: f32, y: f32) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> assignment_6/src/main.rs:52:34 [INFO] [stdout] | [INFO] [stdout] 52 | fn mouse_move(&self, x: f32, y: f32) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> assignment_6/src/main.rs:54:49 [INFO] [stdout] | [INFO] [stdout] 54 | fn mouse_pressed(&mut self, x: f32, y: f32, button: minifb::MouseButton) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dx` [INFO] [stdout] --> assignment_6/src/main.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | fn mouse_wheel(dx: u32, dy: u32, is_direction_normal: bool) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dy` [INFO] [stdout] --> assignment_6/src/main.rs:61:29 [INFO] [stdout] | [INFO] [stdout] 61 | fn mouse_wheel(dx: u32, dy: u32, is_direction_normal: bool) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_direction_normal` [INFO] [stdout] --> assignment_6/src/main.rs:61:38 [INFO] [stdout] | [INFO] [stdout] 61 | fn mouse_wheel(dx: u32, dy: u32, is_direction_normal: bool) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_direction_normal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> assignment_6/src/main.rs:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | fn key_pressed(&self, key: minifb::Key) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> assignment_6/src/viewer.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn resize(w: u32, h: u32) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> assignment_6/src/viewer.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn resize(w: u32, h: u32) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `t` is never read [INFO] [stdout] --> assignment_6/src/raster.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let mut t = -1.0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> assignment_6/src/main.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut program = Program { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `resize` [INFO] [stdout] --> assignment_6/src/viewer.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn resize(w: u32, h: u32) {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rasterize_line` [INFO] [stdout] --> assignment_6/src/raster.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn rasterize_line(program: &mut Program, uniform: UniformAttributes, v1: VertexAttributes, v2: VertexAttributes, line_thickness: f32,... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rasterize_lines` [INFO] [stdout] --> assignment_6/src/raster.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn rasterize_lines(program: &mut Program, uniform: UniformAttributes, vertices: Vec, line_thickness: f32, frame_buf... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Triangle` [INFO] [stdout] --> assignment_5/src/attributes.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | Triangle, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `PrimitiveType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> assignment_5/src/attributes.rs:158:16 [INFO] [stdout] | [INFO] [stdout] 158 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Gif` [INFO] [stdout] --> assignment_5/src/attributes.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | Gif, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `RenderType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> assignment_5/src/attributes.rs:164:16 [INFO] [stdout] | [INFO] [stdout] 164 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> assignment_4/src/scene.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | let offset = Vec3::new(r * theta.cos(), r * theta.sin(), 0.0); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cost` [INFO] [stdout] --> assignment_4/src/object.rs:223:8 [INFO] [stdout] | [INFO] [stdout] 223 | fn cost(&self, node: &Node) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.16s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/assignment_1-dc63390ab25d0e98) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/assignment_2-ab199e1b2b17673d) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/assignment_3-74c1c6fab36a423c) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/assignment_4-0657d33eb0708f7b) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/assignment_5-8c1965fd7d48e650) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/assignment_6-7c649300bff16fd5) [INFO] running `Command { std: "docker" "inspect" "5faed9ada9877f2a9a4e7f6005e4deb0862ac031ab86710791583fac8a8f4e48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5faed9ada9877f2a9a4e7f6005e4deb0862ac031ab86710791583fac8a8f4e48", kill_on_drop: false }` [INFO] [stdout] 5faed9ada9877f2a9a4e7f6005e4deb0862ac031ab86710791583fac8a8f4e48