[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.99.0-beta.1+cargoflags=--release for beta-release-1.99-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoshuazlin%2FRusty-Knots" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [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-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/joshuazlin/Rusty-Knots on toolchain 1.99.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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.99.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 56ee5517a6ac88d94d04a84944f10b15e88422866a0a332cf332c14d3f36cd63 [INFO] running `Command { std: "docker" "start" "56ee5517a6ac88d94d04a84944f10b15e88422866a0a332cf332c14d3f36cd63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56ee5517a6ac88d94d04a84944f10b15e88422866a0a332cf332c14d3f36cd63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "56ee5517a6ac88d94d04a84944f10b15e88422866a0a332cf332c14d3f36cd63" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56ee5517a6ac88d94d04a84944f10b15e88422866a0a332cf332c14d3f36cd63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "56ee5517a6ac88d94d04a84944f10b15e88422866a0a332cf332c14d3f36cd63" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling libloading v0.6.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling piston-float v1.0.0 [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling piston-viewport v1.0.0 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling serde v1.0.112 [INFO] [stderr] Compiling adler32 v1.1.0 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling piston-graphics_api_version v0.2.0 [INFO] [stderr] Compiling downcast-rs v1.1.1 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling wayland-sys v0.21.13 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling gfx_core v0.9.2 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling deflate v0.8.4 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Compiling png v0.16.5 [INFO] [stderr] Compiling tiff v0.5.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling bytemuck v1.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling piston-texture v0.8.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.2.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 read_color v1.0.0 [INFO] [stderr] Compiling interpolation v0.2.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Compiling serde_derive v1.0.112 [INFO] [stderr] Compiling wayland-commons v0.21.13 [INFO] [stderr] Compiling piston2d-graphics v0.36.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.19 [INFO] [stderr] Compiling image v0.23.5 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 pistoncore-window v0.45.0 [INFO] [stderr] Compiling pistoncore-event_loop v0.50.0 [INFO] [stderr] Compiling piston v0.50.0 [INFO] [stderr] Compiling piston-gfx_texture v0.41.0 [INFO] [stderr] Compiling piston2d-gfx_graphics v0.68.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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 1m 37s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: gfx_device_gl v0.16.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "56ee5517a6ac88d94d04a84944f10b15e88422866a0a332cf332c14d3f36cd63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "56ee5517a6ac88d94d04a84944f10b15e88422866a0a332cf332c14d3f36cd63" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 visibility_graph v0.1.0 (/opt/rustwide/workdir/visibility_graph) [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling static_window v0.1.0 (/opt/rustwide/workdir/static_window) [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: `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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 2.10s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: gfx_device_gl v0.16.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "56ee5517a6ac88d94d04a84944f10b15e88422866a0a332cf332c14d3f36cd63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "56ee5517a6ac88d94d04a84944f10b15e88422866a0a332cf332c14d3f36cd63" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--release", 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `visibility_graph` (lib) generated 5 warnings (run `cargo fix --lib -p visibility_graph` to apply 3 suggestions) [INFO] [stderr] warning: `visibility_graph` (lib test) generated 7 warnings (2 duplicates) (run `cargo fix --lib -p visibility_graph --tests` to apply 4 suggestions) [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `static_window` (lib) generated 3 warnings (run `cargo fix --lib -p static_window` to apply 2 suggestions) [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 `release` profile [optimized] target(s) in 0.20s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: gfx_device_gl v0.16.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/release/deps/static_window-1755a0dfad1c3297) [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/release/deps/static_window-ed0bb3e7b4dbc0b7) [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/release/deps/visibility_graph-fbb6e2156c8494f4) [INFO] [stdout] [INFO] [stdout] running 6 tests [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_point::init_point ... ok [INFO] [stdout] test test_visibility_graph::test_random_graph ... ok [INFO] [stdout] test test_visibility_graph::test_graph ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/release/deps/visibility_graph-23d6158af5239830) [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 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] [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" "56ee5517a6ac88d94d04a84944f10b15e88422866a0a332cf332c14d3f36cd63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56ee5517a6ac88d94d04a84944f10b15e88422866a0a332cf332c14d3f36cd63", kill_on_drop: false }` [INFO] [stdout] 56ee5517a6ac88d94d04a84944f10b15e88422866a0a332cf332c14d3f36cd63