[INFO] cloning repository https://github.com/tetofonta/asd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tetofonta/asd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftetofonta%2Fasd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftetofonta%2Fasd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] df58e2836ae7b5f28fe761e162072fd3575c9c36 [INFO] checking tetofonta/asd against e5e97e3ef0ee95d34bea49cdac051ed1bbac01df for pr-158759-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftetofonta%2Fasd" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tetofonta/asd [INFO] finished tweaking git repo https://github.com/tetofonta/asd [INFO] tweaked toml for git repo https://github.com/tetofonta/asd written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tetofonta/asd on toolchain e5e97e3ef0ee95d34bea49cdac051ed1bbac01df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tetofonta/asd 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" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 9601e7f1de88784ef6c084cabc6b528325212ed92f183b88cc31642aa218667a [INFO] running `Command { std: "docker" "start" "9601e7f1de88784ef6c084cabc6b528325212ed92f183b88cc31642aa218667a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9601e7f1de88784ef6c084cabc6b528325212ed92f183b88cc31642aa218667a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9601e7f1de88784ef6c084cabc6b528325212ed92f183b88cc31642aa218667a" "/opt/rustwide/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9601e7f1de88784ef6c084cabc6b528325212ed92f183b88cc31642aa218667a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9601e7f1de88784ef6c084cabc6b528325212ed92f183b88cc31642aa218667a" "/opt/rustwide/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling serde v1.0.183 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling virtue v0.0.13 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.183 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking unsafe-libyaml v0.2.9 [INFO] [stderr] Checking argparse v0.2.2 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling bincode_derive v2.0.0-rc.3 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Checking flate2 v1.0.26 [INFO] [stderr] Checking bincode v2.0.0-rc.3 [INFO] [stderr] Checking serde_yaml v0.9.25 [INFO] [stderr] Checking AlgorithmsAndDataStructures v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `max` and `min` [INFO] [stdout] --> src/common/field/mod.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::{max, min}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeSet` [INFO] [stdout] --> src/common/field/field.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{BTreeSet, HashSet}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::field::weight` [INFO] [stdout] --> src/common/field/visited_node.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::field::weight; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `heuristic_time_dependant` [INFO] [stdout] --> src/common/field/open_node.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg(feature = "heuristic_time_dependant")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `chebichev_distance`, `diagonal_distance`, `euclidean_distance`, and `wait_move_weight_calc` [INFO] [stdout] = help: consider adding `heuristic_time_dependant` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `max` and `min` [INFO] [stdout] --> src/common/field/mod.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::{max, min}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeSet` [INFO] [stdout] --> src/common/field/field.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{BTreeSet, HashSet}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::field::weight` [INFO] [stdout] --> src/common/field/visited_node.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::field::weight; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `heuristic_time_dependant` [INFO] [stdout] --> src/common/field/open_node.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg(feature = "heuristic_time_dependant")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `chebichev_distance`, `diagonal_distance`, `euclidean_distance`, and `wait_move_weight_calc` [INFO] [stdout] = help: consider adding `heuristic_time_dependant` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `agents` [INFO] [stdout] --> src/common/field/visited_node.rs:32:85 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn set(&mut self, time: usize, weight: f64, parent: Option<(usize, usize)>, agents: &AgentManager) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_agents` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `agents` [INFO] [stdout] --> src/common/field/visited_node.rs:58:39 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn weight(&self, time: usize, agents: &AgentManager) -> f64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_agents` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/common/agent/agent.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let mut avail_moves: Vec<(usize, usize)> = field.iter_neighbors(pos.0, pos.1) [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/common/field/field.rs:53:27 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn iter_neighbors(&self, x: usize, y: usize) -> NeighborIterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 53 | pub fn iter_neighbors(&self, x: usize, y: usize) -> NeighborIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 8 arguments but 7 arguments were supplied [INFO] [stdout] --> src/common/noise/mod.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | let noise = PerlinNoise::new(Some(42), Some(3), None, None, None, None, Some(5)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------------------------------------- argument #8 of type `Option` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/common/noise/perlin.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | ...fn new(seed: Option, octaves: Option, persistence: Option, lacunarity: Option, amplitude: Option, frequency: Option, cell_size: Option, offset: Option) -... [INFO] [stdout] | ^^^ ------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 9 | let noise = PerlinNoise::new(Some(42), Some(3), None, None, None, None, Some(5), /* Option */); [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `agents` [INFO] [stdout] --> src/common/field/visited_node.rs:32:85 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn set(&mut self, time: usize, weight: f64, parent: Option<(usize, usize)>, agents: &AgentManager) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_agents` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `agents` [INFO] [stdout] --> src/common/field/visited_node.rs:58:39 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn weight(&self, time: usize, agents: &AgentManager) -> f64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_agents` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/common/agent/agent.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let mut avail_moves: Vec<(usize, usize)> = field.iter_neighbors(pos.0, pos.1) [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `AlgorithmsAndDataStructures` (lib test) due to 1 previous error; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "9601e7f1de88784ef6c084cabc6b528325212ed92f183b88cc31642aa218667a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9601e7f1de88784ef6c084cabc6b528325212ed92f183b88cc31642aa218667a", kill_on_drop: false }` [INFO] [stdout] 9601e7f1de88784ef6c084cabc6b528325212ed92f183b88cc31642aa218667a