[INFO] cloning repository https://github.com/open-railsim/network-generator
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/open-railsim/network-generator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fopen-railsim%2Fnetwork-generator", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fopen-railsim%2Fnetwork-generator'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0c1f261cafa96f7e23cb22932b685a1e622bada0
[INFO] testing open-railsim/network-generator against 1.62.0 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fopen-railsim%2Fnetwork-generator" "/workspace/builds/worker-9/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/open-railsim/network-generator on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/open-railsim/network-generator
[INFO] finished tweaking git repo https://github.com/open-railsim/network-generator
[INFO] tweaked toml for git repo https://github.com/open-railsim/network-generator written to /workspace/builds/worker-9/source/Cargo.toml
[INFO] crate git repo https://github.com/open-railsim/network-generator already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] f03af16dc1d7b7771f85e594030657c24135bd4b771b84cd6adbd545c91ee844
[INFO] running `Command { std: "docker" "start" "-a" "f03af16dc1d7b7771f85e594030657c24135bd4b771b84cd6adbd545c91ee844", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f03af16dc1d7b7771f85e594030657c24135bd4b771b84cd6adbd545c91ee844", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f03af16dc1d7b7771f85e594030657c24135bd4b771b84cd6adbd545c91ee844", kill_on_drop: false }`
[INFO] [stdout] f03af16dc1d7b7771f85e594030657c24135bd4b771b84cd6adbd545c91ee844
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 9508e2db717cdfdec93e77247be4ff5edadc585ef94d3847d3ff8c1ee7aafe26
[INFO] running `Command { std: "docker" "start" "-a" "9508e2db717cdfdec93e77247be4ff5edadc585ef94d3847d3ff8c1ee7aafe26", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.54
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]    Compiling serde_derive v1.0.91
[INFO] [stderr]    Compiling structopt-derive v0.2.15
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling atty v0.2.11
[INFO] [stderr]    Compiling clap v2.33.0
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling libmath v0.2.1
[INFO] [stderr]    Compiling structopt v0.2.15
[INFO] [stderr]    Compiling serde v1.0.91
[INFO] [stderr]    Compiling serde_json v1.0.39
[INFO] [stderr]    Compiling network-generator v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]    --> src/libnetgen.rs:171:5
[INFO] [stdout]     |
[INFO] [stdout] 171 |     ((u.0 * v.0) + (u.1 * v.1))
[INFO] [stdout]     |     ^                         ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 171 -     ((u.0 * v.0) + (u.1 * v.1))
[INFO] [stdout] 171 +     (u.0 * v.0) + (u.1 * v.1)
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `from`
[INFO] [stdout]    --> src/libnetgen.rs:193:33
[INFO] [stdout]     |
[INFO] [stdout] 193 | fn can_merge_segment_with_point(from: Point, to: Point, point: Point, distance: i32) -> bool {
[INFO] [stdout]     |                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_from`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `to`
[INFO] [stdout]    --> src/libnetgen.rs:193:46
[INFO] [stdout]     |
[INFO] [stdout] 193 | fn can_merge_segment_with_point(from: Point, to: Point, point: Point, distance: i32) -> bool {
[INFO] [stdout]     |                                              ^^ help: if this is intentional, prefix it with an underscore: `_to`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `point`
[INFO] [stdout]    --> src/libnetgen.rs:193:57
[INFO] [stdout]     |
[INFO] [stdout] 193 | fn can_merge_segment_with_point(from: Point, to: Point, point: Point, distance: i32) -> bool {
[INFO] [stdout]     |                                                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `distance`
[INFO] [stdout]    --> src/libnetgen.rs:193:71
[INFO] [stdout]     |
[INFO] [stdout] 193 | fn can_merge_segment_with_point(from: Point, to: Point, point: Point, distance: i32) -> bool {
[INFO] [stdout]     |                                                                       ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `stations`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     stations: PathBuf,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/main.rs:7:21
[INFO] [stdout]    |
[INFO] [stdout] 7  | #[derive(StructOpt, Debug)]
[INFO] [stdout]    |                     ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `load_stations`
[INFO] [stdout]   --> src/file_loader.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub fn load_stations(path: &PathBuf) -> Result<Vec<Station>, Error> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/libnetgen.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub fn new(x: i32, y: i32, z: i32) -> Point {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `points`
[INFO] [stdout]   --> src/libnetgen.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     points: Vec<Point>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Line` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/libnetgen.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[derive(Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `points`
[INFO] [stdout]   --> src/libnetgen.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 |     points: Vec<Point>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Network` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/libnetgen.rs:22:10
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[derive(Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `round`
[INFO] [stdout]    --> src/libnetgen.rs:156:4
[INFO] [stdout]     |
[INFO] [stdout] 156 | fn round(v: f64) -> f64 {
[INFO] [stdout]     |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `vector_round`
[INFO] [stdout]    --> src/libnetgen.rs:161:4
[INFO] [stdout]     |
[INFO] [stdout] 161 | fn vector_round(v: (f64, f64)) -> (f64, f64) {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `vector_length`
[INFO] [stdout]    --> src/libnetgen.rs:166:4
[INFO] [stdout]     |
[INFO] [stdout] 166 | fn vector_length(u: (f64, f64)) -> f64 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `vector_dot_product`
[INFO] [stdout]    --> src/libnetgen.rs:170:4
[INFO] [stdout]     |
[INFO] [stdout] 170 | fn vector_dot_product(u: (f64, f64), v: (f64, f64)) -> f64 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `vector_angle`
[INFO] [stdout]    --> src/libnetgen.rs:175:4
[INFO] [stdout]     |
[INFO] [stdout] 175 | fn vector_angle(u: (f64, f64), v: (f64, f64)) -> f64 {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `vector_rotate`
[INFO] [stdout]    --> src/libnetgen.rs:180:4
[INFO] [stdout]     |
[INFO] [stdout] 180 | fn vector_rotate(v: (f64, f64), teta: f64) -> (f64, f64) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `convert_point_to_vector`
[INFO] [stdout]    --> src/libnetgen.rs:188:4
[INFO] [stdout]     |
[INFO] [stdout] 188 | fn convert_point_to_vector(p: Point) -> (f64, f64) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `can_merge_segment_with_point`
[INFO] [stdout]    --> src/libnetgen.rs:193:4
[INFO] [stdout]     |
[INFO] [stdout] 193 | fn can_merge_segment_with_point(from: Point, to: Point, point: Point, distance: i32) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 18 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 35.19s
[INFO] running `Command { std: "docker" "inspect" "9508e2db717cdfdec93e77247be4ff5edadc585ef94d3847d3ff8c1ee7aafe26", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9508e2db717cdfdec93e77247be4ff5edadc585ef94d3847d3ff8c1ee7aafe26", kill_on_drop: false }`
[INFO] [stdout] 9508e2db717cdfdec93e77247be4ff5edadc585ef94d3847d3ff8c1ee7aafe26
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] f18025d2698cc30ebbd3d5894da6638dffbf3fa1013c330d7e991b6bf228738e
[INFO] running `Command { std: "docker" "start" "-a" "f18025d2698cc30ebbd3d5894da6638dffbf3fa1013c330d7e991b6bf228738e", kill_on_drop: false }`
[INFO] [stderr]    Compiling network-generator v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]    --> src/libnetgen.rs:171:5
[INFO] [stdout]     |
[INFO] [stdout] 171 |     ((u.0 * v.0) + (u.1 * v.1))
[INFO] [stdout]     |     ^                         ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 171 -     ((u.0 * v.0) + (u.1 * v.1))
[INFO] [stdout] 171 +     (u.0 * v.0) + (u.1 * v.1)
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `from`
[INFO] [stdout]    --> src/libnetgen.rs:193:33
[INFO] [stdout]     |
[INFO] [stdout] 193 | fn can_merge_segment_with_point(from: Point, to: Point, point: Point, distance: i32) -> bool {
[INFO] [stdout]     |                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_from`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `to`
[INFO] [stdout]    --> src/libnetgen.rs:193:46
[INFO] [stdout]     |
[INFO] [stdout] 193 | fn can_merge_segment_with_point(from: Point, to: Point, point: Point, distance: i32) -> bool {
[INFO] [stdout]     |                                              ^^ help: if this is intentional, prefix it with an underscore: `_to`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `point`
[INFO] [stdout]    --> src/libnetgen.rs:193:57
[INFO] [stdout]     |
[INFO] [stdout] 193 | fn can_merge_segment_with_point(from: Point, to: Point, point: Point, distance: i32) -> bool {
[INFO] [stdout]     |                                                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `distance`
[INFO] [stdout]    --> src/libnetgen.rs:193:71
[INFO] [stdout]     |
[INFO] [stdout] 193 | fn can_merge_segment_with_point(from: Point, to: Point, point: Point, distance: i32) -> bool {
[INFO] [stdout]     |                                                                       ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `stations`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     stations: PathBuf,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/main.rs:7:21
[INFO] [stdout]    |
[INFO] [stdout] 7  | #[derive(StructOpt, Debug)]
[INFO] [stdout]    |                     ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `load_stations`
[INFO] [stdout]   --> src/file_loader.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub fn load_stations(path: &PathBuf) -> Result<Vec<Station>, Error> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `points`
[INFO] [stdout]   --> src/libnetgen.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     points: Vec<Point>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Line` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/libnetgen.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[derive(Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `points`
[INFO] [stdout]   --> src/libnetgen.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 |     points: Vec<Point>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Network` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/libnetgen.rs:22:10
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[derive(Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `convert_point_to_vector`
[INFO] [stdout]    --> src/libnetgen.rs:188:4
[INFO] [stdout]     |
[INFO] [stdout] 188 | fn convert_point_to_vector(p: Point) -> (f64, f64) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 2.16s
[INFO] [stderr]   Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/network_generator-80c88df32bcb75d9)
[INFO] running `Command { std: "docker" "inspect" "f18025d2698cc30ebbd3d5894da6638dffbf3fa1013c330d7e991b6bf228738e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f18025d2698cc30ebbd3d5894da6638dffbf3fa1013c330d7e991b6bf228738e", kill_on_drop: false }`
[INFO] [stdout] f18025d2698cc30ebbd3d5894da6638dffbf3fa1013c330d7e991b6bf228738e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] c0e87f4ac20b273ae2f60b81088a0540f9f204f60fd53ec9295c2cbe2a23c6ba
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "c0e87f4ac20b273ae2f60b81088a0540f9f204f60fd53ec9295c2cbe2a23c6ba", kill_on_drop: false }`
[INFO] [stderr] warning: unnecessary parentheses around block return value
[INFO] [stderr]    --> src/libnetgen.rs:171:5
[INFO] [stderr]     |
[INFO] [stderr] 171 |     ((u.0 * v.0) + (u.1 * v.1))
[INFO] [stderr]     |     ^                         ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 171 -     ((u.0 * v.0) + (u.1 * v.1))
[INFO] [stderr] 171 +     (u.0 * v.0) + (u.1 * v.1)
[INFO] [stderr]     | 
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `from`
[INFO] [stderr]    --> src/libnetgen.rs:193:33
[INFO] [stderr]     |
[INFO] [stderr] 193 | fn can_merge_segment_with_point(from: Point, to: Point, point: Point, distance: i32) -> bool {
[INFO] [stderr]     |                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_from`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `to`
[INFO] [stderr]    --> src/libnetgen.rs:193:46
[INFO] [stderr]     |
[INFO] [stderr] 193 | fn can_merge_segment_with_point(from: Point, to: Point, point: Point, distance: i32) -> bool {
[INFO] [stderr]     |                                              ^^ help: if this is intentional, prefix it with an underscore: `_to`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `point`
[INFO] [stderr]    --> src/libnetgen.rs:193:57
[INFO] [stderr]     |
[INFO] [stderr] 193 | fn can_merge_segment_with_point(from: Point, to: Point, point: Point, distance: i32) -> bool {
[INFO] [stderr]     |                                                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_point`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `distance`
[INFO] [stderr]    --> src/libnetgen.rs:193:71
[INFO] [stderr]     |
[INFO] [stderr] 193 | fn can_merge_segment_with_point(from: Point, to: Point, point: Point, distance: i32) -> bool {
[INFO] [stderr]     |                                                                       ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance`
[INFO] [stderr] 
[INFO] [stderr] warning: field is never read: `stations`
[INFO] [stderr]   --> src/main.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 |     stations: PathBuf,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/main.rs:7:21
[INFO] [stderr]    |
[INFO] [stderr] 7  | #[derive(StructOpt, Debug)]
[INFO] [stderr]    |                     ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `load_stations`
[INFO] [stderr]   --> src/file_loader.rs:61:8
[INFO] [stderr]    |
[INFO] [stderr] 61 | pub fn load_stations(path: &PathBuf) -> Result<Vec<Station>, Error> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field is never read: `points`
[INFO] [stderr]   --> src/libnetgen.rs:19:5
[INFO] [stderr]    |
[INFO] [stderr] 19 |     points: Vec<Point>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: `Line` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/libnetgen.rs:17:10
[INFO] [stderr]    |
[INFO] [stderr] 17 | #[derive(Debug)]
[INFO] [stderr]    |          ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: field is never read: `points`
[INFO] [stderr]   --> src/libnetgen.rs:28:5
[INFO] [stderr]    |
[INFO] [stderr] 28 |     points: Vec<Point>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: `Network` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/libnetgen.rs:22:10
[INFO] [stderr]    |
[INFO] [stderr] 22 | #[derive(Debug)]
[INFO] [stderr]    |          ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `convert_point_to_vector`
[INFO] [stderr]    --> src/libnetgen.rs:188:4
[INFO] [stderr]     |
[INFO] [stderr] 188 | fn convert_point_to_vector(p: Point) -> (f64, f64) {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `network-generator` (bin "network-generator" test) generated 10 warnings
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/network_generator-80c88df32bcb75d9)
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test libnetgen::tests::test_can_merge_segment_and_point ... ok
[INFO] [stdout] test libnetgen::tests::test_convert ... ok
[INFO] [stdout] test libnetgen::tests::test_normalize ... ok
[INFO] [stdout] test libnetgen::tests::test_vector_computations ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "c0e87f4ac20b273ae2f60b81088a0540f9f204f60fd53ec9295c2cbe2a23c6ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c0e87f4ac20b273ae2f60b81088a0540f9f204f60fd53ec9295c2cbe2a23c6ba", kill_on_drop: false }`
[INFO] [stdout] c0e87f4ac20b273ae2f60b81088a0540f9f204f60fd53ec9295c2cbe2a23c6ba
