[INFO] cloning repository https://github.com/HMarmottant/travelling-salesman [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HMarmottant/travelling-salesman" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHMarmottant%2Ftravelling-salesman", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHMarmottant%2Ftravelling-salesman'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aba68c1188a2ee7368a5e892ec8708155720fb00 [INFO] checking HMarmottant/travelling-salesman/aba68c1188a2ee7368a5e892ec8708155720fb00 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHMarmottant%2Ftravelling-salesman" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HMarmottant/travelling-salesman on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HMarmottant/travelling-salesman [INFO] finished tweaking git repo https://github.com/HMarmottant/travelling-salesman [INFO] tweaked toml for git repo https://github.com/HMarmottant/travelling-salesman written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/HMarmottant/travelling-salesman 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" "+5518eaa946291f00471af8b254b2a1715f234882" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 34f4f78800ba34df0f3da2b7096decb571241db37c5c5aa9f1e6525b34ee96dd [INFO] running `Command { std: "docker" "start" "-a" "34f4f78800ba34df0f3da2b7096decb571241db37c5c5aa9f1e6525b34ee96dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "34f4f78800ba34df0f3da2b7096decb571241db37c5c5aa9f1e6525b34ee96dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34f4f78800ba34df0f3da2b7096decb571241db37c5c5aa9f1e6525b34ee96dd", kill_on_drop: false }` [INFO] [stdout] 34f4f78800ba34df0f3da2b7096decb571241db37c5c5aa9f1e6525b34ee96dd [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7671a229fd05bdb39a514e4f8c97405097a3dc4098a9aaf4fe39787e108c31f7 [INFO] running `Command { std: "docker" "start" "-a" "7671a229fd05bdb39a514e4f8c97405097a3dc4098a9aaf4fe39787e108c31f7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Checking csv v1.2.2 [INFO] [stderr] Checking travelling-salesman v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `paths` [INFO] [stdout] --> src/compute_spherical_d.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let paths = fs::read_dir(filepath).unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_paths` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `paths` [INFO] [stdout] --> src/compute_spherical_d.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let paths = fs::read_dir(filepath).unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_paths` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `i` is assigned to, but never used [INFO] [stdout] --> src/main.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let mut i = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_i` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `i` is assigned to, but never used [INFO] [stdout] --> src/main.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let mut i = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_i` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cities` [INFO] [stdout] --> src/main.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let cities = get_city_data("./worldcities.csv"); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cities` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cities` [INFO] [stdout] --> src/main.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let cities = get_city_data("./worldcities.csv"); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cities` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute` is never used [INFO] [stdout] --> src/compute_spherical_d.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn compute(cities: &CityUtil::CityList) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `CityUtil` should have a snake case name [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | mod CityUtil; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `city_util` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute` is never used [INFO] [stdout] --> src/compute_spherical_d.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn compute(cities: &CityUtil::CityList) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `CityUtil` should have a snake case name [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | mod CityUtil; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `city_util` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.56s [INFO] running `Command { std: "docker" "inspect" "7671a229fd05bdb39a514e4f8c97405097a3dc4098a9aaf4fe39787e108c31f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7671a229fd05bdb39a514e4f8c97405097a3dc4098a9aaf4fe39787e108c31f7", kill_on_drop: false }` [INFO] [stdout] 7671a229fd05bdb39a514e4f8c97405097a3dc4098a9aaf4fe39787e108c31f7