[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] checking open-railsim/network-generator against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fopen-railsim%2Fnetwork-generator" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/open-railsim/network-generator on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-13/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b0ecdde05fb14a047bbeb959c2f9ca1ff7d0c1c0408a53506e607dd615bf49a5 [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" "b0ecdde05fb14a047bbeb959c2f9ca1ff7d0c1c0408a53506e607dd615bf49a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b0ecdde05fb14a047bbeb959c2f9ca1ff7d0c1c0408a53506e607dd615bf49a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0ecdde05fb14a047bbeb959c2f9ca1ff7d0c1c0408a53506e607dd615bf49a5", kill_on_drop: false }` [INFO] [stdout] b0ecdde05fb14a047bbeb959c2f9ca1ff7d0c1c0408a53506e607dd615bf49a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e77f59b698119ecbfdb821ef15a2d166ef2ee3b55f11a25bbe66a5505e6ba590 [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" "e77f59b698119ecbfdb821ef15a2d166ef2ee3b55f11a25bbe66a5505e6ba590", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling libc v0.2.54 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.34 [INFO] [stderr] Compiling serde v1.0.91 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking libmath v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.91 [INFO] [stderr] Compiling structopt-derive v0.2.15 [INFO] [stderr] Checking structopt v0.2.15 [INFO] [stderr] Checking serde_json v1.0.39 [INFO] [stderr] Checking network-generator v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/libnetgen.rs (5 fixes) [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, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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: 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: 10 warnings emitted [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, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 42.68s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking network-generator v0.1.0 (/tmp/fixit) [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, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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: 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: 10 warnings emitted [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, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.06s [INFO] running `Command { std: "docker" "inspect" "e77f59b698119ecbfdb821ef15a2d166ef2ee3b55f11a25bbe66a5505e6ba590", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e77f59b698119ecbfdb821ef15a2d166ef2ee3b55f11a25bbe66a5505e6ba590", kill_on_drop: false }` [INFO] [stdout] e77f59b698119ecbfdb821ef15a2d166ef2ee3b55f11a25bbe66a5505e6ba590