[INFO] cloning repository https://github.com/Kislalex/ants_search [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kislalex/ants_search" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKislalex%2Fants_search", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKislalex%2Fants_search'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c9768958bf24d42df8ac9f7a60ad54e9d3398325 [INFO] testing Kislalex/ants_search against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKislalex%2Fants_search" "/workspace/builds/worker-23/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-23/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kislalex/ants_search on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Kislalex/ants_search [INFO] finished tweaking git repo https://github.com/Kislalex/ants_search [INFO] tweaked toml for git repo https://github.com/Kislalex/ants_search written to /workspace/builds/worker-23/source/Cargo.toml [INFO] crate git repo https://github.com/Kislalex/ants_search already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d5d48e5d9e5d6d885948e05bfaa86527b0c497c58526582be8f7bfa472f6ac9 [INFO] running `Command { std: "docker" "start" "-a" "0d5d48e5d9e5d6d885948e05bfaa86527b0c497c58526582be8f7bfa472f6ac9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d5d48e5d9e5d6d885948e05bfaa86527b0c497c58526582be8f7bfa472f6ac9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d5d48e5d9e5d6d885948e05bfaa86527b0c497c58526582be8f7bfa472f6ac9", kill_on_drop: false }` [INFO] [stdout] 0d5d48e5d9e5d6d885948e05bfaa86527b0c497c58526582be8f7bfa472f6ac9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 866f2e9640d488abc94f288b4094d86bb54069e995ea92be9446d86dea8cf1d9 [INFO] running `Command { std: "docker" "start" "-a" "866f2e9640d488abc94f288b4094d86bb54069e995ea92be9446d86dea8cf1d9", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling rawpointer v0.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ndarray v0.12.1 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling sdl2 v0.34.5 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling sdl2-sys v0.34.5 [INFO] [stderr] Compiling matrixmultiply v0.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.4 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling ndarray-parallel v0.9.1 [INFO] [stderr] Compiling ndarray v0.15.1 [INFO] [stderr] Compiling Ants_search v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rand::thread_rng` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::thread_rng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> src/main.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let mut x: u32 = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hello` [INFO] [stdout] --> src/main.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn hello(field: &mut crate::field::Field) -> Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Ants_search` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `ants_search` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ants.rs:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | / canvas.fill_rect(Rect::new( [INFO] [stdout] 197 | | (ant.point.x - DIRECTIONS[ant.dir].x) * scale, [INFO] [stdout] 198 | | (ant.point.y - DIRECTIONS[ant.dir].y) * scale, [INFO] [stdout] 199 | | scale as u32, [INFO] [stdout] 200 | | scale as u32, [INFO] [stdout] 201 | | )); [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ants.rs:208:17 [INFO] [stdout] | [INFO] [stdout] 208 | / canvas.fill_rect(Rect::new( [INFO] [stdout] 209 | | ant.point.x * scale, [INFO] [stdout] 210 | | ant.point.y * scale, [INFO] [stdout] 211 | | scale as u32, [INFO] [stdout] 212 | | scale as u32, [INFO] [stdout] 213 | | )); [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ants.rs:235:21 [INFO] [stdout] | [INFO] [stdout] 235 | / canvas.fill_rect(Rect::new( [INFO] [stdout] 236 | | ant.point.x * scale, [INFO] [stdout] 237 | | ant.point.y * scale, [INFO] [stdout] 238 | | scale as u32, [INFO] [stdout] 239 | | scale as u32, [INFO] [stdout] 240 | | )); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/field.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | / canvas.fill_rect(Rect::new( [INFO] [stdout] 142 | | w as i32 * scale, [INFO] [stdout] 143 | | h as i32 * scale, [INFO] [stdout] 144 | | scale as u32, [INFO] [stdout] 145 | | scale as u32, [INFO] [stdout] 146 | | )); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/field.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | / canvas.fill_rect(Rect::new( [INFO] [stdout] 153 | | rect.x * scale, [INFO] [stdout] 154 | | rect.y * scale, [INFO] [stdout] 155 | | rect.width() * scale as u32, [INFO] [stdout] 156 | | rect.height() * scale as u32, [INFO] [stdout] 157 | | )); [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/field.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | / canvas.fill_rect(Rect::new( [INFO] [stdout] 162 | | rect.x * scale, [INFO] [stdout] 163 | | rect.y * scale, [INFO] [stdout] 164 | | rect.width() * scale as u32, [INFO] [stdout] 165 | | rect.height() * scale as u32, [INFO] [stdout] 166 | | )); [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/field.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | / canvas.fill_rect(Rect::new( [INFO] [stdout] 171 | | rect.x * scale, [INFO] [stdout] 172 | | rect.y * scale, [INFO] [stdout] 173 | | rect.width() * scale as u32, [INFO] [stdout] 174 | | rect.height() * scale as u32, [INFO] [stdout] 175 | | )); [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 27.08s [INFO] running `Command { std: "docker" "inspect" "866f2e9640d488abc94f288b4094d86bb54069e995ea92be9446d86dea8cf1d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "866f2e9640d488abc94f288b4094d86bb54069e995ea92be9446d86dea8cf1d9", kill_on_drop: false }` [INFO] [stdout] 866f2e9640d488abc94f288b4094d86bb54069e995ea92be9446d86dea8cf1d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a544720524e4ece09d6eb8afbb03e0042af7aefbbec437f18984503565d82be5 [INFO] running `Command { std: "docker" "start" "-a" "a544720524e4ece09d6eb8afbb03e0042af7aefbbec437f18984503565d82be5", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling plotters-backend v0.3.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling half v1.7.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling itertools v0.10.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling plotters-svg v0.3.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling plotters v0.3.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling cast v0.2.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling criterion-plot v0.4.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling serde_cbor v0.11.1 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.3.4 [INFO] [stderr] Compiling Ants_search v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rand::thread_rng` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::thread_rng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> src/main.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let mut x: u32 = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hello` [INFO] [stdout] --> src/main.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn hello(field: &mut crate::field::Field) -> Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Ants_search` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `ants_search` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ants.rs:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | / canvas.fill_rect(Rect::new( [INFO] [stdout] 197 | | (ant.point.x - DIRECTIONS[ant.dir].x) * scale, [INFO] [stdout] 198 | | (ant.point.y - DIRECTIONS[ant.dir].y) * scale, [INFO] [stdout] 199 | | scale as u32, [INFO] [stdout] 200 | | scale as u32, [INFO] [stdout] 201 | | )); [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ants.rs:208:17 [INFO] [stdout] | [INFO] [stdout] 208 | / canvas.fill_rect(Rect::new( [INFO] [stdout] 209 | | ant.point.x * scale, [INFO] [stdout] 210 | | ant.point.y * scale, [INFO] [stdout] 211 | | scale as u32, [INFO] [stdout] 212 | | scale as u32, [INFO] [stdout] 213 | | )); [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ants.rs:235:21 [INFO] [stdout] | [INFO] [stdout] 235 | / canvas.fill_rect(Rect::new( [INFO] [stdout] 236 | | ant.point.x * scale, [INFO] [stdout] 237 | | ant.point.y * scale, [INFO] [stdout] 238 | | scale as u32, [INFO] [stdout] 239 | | scale as u32, [INFO] [stdout] 240 | | )); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/field.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | / canvas.fill_rect(Rect::new( [INFO] [stdout] 142 | | w as i32 * scale, [INFO] [stdout] 143 | | h as i32 * scale, [INFO] [stdout] 144 | | scale as u32, [INFO] [stdout] 145 | | scale as u32, [INFO] [stdout] 146 | | )); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/field.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | / canvas.fill_rect(Rect::new( [INFO] [stdout] 153 | | rect.x * scale, [INFO] [stdout] 154 | | rect.y * scale, [INFO] [stdout] 155 | | rect.width() * scale as u32, [INFO] [stdout] 156 | | rect.height() * scale as u32, [INFO] [stdout] 157 | | )); [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/field.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | / canvas.fill_rect(Rect::new( [INFO] [stdout] 162 | | rect.x * scale, [INFO] [stdout] 163 | | rect.y * scale, [INFO] [stdout] 164 | | rect.width() * scale as u32, [INFO] [stdout] 165 | | rect.height() * scale as u32, [INFO] [stdout] 166 | | )); [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/field.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | / canvas.fill_rect(Rect::new( [INFO] [stdout] 171 | | rect.x * scale, [INFO] [stdout] 172 | | rect.y * scale, [INFO] [stdout] 173 | | rect.width() * scale as u32, [INFO] [stdout] 174 | | rect.height() * scale as u32, [INFO] [stdout] 175 | | )); [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 16.49s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/Ants_search-ac41f0287265bdc3) [INFO] running `Command { std: "docker" "inspect" "a544720524e4ece09d6eb8afbb03e0042af7aefbbec437f18984503565d82be5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a544720524e4ece09d6eb8afbb03e0042af7aefbbec437f18984503565d82be5", kill_on_drop: false }` [INFO] [stdout] a544720524e4ece09d6eb8afbb03e0042af7aefbbec437f18984503565d82be5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 715bd3433084aad9a938aa24af4dae493aed37d9d32635cc8573065a8964bc6e [INFO] running `Command { std: "docker" "start" "-a" "715bd3433084aad9a938aa24af4dae493aed37d9d32635cc8573065a8964bc6e", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `rand::thread_rng` [INFO] [stderr] --> src/main.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use rand::thread_rng; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `x` is never read [INFO] [stderr] --> src/main.rs:42:13 [INFO] [stderr] | [INFO] [stderr] 42 | let mut x: u32 = 0; [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: function is never used: `hello` [INFO] [stderr] --> src/main.rs:14:4 [INFO] [stderr] | [INFO] [stderr] 14 | fn hello(field: &mut crate::field::Field) -> Point { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: crate `Ants_search` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] = help: convert the identifier to snake case: `ants_search` [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/ants.rs:196:17 [INFO] [stderr] | [INFO] [stderr] 196 | / canvas.fill_rect(Rect::new( [INFO] [stderr] 197 | | (ant.point.x - DIRECTIONS[ant.dir].x) * scale, [INFO] [stderr] 198 | | (ant.point.y - DIRECTIONS[ant.dir].y) * scale, [INFO] [stderr] 199 | | scale as u32, [INFO] [stderr] 200 | | scale as u32, [INFO] [stderr] 201 | | )); [INFO] [stderr] | |___________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/ants.rs:208:17 [INFO] [stderr] | [INFO] [stderr] 208 | / canvas.fill_rect(Rect::new( [INFO] [stderr] 209 | | ant.point.x * scale, [INFO] [stderr] 210 | | ant.point.y * scale, [INFO] [stderr] 211 | | scale as u32, [INFO] [stderr] 212 | | scale as u32, [INFO] [stderr] 213 | | )); [INFO] [stderr] | |___________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/ants.rs:235:21 [INFO] [stderr] | [INFO] [stderr] 235 | / canvas.fill_rect(Rect::new( [INFO] [stderr] 236 | | ant.point.x * scale, [INFO] [stderr] 237 | | ant.point.y * scale, [INFO] [stderr] 238 | | scale as u32, [INFO] [stderr] 239 | | scale as u32, [INFO] [stderr] 240 | | )); [INFO] [stderr] | |_______________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/field.rs:141:21 [INFO] [stderr] | [INFO] [stderr] 141 | / canvas.fill_rect(Rect::new( [INFO] [stderr] 142 | | w as i32 * scale, [INFO] [stderr] 143 | | h as i32 * scale, [INFO] [stderr] 144 | | scale as u32, [INFO] [stderr] 145 | | scale as u32, [INFO] [stderr] 146 | | )); [INFO] [stderr] | |_______________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/field.rs:152:13 [INFO] [stderr] | [INFO] [stderr] 152 | / canvas.fill_rect(Rect::new( [INFO] [stderr] 153 | | rect.x * scale, [INFO] [stderr] 154 | | rect.y * scale, [INFO] [stderr] 155 | | rect.width() * scale as u32, [INFO] [stderr] 156 | | rect.height() * scale as u32, [INFO] [stderr] 157 | | )); [INFO] [stderr] | |_______________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/field.rs:161:13 [INFO] [stderr] | [INFO] [stderr] 161 | / canvas.fill_rect(Rect::new( [INFO] [stderr] 162 | | rect.x * scale, [INFO] [stderr] 163 | | rect.y * scale, [INFO] [stderr] 164 | | rect.width() * scale as u32, [INFO] [stderr] 165 | | rect.height() * scale as u32, [INFO] [stderr] 166 | | )); [INFO] [stderr] | |_______________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/field.rs:170:13 [INFO] [stderr] | [INFO] [stderr] 170 | / canvas.fill_rect(Rect::new( [INFO] [stderr] 171 | | rect.x * scale, [INFO] [stderr] 172 | | rect.y * scale, [INFO] [stderr] 173 | | rect.width() * scale as u32, [INFO] [stderr] 174 | | rect.height() * scale as u32, [INFO] [stderr] 175 | | )); [INFO] [stderr] | |_______________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `Ants_search` (bin "Ants_search" test) generated 11 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/Ants_search-ac41f0287265bdc3) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "715bd3433084aad9a938aa24af4dae493aed37d9d32635cc8573065a8964bc6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "715bd3433084aad9a938aa24af4dae493aed37d9d32635cc8573065a8964bc6e", kill_on_drop: false }` [INFO] [stdout] 715bd3433084aad9a938aa24af4dae493aed37d9d32635cc8573065a8964bc6e