[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] checking pedroscaff/geoshaper against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [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 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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 termcolor v1.0.3 [INFO] [stderr] Downloaded proc-macro2 v0.4.15 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77a5f83c0d54d9efd2c57d6137ada0c781494060ca2e2575ff347118751df60c [INFO] running `Command { std: "docker" "start" "-a" "77a5f83c0d54d9efd2c57d6137ada0c781494060ca2e2575ff347118751df60c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77a5f83c0d54d9efd2c57d6137ada0c781494060ca2e2575ff347118751df60c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77a5f83c0d54d9efd2c57d6137ada0c781494060ca2e2575ff347118751df60c", kill_on_drop: false }` [INFO] [stdout] 77a5f83c0d54d9efd2c57d6137ada0c781494060ca2e2575ff347118751df60c [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=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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f673c24ae771e36b99aa401abab0743d80519b4eae697278c02fa1e40f96baaa [INFO] running `Command { std: "docker" "start" "-a" "f673c24ae771e36b99aa401abab0743d80519b4eae697278c02fa1e40f96baaa", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Checking 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] Checking nodrop v0.1.12 [INFO] [stderr] Compiling cc v1.0.23 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Compiling rayon v1.0.2 [INFO] [stderr] Checking byteorder v1.2.6 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking deflate v0.7.18 [INFO] [stderr] Checking memchr v2.0.2 [INFO] [stderr] Checking inflate v0.4.3 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling regex v1.0.4 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking gif v0.10.0 [INFO] [stderr] Compiling nsvg v0.5.0 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Checking regex-syntax v0.6.2 [INFO] [stderr] Checking aho-corasick v0.6.8 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking utf8-ranges v1.0.1 [INFO] [stderr] Checking rustc-demangle v0.1.9 [INFO] [stderr] Checking humantime v1.1.1 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking log v0.4.4 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking termcolor v1.0.3 [INFO] [stderr] Checking rand v0.4.3 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Compiling num-derive v0.2.2 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking image v0.19.0 [INFO] [stderr] Checking failure v0.1.2 [INFO] [stderr] Checking geoshaper v0.1.0 (/opt/rustwide/workdir) [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: 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: 7 warnings emitted [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] [stdout] warning: 8 warnings emitted [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: 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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.79s [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" "f673c24ae771e36b99aa401abab0743d80519b4eae697278c02fa1e40f96baaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f673c24ae771e36b99aa401abab0743d80519b4eae697278c02fa1e40f96baaa", kill_on_drop: false }` [INFO] [stdout] f673c24ae771e36b99aa401abab0743d80519b4eae697278c02fa1e40f96baaa