[INFO] cloning repository https://github.com/Derpanieux/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/Derpanieux/travelling_salesman" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDerpanieux%2Ftravelling_salesman", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDerpanieux%2Ftravelling_salesman'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b628f45a7d5156d6d11c079941e853e195287984
[INFO] checking Derpanieux/travelling_salesman against try#ddcf048784667508cd676fef4667f88ae15628a3 for pr-148271
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDerpanieux%2Ftravelling_salesman" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Derpanieux/travelling_salesman
[INFO] finished tweaking git repo https://github.com/Derpanieux/travelling_salesman
[INFO] tweaked toml for git repo https://github.com/Derpanieux/travelling_salesman written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Derpanieux/travelling_salesman on toolchain ddcf048784667508cd676fef4667f88ae15628a3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ddcf048784667508cd676fef4667f88ae15628a3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Derpanieux/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" "+ddcf048784667508cd676fef4667f88ae15628a3" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ddcf048784667508cd676fef4667f88ae15628a3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 769add7dc7fe046652c4aee8d3a80cd5b70bac1a7783bd8040b7015e2f10131e
[INFO] running `Command { std: "docker" "start" "-a" "769add7dc7fe046652c4aee8d3a80cd5b70bac1a7783bd8040b7015e2f10131e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "769add7dc7fe046652c4aee8d3a80cd5b70bac1a7783bd8040b7015e2f10131e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "769add7dc7fe046652c4aee8d3a80cd5b70bac1a7783bd8040b7015e2f10131e", kill_on_drop: false }`
[INFO] [stdout] 769add7dc7fe046652c4aee8d3a80cd5b70bac1a7783bd8040b7015e2f10131e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ddcf048784667508cd676fef4667f88ae15628a3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b9d9a6095232c6a2ffafb66193383f0aea4fd774b1bdadf227e7101b14a323a9
[INFO] running `Command { std: "docker" "start" "-a" "b9d9a6095232c6a2ffafb66193383f0aea4fd774b1bdadf227e7101b14a323a9", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.141
[INFO] [stderr]    Compiling cgmath v0.17.0
[INFO] [stderr]     Checking bytemuck v1.13.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking rand_jitter v0.1.4
[INFO] [stderr]     Checking svg v0.5.12
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking approx v0.3.2
[INFO] [stderr]     Checking rgb v0.8.36
[INFO] [stderr]     Checking getrandom v0.1.16
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking getrandom v0.2.9
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking rand_pcg v0.2.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking draw v0.3.0
[INFO] [stderr]     Checking travelling_salesman v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0609]: no field `citis` on type `&mut World`
[INFO] [stdout]    --> src/structs.rs:147:61
[INFO] [stdout]     |
[INFO] [stdout] 147 |                 pheromone[i].push(self.cities[i].dist(&self.citis[j]));
[INFO] [stdout]     |                                                             ^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout] help: a field with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 147 |                 pheromone[i].push(self.cities[i].dist(&self.cities[j]));
[INFO] [stdout]     |                                                                 +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `ant_helper` in this scope
[INFO] [stdout]    --> src/structs.rs:152:23
[INFO] [stdout]     |
[INFO] [stdout] 152 |             let ant = ant_helper(&pheromone);
[INFO] [stdout]     |                       ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider using the method on `Self`
[INFO] [stdout]     |
[INFO] [stdout] 152 |             let ant = self.ant_helper(&pheromone);
[INFO] [stdout]     |                       +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/structs.rs:154:32
[INFO] [stdout]     |
[INFO] [stdout] 154 |             let p_factor:f32 = 1/ant.1;
[INFO] [stdout]     |                          ---   ^^^^^^^ expected `f32`, found integer
[INFO] [stdout]     |                          |
[INFO] [stdout]     |                          expected due to this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[Vec<f32>]` cannot be indexed by `&{integer}`
[INFO] [stdout]    --> src/structs.rs:171:34
[INFO] [stdout]     |
[INFO] [stdout] 171 |             let line = pheromone[traversal.last().unwrap()];
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `SliceIndex<[Vec<f32>]>` is not implemented for `&{integer}`
[INFO] [stdout]     = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]               `usize` implements `SliceIndex<ByteStr>`
[INFO] [stdout]               `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]     = note: required for `Vec<Vec<f32>>` to implement `Index<&{integer}>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/structs.rs:171:17
[INFO] [stdout]     |
[INFO] [stdout] 171 |             let line = pheromone[traversal.last().unwrap()];
[INFO] [stdout]     |                 ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 174 |             for i in line.len() {
[INFO] [stdout]     |                      ---- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving `line` an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 171 |             let line: /* Type */ = pheromone[traversal.last().unwrap()];
[INFO] [stdout]     |                     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[City]` cannot be indexed by `&{integer}`
[INFO] [stdout]    --> src/structs.rs:190:33
[INFO] [stdout]     |
[INFO] [stdout] 190 |             dist += self.cities[traversal.last().unwrap()].dist(&self.cities[i]);
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `SliceIndex<[City]>` is not implemented for `&{integer}`
[INFO] [stdout]     = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]               `usize` implements `SliceIndex<ByteStr>`
[INFO] [stdout]               `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]     = note: required for `Vec<City>` to implement `Index<&{integer}>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/structs.rs:190:21
[INFO] [stdout]     |
[INFO] [stdout] 190 |             dist += self.cities[traversal.last().unwrap()].dist(&self.cities[i]);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `citis` on type `&mut World`
[INFO] [stdout]    --> src/structs.rs:147:61
[INFO] [stdout]     |
[INFO] [stdout] 147 |                 pheromone[i].push(self.cities[i].dist(&self.citis[j]));
[INFO] [stdout]     |                                                             ^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout] help: a field with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 147 |                 pheromone[i].push(self.cities[i].dist(&self.cities[j]));
[INFO] [stdout]     |                                                                 +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `ant_helper` in this scope
[INFO] [stdout]    --> src/structs.rs:152:23
[INFO] [stdout]     |
[INFO] [stdout] 152 |             let ant = ant_helper(&pheromone);
[INFO] [stdout]     |                       ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider using the method on `Self`
[INFO] [stdout]     |
[INFO] [stdout] 152 |             let ant = self.ant_helper(&pheromone);
[INFO] [stdout]     |                       +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/structs.rs:154:32
[INFO] [stdout]     |
[INFO] [stdout] 154 |             let p_factor:f32 = 1/ant.1;
[INFO] [stdout]     |                          ---   ^^^^^^^ expected `f32`, found integer
[INFO] [stdout]     |                          |
[INFO] [stdout]     |                          expected due to this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0308, E0425, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[Vec<f32>]` cannot be indexed by `&{integer}`
[INFO] [stdout]    --> src/structs.rs:171:34
[INFO] [stdout]     |
[INFO] [stdout] 171 |             let line = pheromone[traversal.last().unwrap()];
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `SliceIndex<[Vec<f32>]>` is not implemented for `&{integer}`
[INFO] [stdout]     = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]               `usize` implements `SliceIndex<ByteStr>`
[INFO] [stdout]               `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]     = note: required for `Vec<Vec<f32>>` to implement `Index<&{integer}>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/structs.rs:171:17
[INFO] [stdout]     |
[INFO] [stdout] 171 |             let line = pheromone[traversal.last().unwrap()];
[INFO] [stdout]     |                 ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 174 |             for i in line.len() {
[INFO] [stdout]     |                      ---- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving `line` an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 171 |             let line: /* Type */ = pheromone[traversal.last().unwrap()];
[INFO] [stdout]     |                     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[City]` cannot be indexed by `&{integer}`
[INFO] [stdout]    --> src/structs.rs:190:33
[INFO] [stdout]     |
[INFO] [stdout] 190 |             dist += self.cities[traversal.last().unwrap()].dist(&self.cities[i]);
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `SliceIndex<[City]>` is not implemented for `&{integer}`
[INFO] [stdout]     = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]               `usize` implements `SliceIndex<ByteStr>`
[INFO] [stdout]               `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]     = note: required for `Vec<City>` to implement `Index<&{integer}>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/structs.rs:190:21
[INFO] [stdout]     |
[INFO] [stdout] 190 |             dist += self.cities[traversal.last().unwrap()].dist(&self.cities[i]);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `travelling_salesman` (bin "travelling_salesman") due to 7 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0308, E0425, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `travelling_salesman` (bin "travelling_salesman" test) due to 7 previous errors
[INFO] running `Command { std: "docker" "inspect" "b9d9a6095232c6a2ffafb66193383f0aea4fd774b1bdadf227e7101b14a323a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b9d9a6095232c6a2ffafb66193383f0aea4fd774b1bdadf227e7101b14a323a9", kill_on_drop: false }`
[INFO] [stdout] b9d9a6095232c6a2ffafb66193383f0aea4fd774b1bdadf227e7101b14a323a9
