[INFO] cloning repository https://github.com/Nordest27/Sweep-Line
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Nordest27/Sweep-Line" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNordest27%2FSweep-Line", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNordest27%2FSweep-Line'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4d217520f0052923d3cf88f5f0d4ac5da95f4ebe
[INFO] checking Nordest27/Sweep-Line against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNordest27%2FSweep-Line" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Nordest27/Sweep-Line
[INFO] finished tweaking git repo https://github.com/Nordest27/Sweep-Line
[INFO] tweaked toml for git repo https://github.com/Nordest27/Sweep-Line written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Nordest27/Sweep-Line on toolchain b1f2594eac607c1f051534800237eeedb5590a49
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Nordest27/Sweep-Line 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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cfcf051fe8e74f7c3767b240efbd78bafb59c52f7f5ea8dc5cb76302c594f2ca
[INFO] running `Command { std: "docker" "start" "-a" "cfcf051fe8e74f7c3767b240efbd78bafb59c52f7f5ea8dc5cb76302c594f2ca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cfcf051fe8e74f7c3767b240efbd78bafb59c52f7f5ea8dc5cb76302c594f2ca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cfcf051fe8e74f7c3767b240efbd78bafb59c52f7f5ea8dc5cb76302c594f2ca", kill_on_drop: false }`
[INFO] [stdout] cfcf051fe8e74f7c3767b240efbd78bafb59c52f7f5ea8dc5cb76302c594f2ca
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e50b165334335caac6584211712a1cb865dcfdb18c00dc7d257b07dee28a7fde
[INFO] running `Command { std: "docker" "start" "-a" "e50b165334335caac6584211712a1cb865dcfdb18c00dc7d257b07dee28a7fde", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.81
[INFO] [stderr]    Compiling libc v0.2.154
[INFO] [stderr]    Compiling libm v0.2.8
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling serde v1.0.200
[INFO] [stderr]    Compiling xml-rs v0.8.20
[INFO] [stderr]     Checking libloading v0.8.3
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking bitflags v2.5.0
[INFO] [stderr]    Compiling thiserror v1.0.59
[INFO] [stderr]    Compiling crc32fast v1.4.0
[INFO] [stderr]    Compiling wayland-sys v0.29.5
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling jobserver v0.1.31
[INFO] [stderr]     Checking dlib v0.5.2
[INFO] [stderr]     Checking flate2 v1.0.30
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling cc v1.0.96
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling syn v2.0.60
[INFO] [stderr]    Compiling wayland-scanner v0.29.5
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling serde_json v1.0.116
[INFO] [stderr]    Compiling semver v1.0.22
[INFO] [stderr]    Compiling camino v1.1.6
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]     Checking ab_glyph v0.2.25
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking euclid v0.22.9
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]    Compiling error-chain v0.12.4
[INFO] [stderr]    Compiling khronos-egl v4.1.0
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling ryu v1.0.17
[INFO] [stderr]     Checking allocator-api2 v0.2.18
[INFO] [stderr]     Checking getrandom v0.2.14
[INFO] [stderr]     Checking nix v0.24.3
[INFO] [stderr]    Compiling wayland-client v0.29.5
[INFO] [stderr]    Compiling wayland-protocols v0.29.5
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling linux-raw-sys v0.4.13
[INFO] [stderr]    Compiling pulldown-cmark v0.9.6
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking lyon_geom v1.0.5
[INFO] [stderr]    Compiling zstd-sys v2.0.10+zstd.1.5.6
[INFO] [stderr]    Compiling bzip2-sys v0.1.11+1.0.8
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking nix v0.25.1
[INFO] [stderr]     Checking codespan-reporting v0.11.1
[INFO] [stderr]     Checking crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling alsa-sys v0.3.1
[INFO] [stderr]     Checking png v0.17.13
[INFO] [stderr]     Checking spirv v0.2.0+1.5.4
[INFO] [stderr]     Checking wayland-commons v0.29.5
[INFO] [stderr]    Compiling bytemuck_derive v1.6.0
[INFO] [stderr]    Compiling serde_derive v1.0.200
[INFO] [stderr]    Compiling thiserror-impl v1.0.59
[INFO] [stderr]     Checking gpu-descriptor-types v0.1.2
[INFO] [stderr]     Checking encoding_rs v0.8.34
[INFO] [stderr]     Checking bytemuck v1.15.0
[INFO] [stderr]     Checking gpu-alloc-types v0.2.0
[INFO] [stderr]    Compiling smithay-client-toolkit v0.16.1
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking symphonia-core v0.5.4
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling zerocopy v0.8.0-alpha.6
[INFO] [stderr]    Compiling zstd-safe v5.0.2+zstd.1.5.2
[INFO] [stderr]    Compiling fastrand v2.1.0
[INFO] [stderr]     Checking wayland-cursor v0.29.5
[INFO] [stderr]     Checking naga v0.12.3
[INFO] [stderr]    Compiling tempfile v3.10.1
[INFO] [stderr]     Checking calloop v0.10.6
[INFO] [stderr]     Checking tiny-skia-path v0.8.4
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling libudev-sys v0.1.4
[INFO] [stderr]     Checking symphonia-metadata v0.5.4
[INFO] [stderr]     Checking gpu-alloc v0.5.4
[INFO] [stderr]     Checking gpu-descriptor v0.2.4
[INFO] [stderr]    Compiling nix v0.28.0
[INFO] [stderr]     Checking parking_lot v0.12.2
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking lyon_path v1.0.4
[INFO] [stderr]     Checking inotify-sys v0.1.5
[INFO] [stderr]     Checking memmap2 v0.5.10
[INFO] [stderr]     Checking wgpu-types v0.16.1
[INFO] [stderr]     Checking profiling v1.0.15
[INFO] [stderr]     Checking weezl v0.1.8
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling bytecount v0.6.8
[INFO] [stderr]     Checking glow v0.12.3
[INFO] [stderr]     Checking renderdoc-sys v1.1.0
[INFO] [stderr]     Checking either v1.11.0
[INFO] [stderr]    Compiling cpal v0.15.3
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]     Checking inotify v0.10.2
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking alsa v0.9.0
[INFO] [stderr]     Checking symphonia-bundle-mp3 v0.5.4
[INFO] [stderr]     Checking wgpu-hal v0.16.2
[INFO] [stderr]     Checking tiny-skia v0.8.4
[INFO] [stderr]    Compiling cargo-platform v0.1.8
[INFO] [stderr]    Compiling winit v0.28.7
[INFO] [stderr]    Compiling cargo_metadata v0.14.2
[INFO] [stderr]     Checking ogg v0.8.0
[INFO] [stderr]     Checking crossbeam-channel v0.5.12
[INFO] [stderr]     Checking approx v0.5.1
[INFO] [stderr]    Compiling memoffset v0.8.0
[INFO] [stderr]    Compiling gilrs v0.10.7
[INFO] [stderr]     Checking linked-hash-map v0.5.6
[INFO] [stderr]     Checking float_next_after v1.0.0
[INFO] [stderr]     Checking mint v0.5.9
[INFO] [stderr]     Checking xi-unicode v0.3.0
[INFO] [stderr]     Checking jpeg-decoder v0.3.1
[INFO] [stderr]     Checking uuid v1.8.0
[INFO] [stderr]     Checking dirs-sys v0.4.1
[INFO] [stderr]     Checking glyph_brush_layout v0.2.3
[INFO] [stderr]     Checking gilrs-core v0.5.11
[INFO] [stderr]     Checking rand_core v0.9.0-alpha.1
[INFO] [stderr]     Checking glyph_brush_draw_cache v0.1.5
[INFO] [stderr]    Compiling crevice-derive v0.10.0
[INFO] [stderr]     Checking lyon_tessellation v1.0.14
[INFO] [stderr]     Checking gif v0.13.1
[INFO] [stderr]    Compiling skeptic v0.13.7
[INFO] [stderr]     Checking tiff v0.9.1
[INFO] [stderr]     Checking lewton v0.10.2
[INFO] [stderr]     Checking wgpu-core v0.16.1
[INFO] [stderr]     Checking symphonia v0.5.4
[INFO] [stderr]    Compiling ggez v0.9.3
[INFO] [stderr]     Checking twox-hash v1.6.3
[INFO] [stderr]     Checking bzip2 v0.4.4
[INFO] [stderr]     Checking lyon_algorithms v1.0.4
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking ordered-float v4.2.0
[INFO] [stderr]     Checking claxon v0.4.3
[INFO] [stderr]     Checking hound v3.5.1
[INFO] [stderr]     Checking lyon v1.0.1
[INFO] [stderr]     Checking image v0.24.9
[INFO] [stderr]     Checking glyph_brush v0.7.8
[INFO] [stderr]     Checking rodio v0.17.3
[INFO] [stderr]     Checking crevice v0.13.0
[INFO] [stderr]     Checking rand_chacha v0.9.0-alpha.1
[INFO] [stderr]     Checking glam v0.24.2
[INFO] [stderr]     Checking directories v5.0.1
[INFO] [stderr]     Checking toml v0.5.11
[INFO] [stderr]    Compiling smart-default v0.7.1
[INFO] [stderr]     Checking ordered-float v3.9.2
[INFO] [stderr]     Checking typed-arena v2.0.2
[INFO] [stderr]     Checking rand v0.9.0-alpha.1
[INFO] [stderr]     Checking zstd v0.11.2+zstd.1.5.2
[INFO] [stderr]     Checking zip v0.6.6
[INFO] [stderr]     Checking wgpu v0.16.3
[INFO] [stderr]     Checking sctk-adwaita v0.5.4
[INFO] [stderr]     Checking SweepLine v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Direction`
[INFO] [stdout]  --> src/example_generator.rs:1:37
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::domain::{Point, Segment, Direction, SweepLineProblem};
[INFO] [stdout]   |                                     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: denote infinite loops with `loop { ... }`
[INFO] [stdout]   --> src/example_generator.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |         while true {
[INFO] [stdout]    |         ^^^^^^^^^^ help: use `loop`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(while_true)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::vec`
[INFO] [stdout]  --> src/visualization.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::vec;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MouseContext`
[INFO] [stdout]  --> src/visualization.rs:5:26
[INFO] [stdout]   |
[INFO] [stdout] 5 | use ggez::input::mouse::{MouseContext, MouseButton};
[INFO] [stdout]   |                          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Direction`
[INFO] [stdout]   --> src/visualization.rs:11:55
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::domain::{Point, Segment, SweepLineProblem, Direction, distance};
[INFO] [stdout]    |                                                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `naive_intersection_solver`
[INFO] [stdout]   --> src/visualization.rs:12:22
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::solvers::{naive_intersection_solver, sweep_line_solver};
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ggez::input::keyboard::KeyCode::E`
[INFO] [stdout]  --> src/solvers.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ggez::input::keyboard::KeyCode::E;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Direction`
[INFO] [stdout]  --> src/solvers.rs:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 |     Point, Segment, Direction, SweepLineProblem,
[INFO] [stdout]   |                     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rand;
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::PartialEq`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::cmp::PartialEq;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Direction`, `Point`, `Segment`, `SweepLineProblem`, `segments_intersection`, and `test_treap`
[INFO] [stdout]  --> src/main.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | use domain::{Point, Segment, Direction, SweepLineProblem, segments_intersection, test_treap};
[INFO] [stdout]   |              ^^^^^  ^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `solvers::test_sweep_line_solver`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use solvers::test_sweep_line_solver;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Direction`
[INFO] [stdout]  --> src/example_generator.rs:1:37
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::domain::{Point, Segment, Direction, SweepLineProblem};
[INFO] [stdout]   |                                     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: denote infinite loops with `loop { ... }`
[INFO] [stdout]   --> src/example_generator.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |         while true {
[INFO] [stdout]    |         ^^^^^^^^^^ help: use `loop`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(while_true)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::vec`
[INFO] [stdout]  --> src/visualization.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::vec;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MouseContext`
[INFO] [stdout]  --> src/visualization.rs:5:26
[INFO] [stdout]   |
[INFO] [stdout] 5 | use ggez::input::mouse::{MouseContext, MouseButton};
[INFO] [stdout]   |                          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Direction`
[INFO] [stdout]   --> src/visualization.rs:11:55
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::domain::{Point, Segment, SweepLineProblem, Direction, distance};
[INFO] [stdout]    |                                                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `naive_intersection_solver`
[INFO] [stdout]   --> src/visualization.rs:12:22
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::solvers::{naive_intersection_solver, sweep_line_solver};
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ggez::input::keyboard::KeyCode::E`
[INFO] [stdout]  --> src/solvers.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ggez::input::keyboard::KeyCode::E;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Direction`
[INFO] [stdout]  --> src/solvers.rs:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 |     Point, Segment, Direction, SweepLineProblem,
[INFO] [stdout]   |                     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rand;
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::PartialEq`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::cmp::PartialEq;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Direction`, `Point`, `Segment`, `SweepLineProblem`, `segments_intersection`, and `test_treap`
[INFO] [stdout]  --> src/main.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | use domain::{Point, Segment, Direction, SweepLineProblem, segments_intersection, test_treap};
[INFO] [stdout]   |              ^^^^^  ^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `solvers::test_sweep_line_solver`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use solvers::test_sweep_line_solver;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufRead`
[INFO] [stdout]  --> src/domain.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{BufRead, Write};
[INFO] [stdout]   |               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/example_generator.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let mut result = Vec::new();
[INFO] [stdout]   |         ----^^^^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/example_generator.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let mut time = 0.0;
[INFO] [stdout]   |         ----^^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/example_generator.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let mut basic_operations = 0;
[INFO] [stdout]   |         ----^^^^^^^^^^^^^^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/domain.rs:380:13
[INFO] [stdout]     |
[INFO] [stdout] 380 |         let x = rand::random::<f64>();
[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: `i`
[INFO] [stdout]    --> src/domain.rs:382:13
[INFO] [stdout]     |
[INFO] [stdout] 382 |         for i in 0..n {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/visualization.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let mut sweep_line_problem = SweepLineProblem::load(
[INFO] [stdout]    |             ----^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]    --> src/visualization.rs:252:34
[INFO] [stdout]     |
[INFO] [stdout] 252 |     fn key_down_event(&mut self, ctx: &mut Context, input: KeyInput, _repeated: bool) -> Result<(), GameError> {
[INFO] [stdout]     |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_random_example` is never used
[INFO] [stdout]  --> src/example_generator.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn create_random_example(n_segments: i32) -> SweepLineProblem {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `to_grid` and `interpolate_y` are never used
[INFO] [stdout]   --> src/domain.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl Segment {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] 30 |     pub fn to_grid(&self, grid_size: f64) -> Segment {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn interpolate_y(&self, x: f64) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `time` is never read
[INFO] [stdout]    --> src/domain.rs:107:9
[INFO] [stdout]     |
[INFO] [stdout] 104 | pub struct SweepLineProblem {
[INFO] [stdout]     |            ---------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub time: f64,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `SweepLineProblem` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `inorder` and `print_inorder` are never used
[INFO] [stdout]    --> src/domain.rs:357:8
[INFO] [stdout]     |
[INFO] [stdout] 225 | impl Treap {
[INFO] [stdout]     | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 357 |     fn inorder(&self, node: &Option<Box<Node>>) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 368 |     pub fn print_inorder(&self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_treap` is never used
[INFO] [stdout]    --> src/domain.rs:375:8
[INFO] [stdout]     |
[INFO] [stdout] 375 | pub fn test_treap() {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `naive_intersection_solver` is never used
[INFO] [stdout]   --> src/solvers.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn naive_intersection_solver(sweep_line_problem: &mut SweepLineProblem) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_sweep_line_solver` is never used
[INFO] [stdout]    --> src/solvers.rs:296:8
[INFO] [stdout]     |
[INFO] [stdout] 296 | pub fn test_sweep_line_solver() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufRead`
[INFO] [stdout]  --> src/domain.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{BufRead, Write};
[INFO] [stdout]   |               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/example_generator.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let mut result = Vec::new();
[INFO] [stdout]   |         ----^^^^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/example_generator.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let mut time = 0.0;
[INFO] [stdout]   |         ----^^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/example_generator.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let mut basic_operations = 0;
[INFO] [stdout]   |         ----^^^^^^^^^^^^^^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/domain.rs:380:13
[INFO] [stdout]     |
[INFO] [stdout] 380 |         let x = rand::random::<f64>();
[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: `i`
[INFO] [stdout]    --> src/domain.rs:382:13
[INFO] [stdout]     |
[INFO] [stdout] 382 |         for i in 0..n {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/visualization.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let mut sweep_line_problem = SweepLineProblem::load(
[INFO] [stdout]    |             ----^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]    --> src/visualization.rs:252:34
[INFO] [stdout]     |
[INFO] [stdout] 252 |     fn key_down_event(&mut self, ctx: &mut Context, input: KeyInput, _repeated: bool) -> Result<(), GameError> {
[INFO] [stdout]     |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_random_example` is never used
[INFO] [stdout]  --> src/example_generator.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn create_random_example(n_segments: i32) -> SweepLineProblem {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `to_grid` and `interpolate_y` are never used
[INFO] [stdout]   --> src/domain.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl Segment {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] 30 |     pub fn to_grid(&self, grid_size: f64) -> Segment {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn interpolate_y(&self, x: f64) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `time` is never read
[INFO] [stdout]    --> src/domain.rs:107:9
[INFO] [stdout]     |
[INFO] [stdout] 104 | pub struct SweepLineProblem {
[INFO] [stdout]     |            ---------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub time: f64,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `SweepLineProblem` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `inorder` and `print_inorder` are never used
[INFO] [stdout]    --> src/domain.rs:357:8
[INFO] [stdout]     |
[INFO] [stdout] 225 | impl Treap {
[INFO] [stdout]     | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 357 |     fn inorder(&self, node: &Option<Box<Node>>) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 368 |     pub fn print_inorder(&self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_treap` is never used
[INFO] [stdout]    --> src/domain.rs:375:8
[INFO] [stdout]     |
[INFO] [stdout] 375 | pub fn test_treap() {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `naive_intersection_solver` is never used
[INFO] [stdout]   --> src/solvers.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn naive_intersection_solver(sweep_line_problem: &mut SweepLineProblem) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_sweep_line_solver` is never used
[INFO] [stdout]    --> src/solvers.rs:296:8
[INFO] [stdout]     |
[INFO] [stdout] 296 | pub fn test_sweep_line_solver() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 57s
[INFO] running `Command { std: "docker" "inspect" "e50b165334335caac6584211712a1cb865dcfdb18c00dc7d257b07dee28a7fde", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e50b165334335caac6584211712a1cb865dcfdb18c00dc7d257b07dee28a7fde", kill_on_drop: false }`
[INFO] [stdout] e50b165334335caac6584211712a1cb865dcfdb18c00dc7d257b07dee28a7fde
