[INFO] fetching crate plotlib 0.5.1... [INFO] checking plotlib-0.5.1 against master#aa067fb984d36462548bb785da221bfaf38253f0 for pr-122470 [INFO] extracting crate plotlib 0.5.1 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate plotlib 0.5.1 on toolchain aa067fb984d36462548bb785da221bfaf38253f0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+aa067fb984d36462548bb785da221bfaf38253f0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate plotlib 0.5.1 [INFO] finished tweaking crates.io crate plotlib 0.5.1 [INFO] tweaked toml for crates.io crate plotlib 0.5.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate crates.io crate plotlib 0.5.1 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" "+aa067fb984d36462548bb785da221bfaf38253f0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded svg v0.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+aa067fb984d36462548bb785da221bfaf38253f0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 635b0b99873828528223e3bd5d3051b0befd7b2cb643d8003c02b5d180ebcd3d [INFO] running `Command { std: "docker" "start" "-a" "635b0b99873828528223e3bd5d3051b0befd7b2cb643d8003c02b5d180ebcd3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "635b0b99873828528223e3bd5d3051b0befd7b2cb643d8003c02b5d180ebcd3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "635b0b99873828528223e3bd5d3051b0befd7b2cb643d8003c02b5d180ebcd3d", kill_on_drop: false }` [INFO] [stdout] 635b0b99873828528223e3bd5d3051b0befd7b2cb643d8003c02b5d180ebcd3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+aa067fb984d36462548bb785da221bfaf38253f0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 602d4ebc27b49b82421347cacd2ad22395a7d4409771b441d9bd3be441b5980d [INFO] running `Command { std: "docker" "start" "-a" "602d4ebc27b49b82421347cacd2ad22395a7d4409771b441d9bd3be441b5980d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking svg v0.7.1 [INFO] [stderr] Compiling backtrace-sys v0.1.34 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking backtrace v0.3.45 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Checking failure v0.1.7 [INFO] [stderr] Checking plotlib v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `svg` is imported redundantly [INFO] [stdout] --> src/page.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use svg; [INFO] [stdout] | ^^^ the item `svg` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `svg` is imported redundantly [INFO] [stdout] --> src/repr/barchart.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use svg; [INFO] [stdout] | ^^^ the item `svg` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `svg` is imported redundantly [INFO] [stdout] --> src/repr/boxplot.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use svg; [INFO] [stdout] | ^^^ the item `svg` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/repr/histogram.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std; [INFO] [stdout] | ^^^ the item `std` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `svg` is imported redundantly [INFO] [stdout] --> src/repr/histogram.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use svg; [INFO] [stdout] | ^^^ the item `svg` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `svg` is imported redundantly [INFO] [stdout] --> src/repr/plot.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use svg; [INFO] [stdout] | ^^^ the item `svg` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/view.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std; [INFO] [stdout] | ^^^ the item `std` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `failure` is imported redundantly [INFO] [stdout] --> src/errors.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use failure; [INFO] [stdout] | ^^^^^^^ the item `failure` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/svg_render.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std; [INFO] [stdout] | ^^^ the item `std` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/text_render.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std; [INFO] [stdout] | ^^^ the item `std` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/utils.rs:23:47 [INFO] [stdout] | [INFO] [stdout] 23 | 0 => (s[(s.len() / 2) - 1] / 2.) + (s[(s.len() / 2)] / 2.), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - 0 => (s[(s.len() / 2) - 1] / 2.) + (s[(s.len() / 2)] / 2.), [INFO] [stdout] 23 + 0 => (s[(s.len() / 2) - 1] / 2.) + (s[s.len() / 2] / 2.), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `svg` is imported redundantly [INFO] [stdout] --> src/page.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use svg; [INFO] [stdout] | ^^^ the item `svg` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `svg` is imported redundantly [INFO] [stdout] --> src/repr/barchart.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use svg; [INFO] [stdout] | ^^^ the item `svg` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `svg` is imported redundantly [INFO] [stdout] --> src/repr/boxplot.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use svg; [INFO] [stdout] | ^^^ the item `svg` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/repr/histogram.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std; [INFO] [stdout] | ^^^ the item `std` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `svg` is imported redundantly [INFO] [stdout] --> src/repr/histogram.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use svg; [INFO] [stdout] | ^^^ the item `svg` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `svg` is imported redundantly [INFO] [stdout] --> src/repr/plot.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use svg; [INFO] [stdout] | ^^^ the item `svg` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/view.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std; [INFO] [stdout] | ^^^ the item `std` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `failure` is imported redundantly [INFO] [stdout] --> src/errors.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use failure; [INFO] [stdout] | ^^^^^^^ the item `failure` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/svg_render.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std; [INFO] [stdout] | ^^^ the item `std` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/text_render.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std; [INFO] [stdout] | ^^^ the item `std` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/utils.rs:23:47 [INFO] [stdout] | [INFO] [stdout] 23 | 0 => (s[(s.len() / 2) - 1] / 2.) + (s[(s.len() / 2)] / 2.), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - 0 => (s[(s.len() / 2) - 1] / 2.) + (s[(s.len() / 2)] / 2.), [INFO] [stdout] 23 + 0 => (s[(s.len() / 2) - 1] / 2.) + (s[s.len() / 2] / 2.), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_style` [INFO] [stdout] --> src/repr/plot.rs:182:38 [INFO] [stdout] | [INFO] [stdout] 182 | let face_lines = if let Some(line_style) = &self.line_style { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_style` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_style` [INFO] [stdout] --> src/repr/plot.rs:182:38 [INFO] [stdout] | [INFO] [stdout] 182 | let face_lines = if let Some(line_style) = &self.line_style { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_style` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.90s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: svg v0.7.1 [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" "602d4ebc27b49b82421347cacd2ad22395a7d4409771b441d9bd3be441b5980d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "602d4ebc27b49b82421347cacd2ad22395a7d4409771b441d9bd3be441b5980d", kill_on_drop: false }` [INFO] [stdout] 602d4ebc27b49b82421347cacd2ad22395a7d4409771b441d9bd3be441b5980d [INFO] checking plotlib-0.5.1 against try#707d6562f55b55a7aab4ab3a904997116b358314 for pr-122470 [INFO] extracting crate plotlib 0.5.1 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate plotlib 0.5.1 on toolchain 707d6562f55b55a7aab4ab3a904997116b358314 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+707d6562f55b55a7aab4ab3a904997116b358314" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate plotlib 0.5.1 [INFO] finished tweaking crates.io crate plotlib 0.5.1 [INFO] tweaked toml for crates.io crate plotlib 0.5.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate plotlib 0.5.1 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" "+707d6562f55b55a7aab4ab3a904997116b358314" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+707d6562f55b55a7aab4ab3a904997116b358314" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 92935f29ee689f39be5a5a08b73be6b6e6dff623ec816bd28ae8aa273013cf29 [INFO] running `Command { std: "docker" "start" "-a" "92935f29ee689f39be5a5a08b73be6b6e6dff623ec816bd28ae8aa273013cf29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92935f29ee689f39be5a5a08b73be6b6e6dff623ec816bd28ae8aa273013cf29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92935f29ee689f39be5a5a08b73be6b6e6dff623ec816bd28ae8aa273013cf29", kill_on_drop: false }` [INFO] [stdout] 92935f29ee689f39be5a5a08b73be6b6e6dff623ec816bd28ae8aa273013cf29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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" "+707d6562f55b55a7aab4ab3a904997116b358314" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d4196e972a0dd9e484536d16aeb3cc65d98f470864a3ede9f836dca8544e1bb [INFO] running `Command { std: "docker" "start" "-a" "0d4196e972a0dd9e484536d16aeb3cc65d98f470864a3ede9f836dca8544e1bb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking svg v0.7.1 [INFO] [stderr] Compiling backtrace-sys v0.1.34 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking backtrace v0.3.45 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Checking failure v0.1.7 [INFO] [stderr] Checking plotlib v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `svg` is imported redundantly [INFO] [stdout] --> src/page.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use svg; [INFO] [stdout] | ^^^ the item `svg` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `svg` is imported redundantly [INFO] [stdout] --> src/repr/barchart.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use svg; [INFO] [stdout] | ^^^ the item `svg` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `svg` is imported redundantly [INFO] [stdout] --> src/repr/boxplot.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use svg; [INFO] [stdout] | ^^^ the item `svg` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/repr/histogram.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std; [INFO] [stdout] | ^^^ the item `std` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `svg` is imported redundantly [INFO] [stdout] --> src/repr/histogram.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use svg; [INFO] [stdout] | ^^^ the item `svg` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `svg` is imported redundantly [INFO] [stdout] --> src/repr/plot.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use svg; [INFO] [stdout] | ^^^ the item `svg` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/view.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std; [INFO] [stdout] | ^^^ the item `std` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `failure` is imported redundantly [INFO] [stdout] --> src/errors.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use failure; [INFO] [stdout] | ^^^^^^^ the item `failure` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/svg_render.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std; [INFO] [stdout] | ^^^ the item `std` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/text_render.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std; [INFO] [stdout] | ^^^ the item `std` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/utils.rs:23:47 [INFO] [stdout] | [INFO] [stdout] 23 | 0 => (s[(s.len() / 2) - 1] / 2.) + (s[(s.len() / 2)] / 2.), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - 0 => (s[(s.len() / 2) - 1] / 2.) + (s[(s.len() / 2)] / 2.), [INFO] [stdout] 23 + 0 => (s[(s.len() / 2) - 1] / 2.) + (s[s.len() / 2] / 2.), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `svg` is imported redundantly [INFO] [stdout] --> src/page.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use svg; [INFO] [stdout] | ^^^ the item `svg` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `svg` is imported redundantly [INFO] [stdout] --> src/repr/barchart.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use svg; [INFO] [stdout] | ^^^ the item `svg` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `svg` is imported redundantly [INFO] [stdout] --> src/repr/boxplot.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use svg; [INFO] [stdout] | ^^^ the item `svg` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/repr/histogram.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std; [INFO] [stdout] | ^^^ the item `std` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `svg` is imported redundantly [INFO] [stdout] --> src/repr/histogram.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use svg; [INFO] [stdout] | ^^^ the item `svg` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `svg` is imported redundantly [INFO] [stdout] --> src/repr/plot.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use svg; [INFO] [stdout] | ^^^ the item `svg` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/view.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std; [INFO] [stdout] | ^^^ the item `std` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `failure` is imported redundantly [INFO] [stdout] --> src/errors.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use failure; [INFO] [stdout] | ^^^^^^^ the item `failure` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/svg_render.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std; [INFO] [stdout] | ^^^ the item `std` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/text_render.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std; [INFO] [stdout] | ^^^ the item `std` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/utils.rs:23:47 [INFO] [stdout] | [INFO] [stdout] 23 | 0 => (s[(s.len() / 2) - 1] / 2.) + (s[(s.len() / 2)] / 2.), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - 0 => (s[(s.len() / 2) - 1] / 2.) + (s[(s.len() / 2)] / 2.), [INFO] [stdout] 23 + 0 => (s[(s.len() / 2) - 1] / 2.) + (s[s.len() / 2] / 2.), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/style.rs:186:24 [INFO] [stdout] | [INFO] [stdout] 186 | .width(1.), [INFO] [stdout] | ----- ^^ the trait `From` is not implemented for `f32`, which is required by `{float}: Into` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required for `f64` to implement `Into` [INFO] [stdout] note: required by a bound in `style::LineStyle::width` [INFO] [stdout] --> src/style.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn width(mut self, value: T) -> Self [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 56 | where [INFO] [stdout] 57 | T: Into, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `LineStyle::width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_style` [INFO] [stdout] --> src/repr/plot.rs:182:38 [INFO] [stdout] | [INFO] [stdout] 182 | let face_lines = if let Some(line_style) = &self.line_style { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_style` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_style` [INFO] [stdout] --> src/repr/plot.rs:182:38 [INFO] [stdout] | [INFO] [stdout] 182 | let face_lines = if let Some(line_style) = &self.line_style { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_style` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f32: From` is not satisfied [INFO] [stdout] --> examples/function_svg.rs:10:69 [INFO] [stdout] | [INFO] [stdout] 10 | .line_style(LineStyle::new().colour("darkolivegreen").width(2.)); [INFO] [stdout] | ----- ^^ the trait `From` is not implemented for `f32`, which is required by `{float}: Into` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required for `f64` to implement `Into` [INFO] [stdout] note: required by a bound in `LineStyle::width` [INFO] [stdout] --> /opt/rustwide/workdir/src/style.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn width(mut self, value: T) -> Self [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 56 | where [INFO] [stdout] 57 | T: Into, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `LineStyle::width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f32: From` is not satisfied [INFO] [stdout] --> examples/function_svg.rs:12:60 [INFO] [stdout] | [INFO] [stdout] 12 | .line_style(LineStyle::new().colour("brown").width(1.)); [INFO] [stdout] | ----- ^^ the trait `From` is not implemented for `f32`, which is required by `{float}: Into` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required for `f64` to implement `Into` [INFO] [stdout] note: required by a bound in `LineStyle::width` [INFO] [stdout] --> /opt/rustwide/workdir/src/style.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn width(mut self, value: T) -> Self [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 56 | where [INFO] [stdout] 57 | T: Into, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `LineStyle::width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `plotlib` (example "function_svg") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `plotlib` (lib test) due to 2 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0d4196e972a0dd9e484536d16aeb3cc65d98f470864a3ede9f836dca8544e1bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d4196e972a0dd9e484536d16aeb3cc65d98f470864a3ede9f836dca8544e1bb", kill_on_drop: false }` [INFO] [stdout] 0d4196e972a0dd9e484536d16aeb3cc65d98f470864a3ede9f836dca8544e1bb