[INFO] fetching crate astrup 0.0.9... [INFO] documenting astrup-0.0.9 against 1.61.0 for beta-1.62-rustdoc-1 [INFO] extracting crate astrup 0.0.9 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate astrup 0.0.9 on toolchain 1.61.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate astrup 0.0.9 [INFO] finished tweaking crates.io crate astrup 0.0.9 [INFO] tweaked toml for crates.io crate astrup 0.0.9 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gdk-pixbuf v0.3.0 [INFO] [stderr] Downloaded cairo-sys-rs v0.5.0 [INFO] [stderr] Downloaded gio-sys v0.5.0 [INFO] [stderr] Downloaded cairo-rs v0.3.0 [INFO] [stderr] Downloaded ndarray v0.11.2 [INFO] [stderr] Downloaded c_vec v1.2.1 [INFO] [stderr] Downloaded glib-sys v0.5.0 [INFO] [stderr] Downloaded gdk-pixbuf-sys v0.5.0 [INFO] [stderr] Downloaded gdk-sys v0.5.0 [INFO] [stderr] Downloaded gobject-sys v0.5.0 [INFO] [stderr] Downloaded gtk-sys v0.5.0 [INFO] [stderr] Downloaded gdk v0.7.0 [INFO] [stderr] Downloaded gio v0.3.0 [INFO] [stderr] Downloaded pango-sys v0.5.0 [INFO] [stderr] Downloaded atk-sys v0.5.0 [INFO] [stderr] Downloaded gtk v0.3.0 [INFO] [stderr] Downloaded pango v0.3.0 [INFO] [stderr] Downloaded glib v0.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 117f5d2de8d506774a7c5b2a9a27c5cf64ce9bdd37e095011841748a4c48b110 [INFO] running `Command { std: "docker" "start" "-a" "117f5d2de8d506774a7c5b2a9a27c5cf64ce9bdd37e095011841748a4c48b110", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "117f5d2de8d506774a7c5b2a9a27c5cf64ce9bdd37e095011841748a4c48b110", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "117f5d2de8d506774a7c5b2a9a27c5cf64ce9bdd37e095011841748a4c48b110", kill_on_drop: false }` [INFO] [stdout] 117f5d2de8d506774a7c5b2a9a27c5cf64ce9bdd37e095011841748a4c48b110 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3481a29a4a030c0a7cf22d532c10b37d2dd4dbe3bec7e8c840f0720900953052 [INFO] running `Command { std: "docker" "start" "-a" "3481a29a4a030c0a7cf22d532c10b37d2dd4dbe3bec7e8c840f0720900953052", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling cairo-rs v0.3.0 [INFO] [stderr] Compiling gio v0.3.0 [INFO] [stderr] Compiling gdk-pixbuf v0.3.0 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling gdk v0.7.0 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Checking c_vec v1.2.1 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling gtk v0.3.0 [INFO] [stderr] Compiling ndarray v0.11.2 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Checking miniz_oxide v0.5.1 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Compiling glib-sys v0.5.0 [INFO] [stderr] Compiling gobject-sys v0.5.0 [INFO] [stderr] Compiling gio-sys v0.5.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.5.0 [INFO] [stderr] Compiling cairo-sys-rs v0.5.0 [INFO] [stderr] Compiling pango-sys v0.5.0 [INFO] [stderr] Compiling gdk-sys v0.5.0 [INFO] [stderr] Compiling atk-sys v0.5.0 [INFO] [stderr] Compiling gtk-sys v0.5.0 [INFO] [stderr] Checking object v0.28.4 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling backtrace v0.3.65 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Checking glib v0.4.1 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling palette v0.2.1 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking pango v0.3.0 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Documenting astrup v0.0.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/view.rs:65:56 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn add(mut self, mut figure: Figure) -> Result<(Self), Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 65 - pub fn add(mut self, mut figure: Figure) -> Result<(Self), Error> { [INFO] [stdout] 65 + pub fn add(mut self, mut figure: Figure) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/view.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | Ok((self)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 69 - Ok((self)) [INFO] [stdout] 69 + Ok(self) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/figure.rs:138:49 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn save(self, filename: &str) -> Result<(Self), Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 138 - pub fn save(self, filename: &str) -> Result<(Self), Error> { [INFO] [stdout] 138 + pub fn save(self, filename: &str) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/figure.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | Ok((self)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 156 - Ok((self)) [INFO] [stdout] 156 + Ok(self) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/utils.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | ((old_number - old_min) / (old_max - old_min) * new_max + [INFO] [stdout] | ^ [INFO] [stdout] 240 | (old_max - old_number) / (old_max - old_min) * new_min) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 239 ~ (old_number - old_min) / (old_max - old_min) * new_max + [INFO] [stdout] 240 ~ (old_max - old_number) / (old_max - old_min) * new_min [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this URL is not a hyperlink [INFO] [stdout] --> src/utils.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | /// https://stackoverflow.com/questions/28247990/how-to-do-a-binary-search-on-a-vec-of-floats/28248065#28248065 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(rustdoc::bare_urls)]` on by default [INFO] [stdout] = note: bare URLs are not automatically turned into clickable links [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 12s [INFO] running `Command { std: "docker" "inspect" "3481a29a4a030c0a7cf22d532c10b37d2dd4dbe3bec7e8c840f0720900953052", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3481a29a4a030c0a7cf22d532c10b37d2dd4dbe3bec7e8c840f0720900953052", kill_on_drop: false }` [INFO] [stdout] 3481a29a4a030c0a7cf22d532c10b37d2dd4dbe3bec7e8c840f0720900953052 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "DOCS_RS=1" "-e" "RUSTC_BOOTSTRAP=1" "-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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "rustdoc" "--lib" "-Zrustdoc-map" "--frozen" "--message-format=json" "--" "-Z" "unstable-options" "--document-private-items", kill_on_drop: false }` [INFO] [stdout] 898396961f8b6871e91baa4d44d2b6b4eee44c6f1108f1be37ce3118f5c71e01 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "898396961f8b6871e91baa4d44d2b6b4eee44c6f1108f1be37ce3118f5c71e01", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling gio v0.3.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling cairo-rs v0.3.0 [INFO] [stderr] Compiling gdk-pixbuf v0.3.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Checking c_vec v1.2.1 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling gdk v0.7.0 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling gtk v0.3.0 [INFO] [stderr] Compiling ndarray v0.11.2 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking miniz_oxide v0.5.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Compiling glib-sys v0.5.0 [INFO] [stderr] Compiling gobject-sys v0.5.0 [INFO] [stderr] Compiling gio-sys v0.5.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.5.0 [INFO] [stderr] Compiling cairo-sys-rs v0.5.0 [INFO] [stderr] Compiling pango-sys v0.5.0 [INFO] [stderr] Compiling gdk-sys v0.5.0 [INFO] [stderr] Compiling atk-sys v0.5.0 [INFO] [stderr] Compiling gtk-sys v0.5.0 [INFO] [stderr] Checking object v0.28.4 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling backtrace v0.3.65 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Checking glib v0.4.1 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling palette v0.2.1 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking pango v0.3.0 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Documenting astrup v0.0.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/view.rs:65:56 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn add(mut self, mut figure: Figure) -> Result<(Self), Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 65 - pub fn add(mut self, mut figure: Figure) -> Result<(Self), Error> { [INFO] [stdout] 65 + pub fn add(mut self, mut figure: Figure) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/view.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | Ok((self)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 69 - Ok((self)) [INFO] [stdout] 69 + Ok(self) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/figure.rs:138:49 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn save(self, filename: &str) -> Result<(Self), Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 138 - pub fn save(self, filename: &str) -> Result<(Self), Error> { [INFO] [stdout] 138 + pub fn save(self, filename: &str) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/figure.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | Ok((self)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 156 - Ok((self)) [INFO] [stdout] 156 + Ok(self) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/utils.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | ((old_number - old_min) / (old_max - old_min) * new_max + [INFO] [stdout] | ^ [INFO] [stdout] 240 | (old_max - old_number) / (old_max - old_min) * new_min) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 239 ~ (old_number - old_min) / (old_max - old_min) * new_max + [INFO] [stdout] 240 ~ (old_max - old_number) / (old_max - old_min) * new_min [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this URL is not a hyperlink [INFO] [stdout] --> src/utils.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | /// https://stackoverflow.com/questions/28247990/how-to-do-a-binary-search-on-a-vec-of-floats/28248065#28248065 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(rustdoc::bare_urls)]` on by default [INFO] [stdout] = note: bare URLs are not automatically turned into clickable links [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 13s [INFO] running `Command { std: "docker" "inspect" "898396961f8b6871e91baa4d44d2b6b4eee44c6f1108f1be37ce3118f5c71e01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "898396961f8b6871e91baa4d44d2b6b4eee44c6f1108f1be37ce3118f5c71e01", kill_on_drop: false }` [INFO] [stdout] 898396961f8b6871e91baa4d44d2b6b4eee44c6f1108f1be37ce3118f5c71e01