[INFO] cloning repository https://github.com/bunjiro1213/nj-transit-delay-analysis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bunjiro1213/nj-transit-delay-analysis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbunjiro1213%2Fnj-transit-delay-analysis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbunjiro1213%2Fnj-transit-delay-analysis'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2fee17ad2c7abd6a16e62f9e5bfe6d98780e6783 [INFO] checking bunjiro1213/nj-transit-delay-analysis against master#f8f6997469237299c1d60814c7b9828602a1f8e4 for pr-143808 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbunjiro1213%2Fnj-transit-delay-analysis" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 27% (10/37) Updating files: 29% (11/37) Updating files: 32% (12/37) Updating files: 35% (13/37) Updating files: 37% (14/37) Updating files: 40% (15/37) Updating files: 43% (16/37) Updating files: 45% (17/37) Updating files: 48% (18/37) Updating files: 51% (19/37) Updating files: 54% (20/37) Updating files: 56% (21/37) Updating files: 59% (22/37) Updating files: 62% (23/37) Updating files: 64% (24/37) Updating files: 67% (25/37) Updating files: 70% (26/37) Updating files: 72% (27/37) Updating files: 75% (28/37) Updating files: 78% (29/37) Updating files: 81% (30/37) Updating files: 83% (31/37) Updating files: 86% (32/37) Updating files: 89% (33/37) Updating files: 91% (34/37) Updating files: 94% (35/37) Updating files: 97% (36/37) Updating files: 100% (37/37) Updating files: 100% (37/37), done. [INFO] started tweaking git repo https://github.com/bunjiro1213/nj-transit-delay-analysis [INFO] finished tweaking git repo https://github.com/bunjiro1213/nj-transit-delay-analysis [INFO] tweaked toml for git repo https://github.com/bunjiro1213/nj-transit-delay-analysis written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bunjiro1213/nj-transit-delay-analysis on toolchain f8f6997469237299c1d60814c7b9828602a1f8e4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bunjiro1213/nj-transit-delay-analysis 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" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 484ed2d6c91da1d4807b9f6fbd9bde8779958f536c386cd8576ac8aaa70b7a1b [INFO] running `Command { std: "docker" "start" "-a" "484ed2d6c91da1d4807b9f6fbd9bde8779958f536c386cd8576ac8aaa70b7a1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "484ed2d6c91da1d4807b9f6fbd9bde8779958f536c386cd8576ac8aaa70b7a1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "484ed2d6c91da1d4807b9f6fbd9bde8779958f536c386cd8576ac8aaa70b7a1b", kill_on_drop: false }` [INFO] [stdout] 484ed2d6c91da1d4807b9f6fbd9bde8779958f536c386cd8576ac8aaa70b7a1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13da7652e767f3fd8162884f82516e310bfd74e8abb8e4fec9d804324d54077b [INFO] running `Command { std: "docker" "start" "-a" "13da7652e767f3fd8162884f82516e310bfd74e8abb8e4fec9d804324d54077b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking ordered-float v5.0.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking p1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/metrics.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | let n = self.nodes.len(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `averages` [INFO] [stdout] --> src/metrics.rs:212:17 [INFO] [stdout] | [INFO] [stdout] 212 | let mut averages = self.get_route_average_delays(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_averages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/metrics.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | let mut averages = self.get_route_average_delays(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/load.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TrainRecord { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 10 | pub date: String,// Date of the train record [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub train_id: String,// Identifier for the train [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | pub stop_sequence: String, // Stop sequence number [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub from: String, // Departure station name [INFO] [stdout] 14 | pub from_id: String,// Departure station ID [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | pub to: String,// Arrival station name [INFO] [stdout] 16 | pub to_id: String,// Arrival station ID [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | pub scheduled_time: String,// Scheduled time for the trip [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 18 | pub actual_time: String,// Actual arrival/departure time [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | pub delay_minutes: Option, // Delay in minutes, optional [INFO] [stdout] 20 | pub status: String,// Status of the train [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | pub line: String,// Line name [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | pub r#type: String,// Train type (e.g. Local, Express) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 23 | pub month: String,// Month of the record [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | pub year: String,// Year of the record [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrainRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `WeightedEdge` is never used [INFO] [stdout] --> src/graph.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub type WeightedEdge = (Station, Station, f32); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/metrics.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | let n = self.nodes.len(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `averages` [INFO] [stdout] --> src/metrics.rs:212:17 [INFO] [stdout] | [INFO] [stdout] 212 | let mut averages = self.get_route_average_delays(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_averages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/metrics.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | let mut averages = self.get_route_average_delays(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/load.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TrainRecord { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 10 | pub date: String,// Date of the train record [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub train_id: String,// Identifier for the train [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | pub stop_sequence: String, // Stop sequence number [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub from: String, // Departure station name [INFO] [stdout] 14 | pub from_id: String,// Departure station ID [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | pub to: String,// Arrival station name [INFO] [stdout] 16 | pub to_id: String,// Arrival station ID [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | pub scheduled_time: String,// Scheduled time for the trip [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 18 | pub actual_time: String,// Actual arrival/departure time [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | pub delay_minutes: Option, // Delay in minutes, optional [INFO] [stdout] 20 | pub status: String,// Status of the train [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | pub line: String,// Line name [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | pub r#type: String,// Train type (e.g. Local, Express) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 23 | pub month: String,// Month of the record [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | pub year: String,// Year of the record [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrainRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `WeightedEdge` is never used [INFO] [stdout] --> src/graph.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub type WeightedEdge = (Station, Station, f32); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.09s [INFO] running `Command { std: "docker" "inspect" "13da7652e767f3fd8162884f82516e310bfd74e8abb8e4fec9d804324d54077b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13da7652e767f3fd8162884f82516e310bfd74e8abb8e4fec9d804324d54077b", kill_on_drop: false }` [INFO] [stdout] 13da7652e767f3fd8162884f82516e310bfd74e8abb8e4fec9d804324d54077b