[INFO] cloning repository https://github.com/gomgom03/Rust_CMIMC_Optimization_3 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gomgom03/Rust_CMIMC_Optimization_3" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgomgom03%2FRust_CMIMC_Optimization_3", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgomgom03%2FRust_CMIMC_Optimization_3'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5868d7e82eac54324d52483c87e905f818b87d49 [INFO] checking gomgom03/Rust_CMIMC_Optimization_3 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgomgom03%2FRust_CMIMC_Optimization_3" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gomgom03/Rust_CMIMC_Optimization_3 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/gomgom03/Rust_CMIMC_Optimization_3 [INFO] finished tweaking git repo https://github.com/gomgom03/Rust_CMIMC_Optimization_3 [INFO] tweaked toml for git repo https://github.com/gomgom03/Rust_CMIMC_Optimization_3 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/gomgom03/Rust_CMIMC_Optimization_3 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] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fixedbitset v0.3.2 [INFO] [stderr] Downloaded hashbrown v0.9.1 [INFO] [stderr] Downloaded indexmap v1.6.2 [INFO] [stderr] Downloaded itertools v0.10.0 [INFO] [stderr] Downloaded grid v0.2.3 [INFO] [stderr] Downloaded pathfinding v2.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 11374e306c775d1943bdc3c5f67b9956c7276b2ac6a42c43383f94820210edfe [INFO] running `Command { std: "docker" "start" "-a" "11374e306c775d1943bdc3c5f67b9956c7276b2ac6a42c43383f94820210edfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11374e306c775d1943bdc3c5f67b9956c7276b2ac6a42c43383f94820210edfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11374e306c775d1943bdc3c5f67b9956c7276b2ac6a42c43383f94820210edfe", kill_on_drop: false }` [INFO] [stdout] 11374e306c775d1943bdc3c5f67b9956c7276b2ac6a42c43383f94820210edfe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 0f79f9b80df681a2b09d0378243d48d40e86daeea8da52f7d57fed7c320cfe6b [INFO] running `Command { std: "docker" "start" "-a" "0f79f9b80df681a2b09d0378243d48d40e86daeea8da52f7d57fed7c320cfe6b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking fixedbitset v0.3.2 [INFO] [stderr] Checking grid v0.2.3 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking pathfinding v2.1.1 [INFO] [stderr] Checking rust_cmimc_3 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/rand_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | mod rand_test; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/rand_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dim_x` is assigned to, but never used [INFO] [stdout] --> src/method_1.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let mut dim_x = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_dim_x` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dim_x` is assigned to, but never used [INFO] [stdout] --> src/method_1.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let mut dim_x = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_dim_x` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `num_robots` is assigned to, but never used [INFO] [stdout] --> src/method_1.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let mut num_robots = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_num_robots` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `num_robots` is assigned to, but never used [INFO] [stdout] --> src/method_1.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let mut num_robots = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_num_robots` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `dim_x` is never read [INFO] [stdout] --> src/method_1.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | dim_x = first_split[0].parse::().unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `num_robots` is never read [INFO] [stdout] --> src/method_1.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | num_robots = first_split[2].parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `min_path` is assigned to, but never used [INFO] [stdout] --> src/method_1.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | let mut min_path: Vec<&(i32, i32)> = vec![&(-1, -1)]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_min_path` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `min_path` is never read [INFO] [stdout] --> src/method_1.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | min_path = t_path; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `dim_x` is never read [INFO] [stdout] --> src/method_1.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | dim_x = first_split[0].parse::().unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `num_robots` is never read [INFO] [stdout] --> src/method_1.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | num_robots = first_split[2].parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `min_path` is assigned to, but never used [INFO] [stdout] --> src/method_1.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | let mut min_path: Vec<&(i32, i32)> = vec![&(-1, -1)]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_min_path` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `min_path` is never read [INFO] [stdout] --> src/method_1.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | min_path = t_path; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/method_1.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let mut solution = String::from(""); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/method_1.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let mut solution = String::from(""); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_vec` [INFO] [stdout] --> src/rand_test.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let t_vec = vec![(0, 1), (0, 0), (0, 1), (0, 0), (0, -1)]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_vec` [INFO] [stdout] --> src/rand_test.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let t_vec = vec![(0, 1), (0, 0), (0, 1), (0, 0), (0, -1)]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/astar_test.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `distance` and `successors` are never used [INFO] [stdout] --> src/astar_test.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Pos { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] 8 | fn distance(&self, other: &Pos) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | fn successors(&self) -> Vec<(Pos, u32)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `move_robots` is never used [INFO] [stdout] --> src/method_1.rs:196:4 [INFO] [stdout] | [INFO] [stdout] 196 | fn move_robots( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deduplicate` is never used [INFO] [stdout] --> src/method_1.rs:219:4 [INFO] [stdout] | [INFO] [stdout] 219 | fn deduplicate(robot_vec: Vec<(i32, i32)>) -> Vec<(i32, i32)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_robots_done` is never used [INFO] [stdout] --> src/method_1.rs:223:4 [INFO] [stdout] | [INFO] [stdout] 223 | fn remove_robots_done(robot_vec: Vec<(i32, i32)>, destination: (i32, i32)) -> Vec<(i32, i32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `age` are never read [INFO] [stdout] --> src/rand_test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct Person { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 5 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | age: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Person` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/tester.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn run(finder: fn(&Grid, (i32, i32), (i32, i32)) -> ()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/method_1.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | drop(data); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&str` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/astar_test.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `distance` and `successors` are never used [INFO] [stdout] --> src/astar_test.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Pos { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] 8 | fn distance(&self, other: &Pos) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | fn successors(&self) -> Vec<(Pos, u32)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `move_robots` is never used [INFO] [stdout] --> src/method_1.rs:196:4 [INFO] [stdout] | [INFO] [stdout] 196 | fn move_robots( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deduplicate` is never used [INFO] [stdout] --> src/method_1.rs:219:4 [INFO] [stdout] | [INFO] [stdout] 219 | fn deduplicate(robot_vec: Vec<(i32, i32)>) -> Vec<(i32, i32)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_robots_done` is never used [INFO] [stdout] --> src/method_1.rs:223:4 [INFO] [stdout] | [INFO] [stdout] 223 | fn remove_robots_done(robot_vec: Vec<(i32, i32)>, destination: (i32, i32)) -> Vec<(i32, i32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `age` are never read [INFO] [stdout] --> src/rand_test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct Person { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 5 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | age: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Person` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/tester.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn run(finder: fn(&Grid, (i32, i32), (i32, i32)) -> ()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/method_1.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | drop(data); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&str` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.09s [INFO] running `Command { std: "docker" "inspect" "0f79f9b80df681a2b09d0378243d48d40e86daeea8da52f7d57fed7c320cfe6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f79f9b80df681a2b09d0378243d48d40e86daeea8da52f7d57fed7c320cfe6b", kill_on_drop: false }` [INFO] [stdout] 0f79f9b80df681a2b09d0378243d48d40e86daeea8da52f7d57fed7c320cfe6b [INFO] checking gomgom03/Rust_CMIMC_Optimization_3 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgomgom03%2FRust_CMIMC_Optimization_3" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gomgom03/Rust_CMIMC_Optimization_3 on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gomgom03/Rust_CMIMC_Optimization_3 [INFO] finished tweaking git repo https://github.com/gomgom03/Rust_CMIMC_Optimization_3 [INFO] tweaked toml for git repo https://github.com/gomgom03/Rust_CMIMC_Optimization_3 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/gomgom03/Rust_CMIMC_Optimization_3 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 57cdbac89cca786635ead5b53d42d26fa40af7d28a0033495c8b3ee497e3b782 [INFO] running `Command { std: "docker" "start" "-a" "57cdbac89cca786635ead5b53d42d26fa40af7d28a0033495c8b3ee497e3b782", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57cdbac89cca786635ead5b53d42d26fa40af7d28a0033495c8b3ee497e3b782", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57cdbac89cca786635ead5b53d42d26fa40af7d28a0033495c8b3ee497e3b782", kill_on_drop: false }` [INFO] [stdout] 57cdbac89cca786635ead5b53d42d26fa40af7d28a0033495c8b3ee497e3b782 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dnon_local_definitions" "-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" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8f81835573f6636012b8e2935d722b0d1417d7f871bc8fe875b60b11526a083 [INFO] running `Command { std: "docker" "start" "-a" "e8f81835573f6636012b8e2935d722b0d1417d7f871bc8fe875b60b11526a083", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking fixedbitset v0.3.2 [INFO] [stderr] Checking grid v0.2.3 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking pathfinding v2.1.1 [INFO] [stderr] Checking rust_cmimc_3 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/rand_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | mod rand_test; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/rand_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dim_x` is assigned to, but never used [INFO] [stdout] --> src/method_1.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let mut dim_x = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_dim_x` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `num_robots` is assigned to, but never used [INFO] [stdout] --> src/method_1.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let mut num_robots = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_num_robots` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `dim_x` is never read [INFO] [stdout] --> src/method_1.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | dim_x = first_split[0].parse::().unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `num_robots` is never read [INFO] [stdout] --> src/method_1.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | num_robots = first_split[2].parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `min_path` is assigned to, but never used [INFO] [stdout] --> src/method_1.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | let mut min_path: Vec<&(i32, i32)> = vec![&(-1, -1)]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_min_path` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `min_path` is never read [INFO] [stdout] --> src/method_1.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | min_path = t_path; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dim_x` is assigned to, but never used [INFO] [stdout] --> src/method_1.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let mut dim_x = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_dim_x` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/method_1.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let mut solution = String::from(""); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `num_robots` is assigned to, but never used [INFO] [stdout] --> src/method_1.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let mut num_robots = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_num_robots` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `dim_x` is never read [INFO] [stdout] --> src/method_1.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | dim_x = first_split[0].parse::().unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `num_robots` is never read [INFO] [stdout] --> src/method_1.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | num_robots = first_split[2].parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `min_path` is assigned to, but never used [INFO] [stdout] --> src/method_1.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | let mut min_path: Vec<&(i32, i32)> = vec![&(-1, -1)]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_min_path` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `min_path` is never read [INFO] [stdout] --> src/method_1.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | min_path = t_path; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/method_1.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let mut solution = String::from(""); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_vec` [INFO] [stdout] --> src/rand_test.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let t_vec = vec![(0, 1), (0, 0), (0, 1), (0, 0), (0, -1)]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_vec` [INFO] [stdout] --> src/rand_test.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let t_vec = vec![(0, 1), (0, 0), (0, 1), (0, 0), (0, -1)]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/astar_test.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `distance` and `successors` are never used [INFO] [stdout] --> src/astar_test.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Pos { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] 8 | fn distance(&self, other: &Pos) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | fn successors(&self) -> Vec<(Pos, u32)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `move_robots` is never used [INFO] [stdout] --> src/method_1.rs:196:4 [INFO] [stdout] | [INFO] [stdout] 196 | fn move_robots( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deduplicate` is never used [INFO] [stdout] --> src/method_1.rs:219:4 [INFO] [stdout] | [INFO] [stdout] 219 | fn deduplicate(robot_vec: Vec<(i32, i32)>) -> Vec<(i32, i32)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_robots_done` is never used [INFO] [stdout] --> src/method_1.rs:223:4 [INFO] [stdout] | [INFO] [stdout] 223 | fn remove_robots_done(robot_vec: Vec<(i32, i32)>, destination: (i32, i32)) -> Vec<(i32, i32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `age` are never read [INFO] [stdout] --> src/rand_test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct Person { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 5 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | age: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Person` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/tester.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn run(finder: fn(&Grid, (i32, i32), (i32, i32)) -> ()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/astar.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | / impl Pos { [INFO] [stdout] 9 | | fn distance(&self, other: &Pos) -> u32 { [INFO] [stdout] 10 | | (absdiff(self.0, other.0) + absdiff(self.1, other.1)) as u32 [INFO] [stdout] 11 | | } [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `find` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/astar_test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / impl Pos { [INFO] [stdout] 8 | | fn distance(&self, other: &Pos) -> u32 { [INFO] [stdout] 9 | | (absdiff(self.0, other.0) + absdiff(self.1, other.1)) as u32 [INFO] [stdout] 10 | | } [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `run` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/method_1.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | drop(data); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&str` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/astar_test.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `distance` and `successors` are never used [INFO] [stdout] --> src/astar_test.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Pos { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] 8 | fn distance(&self, other: &Pos) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | fn successors(&self) -> Vec<(Pos, u32)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `move_robots` is never used [INFO] [stdout] --> src/method_1.rs:196:4 [INFO] [stdout] | [INFO] [stdout] 196 | fn move_robots( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deduplicate` is never used [INFO] [stdout] --> src/method_1.rs:219:4 [INFO] [stdout] | [INFO] [stdout] 219 | fn deduplicate(robot_vec: Vec<(i32, i32)>) -> Vec<(i32, i32)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_robots_done` is never used [INFO] [stdout] --> src/method_1.rs:223:4 [INFO] [stdout] | [INFO] [stdout] 223 | fn remove_robots_done(robot_vec: Vec<(i32, i32)>, destination: (i32, i32)) -> Vec<(i32, i32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `age` are never read [INFO] [stdout] --> src/rand_test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct Person { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 5 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | age: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Person` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/tester.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn run(finder: fn(&Grid, (i32, i32), (i32, i32)) -> ()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/astar.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | / impl Pos { [INFO] [stdout] 9 | | fn distance(&self, other: &Pos) -> u32 { [INFO] [stdout] 10 | | (absdiff(self.0, other.0) + absdiff(self.1, other.1)) as u32 [INFO] [stdout] 11 | | } [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `find` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/astar_test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / impl Pos { [INFO] [stdout] 8 | | fn distance(&self, other: &Pos) -> u32 { [INFO] [stdout] 9 | | (absdiff(self.0, other.0) + absdiff(self.1, other.1)) as u32 [INFO] [stdout] 10 | | } [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `run` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/method_1.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | drop(data); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&str` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_cmimc_3` (bin "rust_cmimc_3" test) due to 3 previous errors; 17 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust_cmimc_3` (bin "rust_cmimc_3") due to 3 previous errors; 17 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e8f81835573f6636012b8e2935d722b0d1417d7f871bc8fe875b60b11526a083", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8f81835573f6636012b8e2935d722b0d1417d7f871bc8fe875b60b11526a083", kill_on_drop: false }` [INFO] [stdout] e8f81835573f6636012b8e2935d722b0d1417d7f871bc8fe875b60b11526a083