[INFO] cloning repository https://github.com/jw2476/metro [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jw2476/metro" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjw2476%2Fmetro", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjw2476%2Fmetro'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ac185253d4127eec9360cb0b3f472452f5c03e12 [INFO] building jw2476/metro against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjw2476%2Fmetro" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jw2476/metro [INFO] finished tweaking git repo https://github.com/jw2476/metro [INFO] tweaked toml for git repo https://github.com/jw2476/metro written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jw2476/metro on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jw2476/metro 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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bf8550b7faabe59bc0ffe2db8f697fdccd838c2ea3724444a6f2a5a9bf9a6ab3 [INFO] running `Command { std: "docker" "start" "-a" "bf8550b7faabe59bc0ffe2db8f697fdccd838c2ea3724444a6f2a5a9bf9a6ab3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf8550b7faabe59bc0ffe2db8f697fdccd838c2ea3724444a6f2a5a9bf9a6ab3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf8550b7faabe59bc0ffe2db8f697fdccd838c2ea3724444a6f2a5a9bf9a6ab3", kill_on_drop: false }` [INFO] [stdout] bf8550b7faabe59bc0ffe2db8f697fdccd838c2ea3724444a6f2a5a9bf9a6ab3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 944e6604516737bb0842cb2f07c17b210ed8a1dd8babf3863c1e6860d16c39e8 [INFO] running `Command { std: "docker" "start" "-a" "944e6604516737bb0842cb2f07c17b210ed8a1dd8babf3863c1e6860d16c39e8", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling wide v0.7.33 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling simba v0.9.1 [INFO] [stderr] Compiling nalgebra-macros v0.3.0 [INFO] [stderr] Compiling nalgebra v0.34.1 [INFO] [stderr] Compiling metro v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `DMatrix`, `MatrixXx3`, and `SMatrix` [INFO] [stdout] --> src/lib.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | Const, DMatrix, DVector, Dyn, MatrixXx3, OMatrix, Point, Point3, RealField, SMatrix, SVector, [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: `thread::current` [INFO] [stdout] --> src/lib.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{fmt::Debug, thread::current}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.92s [INFO] running `Command { std: "docker" "inspect" "944e6604516737bb0842cb2f07c17b210ed8a1dd8babf3863c1e6860d16c39e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "944e6604516737bb0842cb2f07c17b210ed8a1dd8babf3863c1e6860d16c39e8", kill_on_drop: false }` [INFO] [stdout] 944e6604516737bb0842cb2f07c17b210ed8a1dd8babf3863c1e6860d16c39e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 8a952d791ef22221da30cd1900bbda573d41a3c194e447b0ec84c9efdc128298 [INFO] running `Command { std: "docker" "start" "-a" "8a952d791ef22221da30cd1900bbda573d41a3c194e447b0ec84c9efdc128298", kill_on_drop: false }` [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling ttf-parser v0.21.1 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling wide v0.7.33 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling fontdue v0.9.3 [INFO] [stderr] Compiling simba v0.9.1 [INFO] [stderr] Compiling macroquad v0.4.14 [INFO] [stderr] Compiling nalgebra v0.34.1 [INFO] [stderr] Compiling metro v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `DMatrix`, `MatrixXx3`, and `SMatrix` [INFO] [stdout] --> src/lib.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | Const, DMatrix, DVector, Dyn, MatrixXx3, OMatrix, Point, Point3, RealField, SMatrix, SVector, [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: `thread::current` [INFO] [stdout] --> src/lib.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{fmt::Debug, thread::current}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Scalar` [INFO] [stdout] --> src/viewer.rs:4:47 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{generators::OrientedPoint, Plane, Scalar}; [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: `DMatrix`, `MatrixXx3`, and `SMatrix` [INFO] [stdout] --> src/lib.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | Const, DMatrix, DVector, Dyn, MatrixXx3, OMatrix, Point, Point3, RealField, SMatrix, SVector, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread::current` [INFO] [stdout] --> src/lib.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{fmt::Debug, thread::current}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macroquad::prelude::*` [INFO] [stdout] --> src/lib.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | use macroquad::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `viewer::Viewer` [INFO] [stdout] --> src/lib.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | viewer::Viewer, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fitted` [INFO] [stdout] --> src/lib.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | let fitted = fit_least_squares(&points, plane.clone()); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fitted` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Viewer` is never constructed [INFO] [stdout] --> src/viewer.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Viewer(Vec>); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add`, and `show` are never used [INFO] [stdout] --> src/viewer.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Viewer { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 10 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn add(mut self, viewable: impl Drawable + 'static) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn show(self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vec3_from_point3` is never used [INFO] [stdout] --> src/viewer.rs:79:15 [INFO] [stdout] | [INFO] [stdout] 79 | pub(crate) fn vec3_from_point3(point: Point3) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vec3_from_vector3` is never used [INFO] [stdout] --> src/viewer.rs:83:15 [INFO] [stdout] | [INFO] [stdout] 83 | pub(crate) fn vec3_from_vector3(vector: UnitVector3) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Drawable` is never used [INFO] [stdout] --> src/viewer.rs:87:11 [INFO] [stdout] | [INFO] [stdout] 87 | pub trait Drawable { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_quad` is never used [INFO] [stdout] --> src/viewer.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn draw_quad(vertices: [Vertex; 4], texture: Option) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/viewer.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct ColoredPlane(Color, Plane); [INFO] [stdout] | ------------ ^^^^^ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 23.27s [INFO] running `Command { std: "docker" "inspect" "8a952d791ef22221da30cd1900bbda573d41a3c194e447b0ec84c9efdc128298", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a952d791ef22221da30cd1900bbda573d41a3c194e447b0ec84c9efdc128298", kill_on_drop: false }` [INFO] [stdout] 8a952d791ef22221da30cd1900bbda573d41a3c194e447b0ec84c9efdc128298