[INFO] cloning repository https://github.com/tomassedovic/dose-response [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tomassedovic/dose-response" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomassedovic%2Fdose-response", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomassedovic%2Fdose-response'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 448c209b3118e8a6bfcf2a736bd3ed63606799f9 [INFO] checking tomassedovic/dose-response against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomassedovic%2Fdose-response" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tomassedovic/dose-response on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1/source/.cargo/config [INFO] started tweaking git repo https://github.com/tomassedovic/dose-response [INFO] finished tweaking git repo https://github.com/tomassedovic/dose-response [INFO] tweaked toml for git repo https://github.com/tomassedovic/dose-response written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/tomassedovic/dose-response already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded oorandom v11.0.1 [INFO] [stderr] Downloaded winit v0.22.1 [INFO] [stderr] Downloaded emath v0.10.0 [INFO] [stderr] Downloaded adler v1.0.1 [INFO] [stderr] Downloaded winres v0.1.8 [INFO] [stderr] Downloaded epaint v0.10.0 [INFO] [stderr] Downloaded raw-window-handle v0.3.1 [INFO] [stderr] Downloaded unidiff v0.3.1 [INFO] [stderr] Downloaded backtrace v0.3.11 [INFO] [stderr] Downloaded toml_edit v0.2.0 [INFO] [stderr] Downloaded egui v0.10.0 [INFO] [stderr] Downloaded approx v0.3.0 [INFO] [stderr] Downloaded zmq v0.8.2 [INFO] [stderr] Downloaded rand_isaac v0.1.0 [INFO] [stderr] Downloaded glutin v0.24.0 [INFO] [stderr] Downloaded rand v0.6.0 [INFO] [stderr] Downloaded zmq-sys v0.8.2 [INFO] [stderr] Downloaded getrandom v0.2.0 [INFO] [stderr] Downloaded log-panics v2.0.0 [INFO] [stderr] Downloaded stb_truetype v0.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 31cfc179af2ff7db3936bc959d7e43114dacac5785b841b217a62d6e779716f3 [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" "31cfc179af2ff7db3936bc959d7e43114dacac5785b841b217a62d6e779716f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31cfc179af2ff7db3936bc959d7e43114dacac5785b841b217a62d6e779716f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31cfc179af2ff7db3936bc959d7e43114dacac5785b841b217a62d6e779716f3", kill_on_drop: false }` [INFO] [stdout] 31cfc179af2ff7db3936bc959d7e43114dacac5785b841b217a62d6e779716f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a1ea7aad2fdcaebf3931a4dfa300e0d8661ea5842310637cc23f3113b6ad6457 [INFO] running `Command { std: "docker" "start" "-a" "a1ea7aad2fdcaebf3931a4dfa300e0d8661ea5842310637cc23f3113b6ad6457", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling weezl v0.1.4 [INFO] [stderr] Checking downcast-rs v1.0.3 [INFO] [stderr] Compiling getrandom v0.2.0 [INFO] [stderr] Compiling adler v1.0.1 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Checking ttf-parser v0.6.1 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Checking smallvec v1.4.1 [INFO] [stderr] Compiling bytemuck v1.5.1 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.2 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking ascii v0.9.1 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Checking rustc-demangle v0.1.13 [INFO] [stderr] Checking instant v0.1.6 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking emath v0.10.0 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking oorandom v11.0.1 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking stb_truetype v0.2.4 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling ahash v0.7.0 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling gif v0.11.1 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Checking approx v0.3.0 [INFO] [stderr] Checking ordered-float v1.0.1 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking owned_ttf_parser v0.6.0 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Checking rusttype v0.7.3 [INFO] [stderr] Checking rusttype v0.9.2 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Checking combine v3.8.1 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Checking parking_lot_core v0.7.1 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking raw-window-handle v0.3.1 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling syn v0.15.21 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking epaint v0.10.0 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking egui v0.10.0 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Checking backtrace v0.3.11 [INFO] [stderr] Checking simplelog v0.5.3 [INFO] [stderr] Compiling gl v0.10.0 [INFO] [stderr] Checking log-panics v2.0.0 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Checking calloop v0.4.4 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking toml_edit v0.2.0 [INFO] [stderr] Compiling image v0.23.13 [INFO] [stderr] Checking smithay-client-toolkit v0.6.6 [INFO] [stderr] Checking winit v0.22.1 [INFO] [stderr] Compiling dose-response v2.0.0-dev (/opt/rustwide/workdir) [INFO] [stderr] Checking serde_json v1.0.33 [INFO] [stderr] Checking bincode v1.0.1 [INFO] [stderr] Checking glutin v0.24.0 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> src/pathfinding.rs:204:23 [INFO] [stdout] | [INFO] [stdout] 204 | let mut rng = rand::IsaacRng::new_from_u64(0); [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `World` in the current scope [INFO] [stdout] --> src/pathfinding.rs:211:32 [INFO] [stdout] | [INFO] [stdout] 211 | let mut world = World::new(&mut rng, 0, 64, 32, player_info); [INFO] [stdout] | ^^^ function or associated item not found in `World` [INFO] [stdout] | [INFO] [stdout] ::: src/world.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | pub struct World { [INFO] [stdout] | ---------------- function or associated item `new` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `jpeg_decoder::worker::Worker` [INFO] [stdout] candidate #2: `parking_lot_core::thread_parker::ThreadParkerT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 6 arguments but 5 arguments were supplied [INFO] [stdout] --> src/pathfinding.rs:283:26 [INFO] [stdout] | [INFO] [stdout] 283 | let path: Path = Path::find( [INFO] [stdout] | ^^^^^^^^^^ expected 6 arguments [INFO] [stdout] 284 | board.start, [INFO] [stdout] | ----------- [INFO] [stdout] 285 | board.destination, [INFO] [stdout] | ----------------- [INFO] [stdout] 286 | &mut board.world, [INFO] [stdout] | ---------------- [INFO] [stdout] 287 | Blocker::WALL, [INFO] [stdout] | ------------- [INFO] [stdout] 288 | Point::new(0, 0), [INFO] [stdout] | ---------------- supplied 5 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/pathfinding.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn find( [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | from: Point, [INFO] [stdout] | ----------- [INFO] [stdout] 17 | to: Point, [INFO] [stdout] | --------- [INFO] [stdout] 18 | world: &mut World, [INFO] [stdout] | ----------------- [INFO] [stdout] 19 | blockers: blocker::Blocker, [INFO] [stdout] | -------------------------- [INFO] [stdout] 20 | player_position: Point, [INFO] [stdout] | ---------------------- [INFO] [stdout] 21 | calculation_limit: i32, [INFO] [stdout] | ---------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 6 arguments but 5 arguments were supplied [INFO] [stdout] --> src/pathfinding.rs:310:26 [INFO] [stdout] | [INFO] [stdout] 310 | let path: Path = Path::find( [INFO] [stdout] | ^^^^^^^^^^ expected 6 arguments [INFO] [stdout] 311 | board.start, [INFO] [stdout] | ----------- [INFO] [stdout] 312 | board.destination, [INFO] [stdout] | ----------------- [INFO] [stdout] 313 | &mut board.world, [INFO] [stdout] | ---------------- [INFO] [stdout] 314 | Blocker::WALL, [INFO] [stdout] | ------------- [INFO] [stdout] 315 | Point::new(0, 0), [INFO] [stdout] | ---------------- supplied 5 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/pathfinding.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn find( [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | from: Point, [INFO] [stdout] | ----------- [INFO] [stdout] 17 | to: Point, [INFO] [stdout] | --------- [INFO] [stdout] 18 | world: &mut World, [INFO] [stdout] | ----------------- [INFO] [stdout] 19 | blockers: blocker::Blocker, [INFO] [stdout] | -------------------------- [INFO] [stdout] 20 | player_position: Point, [INFO] [stdout] | ---------------------- [INFO] [stdout] 21 | calculation_limit: i32, [INFO] [stdout] | ---------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 6 arguments but 5 arguments were supplied [INFO] [stdout] --> src/pathfinding.rs:332:26 [INFO] [stdout] | [INFO] [stdout] 332 | let path: Path = Path::find( [INFO] [stdout] | ^^^^^^^^^^ expected 6 arguments [INFO] [stdout] 333 | board.start, [INFO] [stdout] | ----------- [INFO] [stdout] 334 | board.destination, [INFO] [stdout] | ----------------- [INFO] [stdout] 335 | &mut board.world, [INFO] [stdout] | ---------------- [INFO] [stdout] 336 | Blocker::WALL, [INFO] [stdout] | ------------- [INFO] [stdout] 337 | Point::new(0, 0), [INFO] [stdout] | ---------------- supplied 5 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/pathfinding.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn find( [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | from: Point, [INFO] [stdout] | ----------- [INFO] [stdout] 17 | to: Point, [INFO] [stdout] | --------- [INFO] [stdout] 18 | world: &mut World, [INFO] [stdout] | ----------------- [INFO] [stdout] 19 | blockers: blocker::Blocker, [INFO] [stdout] | -------------------------- [INFO] [stdout] 20 | player_position: Point, [INFO] [stdout] | ---------------------- [INFO] [stdout] 21 | calculation_limit: i32, [INFO] [stdout] | ---------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 6 arguments but 5 arguments were supplied [INFO] [stdout] --> src/pathfinding.rs:358:26 [INFO] [stdout] | [INFO] [stdout] 358 | let path: Path = Path::find( [INFO] [stdout] | ^^^^^^^^^^ expected 6 arguments [INFO] [stdout] 359 | board.start, [INFO] [stdout] | ----------- [INFO] [stdout] 360 | board.destination, [INFO] [stdout] | ----------------- [INFO] [stdout] 361 | &mut board.world, [INFO] [stdout] | ---------------- [INFO] [stdout] 362 | Blocker::WALL, [INFO] [stdout] | ------------- [INFO] [stdout] 363 | Point::new(0, 0), [INFO] [stdout] | ---------------- supplied 5 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/pathfinding.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn find( [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | from: Point, [INFO] [stdout] | ----------- [INFO] [stdout] 17 | to: Point, [INFO] [stdout] | --------- [INFO] [stdout] 18 | world: &mut World, [INFO] [stdout] | ----------------- [INFO] [stdout] 19 | blockers: blocker::Blocker, [INFO] [stdout] | -------------------------- [INFO] [stdout] 20 | player_position: Point, [INFO] [stdout] | ---------------------- [INFO] [stdout] 21 | calculation_limit: i32, [INFO] [stdout] | ---------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 6 arguments but 5 arguments were supplied [INFO] [stdout] --> src/pathfinding.rs:384:26 [INFO] [stdout] | [INFO] [stdout] 384 | let path: Path = Path::find( [INFO] [stdout] | ^^^^^^^^^^ expected 6 arguments [INFO] [stdout] 385 | board.start, [INFO] [stdout] | ----------- [INFO] [stdout] 386 | board.destination, [INFO] [stdout] | ----------------- [INFO] [stdout] 387 | &mut board.world, [INFO] [stdout] | ---------------- [INFO] [stdout] 388 | Blocker::WALL, [INFO] [stdout] | ------------- [INFO] [stdout] 389 | Point::new(0, 0), [INFO] [stdout] | ---------------- supplied 5 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/pathfinding.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn find( [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | from: Point, [INFO] [stdout] | ----------- [INFO] [stdout] 17 | to: Point, [INFO] [stdout] | --------- [INFO] [stdout] 18 | world: &mut World, [INFO] [stdout] | ----------------- [INFO] [stdout] 19 | blockers: blocker::Blocker, [INFO] [stdout] | -------------------------- [INFO] [stdout] 20 | player_position: Point, [INFO] [stdout] | ---------------------- [INFO] [stdout] 21 | calculation_limit: i32, [INFO] [stdout] | ---------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 6 arguments but 5 arguments were supplied [INFO] [stdout] --> src/pathfinding.rs:404:26 [INFO] [stdout] | [INFO] [stdout] 404 | let path: Path = Path::find( [INFO] [stdout] | ^^^^^^^^^^ expected 6 arguments [INFO] [stdout] 405 | board.start, [INFO] [stdout] | ----------- [INFO] [stdout] 406 | board.destination, [INFO] [stdout] | ----------------- [INFO] [stdout] 407 | &mut board.world, [INFO] [stdout] | ---------------- [INFO] [stdout] 408 | Blocker::WALL, [INFO] [stdout] | ------------- [INFO] [stdout] 409 | Point::new(0, 0), [INFO] [stdout] | ---------------- supplied 5 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/pathfinding.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn find( [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | from: Point, [INFO] [stdout] | ----------- [INFO] [stdout] 17 | to: Point, [INFO] [stdout] | --------- [INFO] [stdout] 18 | world: &mut World, [INFO] [stdout] | ----------------- [INFO] [stdout] 19 | blockers: blocker::Blocker, [INFO] [stdout] | -------------------------- [INFO] [stdout] 20 | player_position: Point, [INFO] [stdout] | ---------------------- [INFO] [stdout] 21 | calculation_limit: i32, [INFO] [stdout] | ---------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 6 arguments but 5 arguments were supplied [INFO] [stdout] --> src/pathfinding.rs:435:26 [INFO] [stdout] | [INFO] [stdout] 435 | let path: Path = Path::find( [INFO] [stdout] | ^^^^^^^^^^ expected 6 arguments [INFO] [stdout] 436 | board.start, [INFO] [stdout] | ----------- [INFO] [stdout] 437 | board.destination, [INFO] [stdout] | ----------------- [INFO] [stdout] 438 | &mut board.world, [INFO] [stdout] | ---------------- [INFO] [stdout] 439 | Blocker::WALL, [INFO] [stdout] | ------------- [INFO] [stdout] 440 | Point::new(0, 0), [INFO] [stdout] | ---------------- supplied 5 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/pathfinding.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn find( [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | from: Point, [INFO] [stdout] | ----------- [INFO] [stdout] 17 | to: Point, [INFO] [stdout] | --------- [INFO] [stdout] 18 | world: &mut World, [INFO] [stdout] | ----------------- [INFO] [stdout] 19 | blockers: blocker::Blocker, [INFO] [stdout] | -------------------------- [INFO] [stdout] 20 | player_position: Point, [INFO] [stdout] | ---------------------- [INFO] [stdout] 21 | calculation_limit: i32, [INFO] [stdout] | ---------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dose-response` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/monster.rs:170:20 [INFO] [stdout] | [INFO] [stdout] 170 | panic!(format!("{:?} is dead, cannot run actions on it.", self)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 170 | panic!("{:?} is dead, cannot run actions on it.", self); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a1ea7aad2fdcaebf3931a4dfa300e0d8661ea5842310637cc23f3113b6ad6457", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1ea7aad2fdcaebf3931a4dfa300e0d8661ea5842310637cc23f3113b6ad6457", kill_on_drop: false }` [INFO] [stdout] a1ea7aad2fdcaebf3931a4dfa300e0d8661ea5842310637cc23f3113b6ad6457