[INFO] cloning repository https://github.com/pedroscaff/geoshaper [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pedroscaff/geoshaper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedroscaff%2Fgeoshaper", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedroscaff%2Fgeoshaper'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] db06a77b15d67b137863a89f3db62f2ea07965c3 [INFO] testing pedroscaff/geoshaper against 1.84.0 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedroscaff%2Fgeoshaper" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pedroscaff/geoshaper on toolchain 1.84.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.84.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pedroscaff/geoshaper [INFO] finished tweaking git repo https://github.com/pedroscaff/geoshaper [INFO] tweaked toml for git repo https://github.com/pedroscaff/geoshaper written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/pedroscaff/geoshaper 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" "+1.84.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded utf8-ranges v1.0.1 [INFO] [stderr] Downloaded aho-corasick v0.6.8 [INFO] [stderr] Downloaded regex v1.0.4 [INFO] [stderr] Downloaded memchr v2.0.2 [INFO] [stderr] Downloaded termcolor v1.0.3 [INFO] [stderr] Downloaded cc v1.0.23 [INFO] [stderr] Downloaded nsvg v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b55119c1bd1404624f87efa45f790730808c709521ac97537fe463938f73e3d1 [INFO] running `Command { std: "docker" "start" "-a" "b55119c1bd1404624f87efa45f790730808c709521ac97537fe463938f73e3d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b55119c1bd1404624f87efa45f790730808c709521ac97537fe463938f73e3d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b55119c1bd1404624f87efa45f790730808c709521ac97537fe463938f73e3d1", kill_on_drop: false }` [INFO] [stdout] b55119c1bd1404624f87efa45f790730808c709521ac97537fe463938f73e3d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7beb2be3611dacfa7110e0175ecbe25976b8759f0c01a21b2d5a123cd711687 [INFO] running `Command { std: "docker" "start" "-a" "f7beb2be3611dacfa7110e0175ecbe25976b8759f0c01a21b2d5a123cd711687", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling proc-macro2 v0.4.15 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cc v1.0.23 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling byteorder v1.2.6 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling rayon v1.0.2 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling inflate v0.4.3 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Compiling regex v1.0.4 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling deflate v0.7.18 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling memchr v2.0.2 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling rustc-demangle v0.1.9 [INFO] [stderr] Compiling gif v0.10.0 [INFO] [stderr] Compiling aho-corasick v0.6.8 [INFO] [stderr] Compiling utf8-ranges v1.0.1 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling log v0.4.4 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling termcolor v1.0.3 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling nsvg v0.5.0 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling png v0.12.0 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling jpeg-decoder v0.1.15 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Compiling num-derive v0.2.2 [INFO] [stderr] Compiling image v0.19.0 [INFO] [stderr] Compiling failure v0.1.2 [INFO] [stderr] Compiling geoshaper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulation.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let mut best_fitness = Arc::new(RwLock::new(10_000_000.0)); [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/simulation.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let mut best_id = Arc::new(RwLock::new(0)); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sync` is never used [INFO] [stdout] --> src/error.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait ResultExt { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 12 | fn sync(self) -> ::std::result::Result> [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/individual.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct GImage { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GImage` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fitness_full` is never used [INFO] [stdout] --> src/individual.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub trait Individual { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] 26 | fn mutate(&self, shape: Polygon, new_id: u32) -> GImage; [INFO] [stdout] 27 | fn fitness_full(&self) -> f32; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `points` is never read [INFO] [stdout] --> src/rectangle.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Rectangle { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 14 | points: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rectangle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `points` is never read [INFO] [stdout] --> src/triangle.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Triangle { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 7 | points: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Triangle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/main.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | .author(crate_authors!(",\n")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `crate_authors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/main.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | .author(crate_authors!(",\n")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `crate_authors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.43s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.9 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "f7beb2be3611dacfa7110e0175ecbe25976b8759f0c01a21b2d5a123cd711687", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7beb2be3611dacfa7110e0175ecbe25976b8759f0c01a21b2d5a123cd711687", kill_on_drop: false }` [INFO] [stdout] f7beb2be3611dacfa7110e0175ecbe25976b8759f0c01a21b2d5a123cd711687 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a2148f1d01bba040c7b62c9f308e27dedc02088a4714ae24962adb55b336704 [INFO] running `Command { std: "docker" "start" "-a" "2a2148f1d01bba040c7b62c9f308e27dedc02088a4714ae24962adb55b336704", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulation.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let mut best_fitness = Arc::new(RwLock::new(10_000_000.0)); [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/simulation.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let mut best_id = Arc::new(RwLock::new(0)); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sync` is never used [INFO] [stdout] --> src/error.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait ResultExt { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 12 | fn sync(self) -> ::std::result::Result> [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/individual.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct GImage { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GImage` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fitness_full` is never used [INFO] [stdout] --> src/individual.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub trait Individual { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] 26 | fn mutate(&self, shape: Polygon, new_id: u32) -> GImage; [INFO] [stdout] 27 | fn fitness_full(&self) -> f32; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `points` is never read [INFO] [stdout] --> src/rectangle.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Rectangle { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 14 | points: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rectangle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling geoshaper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `points` is never read [INFO] [stdout] --> src/triangle.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Triangle { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 7 | points: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Triangle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/main.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | .author(crate_authors!(",\n")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `crate_authors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/main.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | .author(crate_authors!(",\n")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `crate_authors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/shape.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/main.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | .author(crate_authors!(",\n")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `crate_authors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/main.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | .author(crate_authors!(",\n")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `crate_authors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulation.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let mut best_fitness = Arc::new(RwLock::new(10_000_000.0)); [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/simulation.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let mut best_id = Arc::new(RwLock::new(0)); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sync` is never used [INFO] [stdout] --> src/error.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait ResultExt { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 12 | fn sync(self) -> ::std::result::Result> [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/individual.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct GImage { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GImage` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fitness_full` is never used [INFO] [stdout] --> src/individual.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub trait Individual { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] 26 | fn mutate(&self, shape: Polygon, new_id: u32) -> GImage; [INFO] [stdout] 27 | fn fitness_full(&self) -> f32; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `points` is never read [INFO] [stdout] --> src/rectangle.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Rectangle { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 14 | points: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rectangle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `points` is never read [INFO] [stdout] --> src/triangle.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Triangle { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 7 | points: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Triangle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.05s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.9 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "2a2148f1d01bba040c7b62c9f308e27dedc02088a4714ae24962adb55b336704", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a2148f1d01bba040c7b62c9f308e27dedc02088a4714ae24962adb55b336704", kill_on_drop: false }` [INFO] [stdout] 2a2148f1d01bba040c7b62c9f308e27dedc02088a4714ae24962adb55b336704 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] adee5abe92b0e92d4f3ebef66aafaee9fc251bb0b1d6a3e9181afb369d484c34 [INFO] running `Command { std: "docker" "start" "-a" "adee5abe92b0e92d4f3ebef66aafaee9fc251bb0b1d6a3e9181afb369d484c34", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/simulation.rs:66:13 [INFO] [stderr] | [INFO] [stderr] 66 | let mut best_fitness = Arc::new(RwLock::new(10_000_000.0)); [INFO] [stderr] | ----^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/simulation.rs:67:13 [INFO] [stderr] | [INFO] [stderr] 67 | let mut best_id = Arc::new(RwLock::new(0)); [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: method `sync` is never used [INFO] [stderr] --> src/error.rs:12:8 [INFO] [stderr] | [INFO] [stderr] 11 | pub trait ResultExt { [INFO] [stderr] | --------- method in this trait [INFO] [stderr] 12 | fn sync(self) -> ::std::result::Result> [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `path` is never read [INFO] [stderr] --> src/individual.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct GImage { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 22 | path: PathBuf, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `GImage` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `fitness_full` is never used [INFO] [stderr] --> src/individual.rs:27:8 [INFO] [stderr] | [INFO] [stderr] 25 | pub trait Individual { [INFO] [stderr] | ---------- method in this trait [INFO] [stderr] 26 | fn mutate(&self, shape: Polygon, new_id: u32) -> GImage; [INFO] [stderr] 27 | fn fitness_full(&self) -> f32; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `points` is never read [INFO] [stderr] --> src/rectangle.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct Rectangle { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] 14 | points: Vec, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Rectangle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `points` is never read [INFO] [stderr] --> src/triangle.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct Triangle { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] 7 | points: Vec, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Triangle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::*` [INFO] [stderr] --> src/shape.rs:163:9 [INFO] [stderr] | [INFO] [stderr] 163 | use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `geoshaper` (lib) generated 7 warnings (run `cargo fix --lib -p geoshaper` to apply 2 suggestions) [INFO] [stderr] warning: `geoshaper` (lib test) generated 8 warnings (7 duplicates) (run `cargo fix --lib -p geoshaper --tests` to apply 1 suggestion) [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> src/main.rs:18:17 [INFO] [stderr] | [INFO] [stderr] 18 | .author(crate_authors!(",\n")) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `crate_authors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> src/main.rs:18:17 [INFO] [stderr] | [INFO] [stderr] 18 | .author(crate_authors!(",\n")) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `crate_authors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `geoshaper` (bin "geoshaper") generated 2 warnings [INFO] [stderr] warning: `geoshaper` (bin "geoshaper" test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.9 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/geoshaper-c27fec8ec8119b6f) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test rectangle::tests::should_be_within_range ... ok [INFO] [stdout] test rectangle::tests::should_scale ... ok [INFO] [stdout] test shape::tests::should_rotate_rectangle ... ok [INFO] [stdout] test triangle::tests::should_be_within_range ... ok [INFO] [stdout] test individual::tests::shoud_return_last_polygon ... ok [INFO] [stdout] test individual::tests::should_add_polygon ... ok [INFO] [stdout] test individual::tests::should_mutate ... ok [INFO] [stdout] test image_utils::tests::test_image_area_diff ... ok [INFO] [stdout] test image_utils::tests::test_image_diff ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/geoshaper-a1c5d72ce1f82f92) [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] [stderr] Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-704c1e07c6c9dfe5) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test smoke ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests geoshaper [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" "adee5abe92b0e92d4f3ebef66aafaee9fc251bb0b1d6a3e9181afb369d484c34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adee5abe92b0e92d4f3ebef66aafaee9fc251bb0b1d6a3e9181afb369d484c34", kill_on_drop: false }` [INFO] [stdout] adee5abe92b0e92d4f3ebef66aafaee9fc251bb0b1d6a3e9181afb369d484c34