[INFO] cloning repository https://github.com/joshuazlin/Rusty-Knots [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/joshuazlin/Rusty-Knots" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoshuazlin%2FRusty-Knots", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoshuazlin%2FRusty-Knots'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f431bde1fb1f13acc3045e480e6a7fabc29e5b27 [INFO] testing joshuazlin/Rusty-Knots against 1.84.0 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoshuazlin%2FRusty-Knots" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/joshuazlin/Rusty-Knots on toolchain 1.84.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.84.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/joshuazlin/Rusty-Knots [INFO] finished tweaking git repo https://github.com/joshuazlin/Rusty-Knots [INFO] tweaked toml for git repo https://github.com/joshuazlin/Rusty-Knots written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/joshuazlin/Rusty-Knots 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" "+1.84.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded piston v0.50.0 [INFO] [stderr] Downloaded pistoncore-input v0.28.1 [INFO] [stderr] Downloaded pistoncore-event_loop v0.50.0 [INFO] [stderr] Downloaded pistoncore-window v0.45.0 [INFO] [stderr] Downloaded pistoncore-glutin_window v0.64.0 [INFO] [stderr] Downloaded piston_window v0.109.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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7834ae473a302c341c83881d7cbda3ce7ac7fe2a34e63b7d4193420772c3d7ca [INFO] running `Command { std: "docker" "start" "-a" "7834ae473a302c341c83881d7cbda3ce7ac7fe2a34e63b7d4193420772c3d7ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7834ae473a302c341c83881d7cbda3ce7ac7fe2a34e63b7d4193420772c3d7ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7834ae473a302c341c83881d7cbda3ce7ac7fe2a34e63b7d4193420772c3d7ca", kill_on_drop: false }` [INFO] [stdout] 7834ae473a302c341c83881d7cbda3ce7ac7fe2a34e63b7d4193420772c3d7ca [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3685c3feb59dc9d06c74251fc82af09bb6c807da3aed54cf605b731b3c4c78ff [INFO] running `Command { std: "docker" "start" "-a" "3685c3feb59dc9d06c74251fc82af09bb6c807da3aed54cf605b731b3c4c78ff", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling libloading v0.6.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling piston-float v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling piston-viewport v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling wayland-sys v0.21.13 [INFO] [stderr] Compiling serde v1.0.112 [INFO] [stderr] Compiling adler32 v1.1.0 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling downcast-rs v1.1.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling piston-graphics_api_version v0.2.0 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling gfx_core v0.9.2 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling deflate v0.8.4 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling png v0.16.5 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling wayland-commons v0.21.13 [INFO] [stderr] Compiling tiff v0.5.0 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling jpeg-decoder v0.1.19 [INFO] [stderr] Compiling bytemuck v1.2.0 [INFO] [stderr] Compiling piston-texture v0.8.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling gfx v0.18.2 [INFO] [stderr] Compiling shader_version v0.6.0 [INFO] [stderr] Compiling vecmath v1.0.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling interpolation v0.2.0 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Compiling image v0.23.5 [INFO] [stderr] Compiling piston2d-graphics v0.36.0 [INFO] [stderr] Compiling serde_derive v1.0.112 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling visibility_graph v0.1.0 (/opt/rustwide/workdir/visibility_graph) [INFO] [stdout] warning: unused import: `std::ops` [INFO] [stdout] --> visibility_graph/src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::ops; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp_e` [INFO] [stdout] --> visibility_graph/src/lib.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | let temp_e = Edge(&self.vertices[e.0],&self.vertices[e.1]); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_temp_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> visibility_graph/src/lib.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | for i in 1..num_verts{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `distance` is never used [INFO] [stdout] --> visibility_graph/src/lib.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl Point { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 20 | fn distance(&self, v : &Point) -> f64{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `length` is never used [INFO] [stdout] --> visibility_graph/src/lib.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 45 | impl Edge<'_> { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 46 | fn length(&self) -> f64{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gfx_device_gl v0.16.2 [INFO] [stderr] Compiling pistoncore-input v0.28.1 [INFO] [stderr] Compiling piston-gfx_texture v0.41.0 [INFO] [stderr] Compiling piston2d-gfx_graphics v0.68.0 [INFO] [stderr] Compiling pistoncore-window v0.45.0 [INFO] [stderr] Compiling pistoncore-event_loop v0.50.0 [INFO] [stderr] Compiling piston v0.50.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.4.6 [INFO] [stderr] Compiling winit v0.19.5 [INFO] [stderr] Compiling glutin v0.21.2 [INFO] [stderr] Compiling pistoncore-glutin_window v0.64.0 [INFO] [stderr] Compiling piston_window v0.109.0 [INFO] [stderr] Compiling static_window v0.1.0 (/opt/rustwide/workdir/static_window) [INFO] [stdout] warning: unused variable: `dashed` [INFO] [stdout] --> static_window/src/lib.rs:52:61 [INFO] [stdout] | [INFO] [stdout] 52 | GraphicsElement::LineElement{x1,y1,x2,y2,radius,dashed,c} => line(c.to_rgb(),*radius,[*x1,*y1,*x2,*y2],t, g), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `dashed: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> static_window/src/lib.rs:100:38 [INFO] [stdout] | [INFO] [stdout] 100 | self.window.draw_2d(&e, |c,g,_| {clear([1.0;4],g)}); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `opengl` is never read [INFO] [stdout] --> static_window/src/lib.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct StaticWindow { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 74 | opengl: OpenGL, // OpenGL drawing backend. [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 48s [INFO] running `Command { std: "docker" "inspect" "3685c3feb59dc9d06c74251fc82af09bb6c807da3aed54cf605b731b3c4c78ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3685c3feb59dc9d06c74251fc82af09bb6c807da3aed54cf605b731b3c4c78ff", kill_on_drop: false }` [INFO] [stdout] 3685c3feb59dc9d06c74251fc82af09bb6c807da3aed54cf605b731b3c4c78ff [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 129c9cc340bbf358be298e6698cc6756fe60ac5c3513e5fc97bb2e06549aef0b [INFO] running `Command { std: "docker" "start" "-a" "129c9cc340bbf358be298e6698cc6756fe60ac5c3513e5fc97bb2e06549aef0b", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `std::ops` [INFO] [stdout] --> visibility_graph/src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::ops; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling visibility_graph v0.1.0 (/opt/rustwide/workdir/visibility_graph) [INFO] [stdout] warning: unused variable: `temp_e` [INFO] [stdout] --> visibility_graph/src/lib.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | let temp_e = Edge(&self.vertices[e.0],&self.vertices[e.1]); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_temp_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling static_window v0.1.0 (/opt/rustwide/workdir/static_window) [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> visibility_graph/src/lib.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | for i in 1..num_verts{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `distance` is never used [INFO] [stdout] --> visibility_graph/src/lib.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl Point { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 20 | fn distance(&self, v : &Point) -> f64{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `length` is never used [INFO] [stdout] --> visibility_graph/src/lib.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 45 | impl Edge<'_> { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 46 | fn length(&self) -> f64{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dashed` [INFO] [stdout] --> static_window/src/lib.rs:52:61 [INFO] [stdout] | [INFO] [stdout] 52 | GraphicsElement::LineElement{x1,y1,x2,y2,radius,dashed,c} => line(c.to_rgb(),*radius,[*x1,*y1,*x2,*y2],t, g), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `dashed: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> static_window/src/lib.rs:100:38 [INFO] [stdout] | [INFO] [stdout] 100 | self.window.draw_2d(&e, |c,g,_| {clear([1.0;4],g)}); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `opengl` is never read [INFO] [stdout] --> static_window/src/lib.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct StaticWindow { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 74 | opengl: OpenGL, // OpenGL drawing backend. [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops` [INFO] [stdout] --> visibility_graph/src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::ops; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> visibility_graph/src/lib.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> static_window/src/lib.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> visibility_graph/src/lib.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | let x = Point{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp_e` [INFO] [stdout] --> visibility_graph/src/lib.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | let temp_e = Edge(&self.vertices[e.0],&self.vertices[e.1]); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_temp_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dashed` [INFO] [stdout] --> static_window/src/lib.rs:52:61 [INFO] [stdout] | [INFO] [stdout] 52 | GraphicsElement::LineElement{x1,y1,x2,y2,radius,dashed,c} => line(c.to_rgb(),*radius,[*x1,*y1,*x2,*y2],t, g), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `dashed: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> visibility_graph/src/lib.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | for i in 1..num_verts{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> visibility_graph/src/lib.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | let g = VisibilityGraph::random(500.0,500.0,100,20,0.01); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `length` is never used [INFO] [stdout] --> visibility_graph/src/lib.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 45 | impl Edge<'_> { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 46 | fn length(&self) -> f64{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> static_window/src/lib.rs:100:38 [INFO] [stdout] | [INFO] [stdout] 100 | self.window.draw_2d(&e, |c,g,_| {clear([1.0;4],g)}); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `opengl` is never read [INFO] [stdout] --> static_window/src/lib.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct StaticWindow { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 74 | opengl: OpenGL, // OpenGL drawing backend. [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.12s [INFO] running `Command { std: "docker" "inspect" "129c9cc340bbf358be298e6698cc6756fe60ac5c3513e5fc97bb2e06549aef0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "129c9cc340bbf358be298e6698cc6756fe60ac5c3513e5fc97bb2e06549aef0b", kill_on_drop: false }` [INFO] [stdout] 129c9cc340bbf358be298e6698cc6756fe60ac5c3513e5fc97bb2e06549aef0b [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3ddf4d46e6140cc7aed18aaab7706e3275951bf579d2300c33ccc3adf774aecf [INFO] running `Command { std: "docker" "start" "-a" "3ddf4d46e6140cc7aed18aaab7706e3275951bf579d2300c33ccc3adf774aecf", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::ops` [INFO] [stderr] --> visibility_graph/src/lib.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use std::ops; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `temp_e` [INFO] [stderr] --> visibility_graph/src/lib.rs:189:13 [INFO] [stderr] | [INFO] [stderr] 189 | let temp_e = Edge(&self.vertices[e.0],&self.vertices[e.1]); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_temp_e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> visibility_graph/src/lib.rs:211:13 [INFO] [stderr] | [INFO] [stderr] 211 | for i in 1..num_verts{ [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: method `distance` is never used [INFO] [stderr] --> visibility_graph/src/lib.rs:20:8 [INFO] [stderr] | [INFO] [stderr] 19 | impl Point { [INFO] [stderr] | ---------- method in this implementation [INFO] [stderr] 20 | fn distance(&self, v : &Point) -> f64{ [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `length` is never used [INFO] [stderr] --> visibility_graph/src/lib.rs:46:8 [INFO] [stderr] | [INFO] [stderr] 45 | impl Edge<'_> { [INFO] [stderr] | ------------- method in this implementation [INFO] [stderr] 46 | fn length(&self) -> f64{ [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::*` [INFO] [stderr] --> visibility_graph/src/lib.rs:291:9 [INFO] [stderr] | [INFO] [stderr] 291 | use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> visibility_graph/src/lib.rs:108:13 [INFO] [stderr] | [INFO] [stderr] 108 | let x = Point{ [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `temp_e` [INFO] [stderr] --> visibility_graph/src/lib.rs:189:13 [INFO] [stderr] | [INFO] [stderr] 189 | let temp_e = Edge(&self.vertices[e.0],&self.vertices[e.1]); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_temp_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `g` [INFO] [stderr] --> visibility_graph/src/lib.rs:283:13 [INFO] [stderr] | [INFO] [stderr] 283 | let g = VisibilityGraph::random(500.0,500.0,100,20,0.01); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stderr] [INFO] [stderr] warning: method `length` is never used [INFO] [stderr] --> visibility_graph/src/lib.rs:46:8 [INFO] [stderr] | [INFO] [stderr] 45 | impl Edge<'_> { [INFO] [stderr] | ------------- method in this implementation [INFO] [stderr] 46 | fn length(&self) -> f64{ [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `visibility_graph` (lib) generated 5 warnings (run `cargo fix --lib -p visibility_graph` to apply 1 suggestion) [INFO] [stderr] warning: `visibility_graph` (lib test) generated 7 warnings (2 duplicates) (run `cargo fix --lib -p visibility_graph --tests` to apply 1 suggestion) [INFO] [stderr] warning: unused variable: `dashed` [INFO] [stderr] --> static_window/src/lib.rs:52:61 [INFO] [stderr] | [INFO] [stderr] 52 | GraphicsElement::LineElement{x1,y1,x2,y2,radius,dashed,c} => line(c.to_rgb(),*radius,[*x1,*y1,*x2,*y2],t, g), [INFO] [stderr] | ^^^^^^ help: try ignoring the field: `dashed: _` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `c` [INFO] [stderr] --> static_window/src/lib.rs:100:38 [INFO] [stderr] | [INFO] [stderr] 100 | self.window.draw_2d(&e, |c,g,_| {clear([1.0;4],g)}); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stderr] [INFO] [stderr] warning: field `opengl` is never read [INFO] [stderr] --> static_window/src/lib.rs:74:5 [INFO] [stderr] | [INFO] [stderr] 73 | pub struct StaticWindow { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 74 | opengl: OpenGL, // OpenGL drawing backend. [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::*` [INFO] [stderr] --> static_window/src/lib.rs:120:9 [INFO] [stderr] | [INFO] [stderr] 120 | use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `static_window` (lib) generated 3 warnings [INFO] [stderr] warning: `static_window` (lib test) generated 4 warnings (3 duplicates) (run `cargo fix --lib -p static_window --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/static_window-f272b70f70f14ca3) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/static_window-cbb3cc465bb93e52) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/visibility_graph-5e9d6ec04357cc0a) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test test_point::init_point ... ok [INFO] [stdout] test test_point::check_distance ... ok [INFO] [stdout] test test_point::check_intersect ... ok [INFO] [stdout] test test_random::test_see ... ok [INFO] [stdout] test test_visibility_graph::test_graph ... ok [INFO] [stdout] test test_visibility_graph::test_random_graph ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/visibility_graph-3a8b14f7a5cfb58e) [INFO] [stderr] Doc-tests static_window [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests visibility_graph [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3ddf4d46e6140cc7aed18aaab7706e3275951bf579d2300c33ccc3adf774aecf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ddf4d46e6140cc7aed18aaab7706e3275951bf579d2300c33ccc3adf774aecf", kill_on_drop: false }` [INFO] [stdout] 3ddf4d46e6140cc7aed18aaab7706e3275951bf579d2300c33ccc3adf774aecf