[INFO] fetching crate rustplot 0.1.0... [INFO] testing rustplot-0.1.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate rustplot 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate rustplot 0.1.0 [INFO] finished tweaking crates.io crate rustplot 0.1.0 [INFO] tweaked toml for crates.io crate rustplot 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rustplot 0.1.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 102 packages to latest compatible versions [INFO] [stderr] Adding csv v0.15.0 (available: v1.3.1) [INFO] [stderr] Adding regex v0.2.11 (available: v1.11.3) [INFO] [stderr] Adding target-lexicon v0.13.2 (available: v0.13.3) [INFO] [stderr] Adding toml v0.8.2 (available: v0.8.23) [INFO] [stderr] Adding toml_datetime v0.6.3 (available: v0.6.11) [INFO] [stderr] Adding toml_edit v0.20.2 (available: v0.20.7) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bcb24ca39eebaa986f483eb15936ef244dce059fc98af8ff2e1be2d49105ae08 [INFO] running `Command { std: "docker" "start" "-a" "bcb24ca39eebaa986f483eb15936ef244dce059fc98af8ff2e1be2d49105ae08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bcb24ca39eebaa986f483eb15936ef244dce059fc98af8ff2e1be2d49105ae08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcb24ca39eebaa986f483eb15936ef244dce059fc98af8ff2e1be2d49105ae08", kill_on_drop: false }` [INFO] [stdout] bcb24ca39eebaa986f483eb15936ef244dce059fc98af8ff2e1be2d49105ae08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18b2a2215b942b068977d1c80503879118d221eeef7454fa63a11d8bdcae7d80 [INFO] running `Command { std: "docker" "start" "-a" "18b2a2215b942b068977d1c80503879118d221eeef7454fa63a11d8bdcae7d80", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling version-compare v0.2.0 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling cfg-expr v0.20.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling toml_datetime v0.7.2 [INFO] [stderr] Compiling gio v0.18.4 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling gtk v0.18.2 [INFO] [stderr] Compiling gio v0.21.2 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling field-offset v0.3.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling cfg-expr v0.15.8 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling csv v0.15.0 [INFO] [stderr] Compiling toml_parser v1.0.3 [INFO] [stderr] Compiling toml_edit v0.23.6 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling glib-macros v0.21.2 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling toml v0.8.2 [INFO] [stderr] Compiling proc-macro-crate v2.0.2 [INFO] [stderr] Compiling gtk3-macros v0.18.2 [INFO] [stderr] Compiling system-deps v6.2.2 [INFO] [stderr] Compiling system-deps v7.0.5 [INFO] [stderr] Compiling glib-macros v0.18.5 [INFO] [stderr] Compiling glib-sys v0.18.1 [INFO] [stderr] Compiling gobject-sys v0.18.0 [INFO] [stderr] Compiling gio-sys v0.18.1 [INFO] [stderr] Compiling gdk-sys v0.18.2 [INFO] [stderr] Compiling pango-sys v0.18.0 [INFO] [stderr] Compiling cairo-sys-rs v0.18.2 [INFO] [stderr] Compiling atk-sys v0.18.2 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.18.0 [INFO] [stderr] Compiling gtk-sys v0.18.2 [INFO] [stderr] Compiling glib-sys v0.21.2 [INFO] [stderr] Compiling gobject-sys v0.21.2 [INFO] [stderr] Compiling gio-sys v0.21.2 [INFO] [stderr] Compiling cairo-sys-rs v0.21.2 [INFO] [stderr] Compiling glib v0.18.5 [INFO] [stderr] Compiling glib v0.21.3 [INFO] [stderr] Compiling cairo-rs v0.18.5 [INFO] [stderr] Compiling atk v0.18.2 [INFO] [stderr] Compiling cairo-rs v0.21.2 [INFO] [stderr] Compiling pango v0.18.3 [INFO] [stderr] Compiling gdk-pixbuf v0.18.5 [INFO] [stderr] Compiling gdk v0.18.2 [INFO] [stderr] Compiling rustplot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `self::cairo::MatrixTrait` [INFO] [stdout] --> src/chart_builder/mod.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | use self::cairo::MatrixTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ no `MatrixTrait` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `enums` is private [INFO] [stdout] --> src/chart_builder/mod.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 57 | use self::cairo::enums::{FontSlant, FontWeight}; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum instead: [INFO] [stdout] chart_builder::cairo::FontSlant [INFO] [stdout] --> src/chart_builder/mod.rs:57:26 [INFO] [stdout] | [INFO] [stdout] 57 | use self::cairo::enums::{FontSlant, FontWeight}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: the module `enums` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/lib.rs:258:1 [INFO] [stdout] | [INFO] [stdout] 258 | mod enums; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `enums` is private [INFO] [stdout] --> src/chart_builder/mod.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 57 | use self::cairo::enums::{FontSlant, FontWeight}; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum instead: [INFO] [stdout] chart_builder::cairo::FontWeight [INFO] [stdout] --> src/chart_builder/mod.rs:57:37 [INFO] [stdout] | [INFO] [stdout] 57 | use self::cairo::enums::{FontSlant, FontWeight}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the module `enums` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/lib.rs:258:1 [INFO] [stdout] | [INFO] [stdout] 258 | mod enums; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/chart_builder/charts/xy_scatter_plot.rs:199:81 [INFO] [stdout] | [INFO] [stdout] 199 | start_x = _left_bound - (start_x_val * _horizontal_scaling);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Inhibit` in this scope [INFO] [stdout] --> src/chart_builder/window.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | Inhibit(false) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/chart_builder/window.rs:95:23 [INFO] [stdout] | [INFO] [stdout] 95 | let application = gtk::Application::new("com.github.rustlib_app", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 96 | gio::ApplicationFlags::empty()) [INFO] [stdout] | ------------------------------ expected `ApplicationFlags`, found `chart_builder::gio::ApplicationFlags` [INFO] [stdout] | [INFO] [stdout] note: expected `Option<&str>`, found `&str` [INFO] [stdout] --> src/chart_builder/window.rs:95:45 [INFO] [stdout] | [INFO] [stdout] 95 | let application = gtk::Application::new("com.github.rustlib_app", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected enum `Option<&str>` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] note: two different versions of crate `gio` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] | ----------------- one version of crate `gio` used here, as a direct dependency of the current crate [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `gio` used here, as a dependency of crate `gdk_pixbuf` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gio-0.21.2/src/auto/flags.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / bitflags! { [INFO] [stdout] 96 | | #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)] [INFO] [stdout] 97 | | #[doc(alias = "GApplicationFlags")] [INFO] [stdout] 98 | | pub struct ApplicationFlags: u32 { [INFO] [stdout] ... | [INFO] [stdout] 121 | | } [INFO] [stdout] | |__^ this is the found type `chart_builder::gio::ApplicationFlags` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gio-0.18.4/src/auto/flags.rs:101:1 [INFO] [stdout] | [INFO] [stdout] 101 | / bitflags! { [INFO] [stdout] 102 | | #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)] [INFO] [stdout] 103 | | #[doc(alias = "GApplicationFlags")] [INFO] [stdout] 104 | | pub struct ApplicationFlags: u32 { [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] | |_^ this is the expected type `chart_builder::gtk::gio::ApplicationFlags` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gtk-0.18.2/src/application.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(application_id: Option<&str>, flags: ApplicationFlags) -> Application { [INFO] [stdout] | ^^^ [INFO] [stdout] = note: this error originates in the macro `$crate::__declare_public_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 95 | let application = gtk::Application::new(Some("com.github.rustlib_app"), [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect` found for struct `chart_builder::gtk::Application` in the current scope [INFO] [stdout] --> src/chart_builder/window.rs:97:41 [INFO] [stdout] | [INFO] [stdout] 95 | let application = gtk::Application::new("com.github.rustlib_app", [INFO] [stdout] | _______________________- [INFO] [stdout] 96 | | gio::ApplicationFlags::empty()) [INFO] [stdout] 97 | | .expect("Initialization failed..."); [INFO] [stdout] | | -^^^^^^ method not found in `chart_builder::gtk::Application` [INFO] [stdout] | |________________________________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_font_matrix` found for reference `&chart_builder::cairo::Context` in the current scope [INFO] [stdout] --> src/chart_builder/axis_drawer.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 78 | let mut font_matrix = cr.get_font_matrix(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `set_font_matrix` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:665:5 [INFO] [stdout] | [INFO] [stdout] 665 | pub fn set_font_matrix(&self, matrix: Matrix) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `width` on type `Result` [INFO] [stdout] --> src/chart_builder/axis_drawer.rs:92:60 [INFO] [stdout] | [INFO] [stdout] 92 | let text_width = cr.text_extents(axis_str).width; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `height` on type `Result` [INFO] [stdout] --> src/chart_builder/axis_drawer.rs:106:53 [INFO] [stdout] | [INFO] [stdout] 106 | let text_height = cr.text_extents(axis_str).height; [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `width` on type `Result` [INFO] [stdout] --> src/chart_builder/axis_drawer.rs:107:52 [INFO] [stdout] | [INFO] [stdout] 107 | let text_width = cr.text_extents(axis_str).width; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `width` on type `Result` [INFO] [stdout] --> src/chart_builder/axis_drawer.rs:135:60 [INFO] [stdout] | [INFO] [stdout] 135 | let axis_title_width = cr.text_extents(axis_title_str).width; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `height` on type `Result` [INFO] [stdout] --> src/chart_builder/axis_drawer.rs:136:61 [INFO] [stdout] | [INFO] [stdout] 136 | let axis_title_height = cr.text_extents(axis_title_str).height; [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_font_matrix` found for reference `&chart_builder::cairo::Context` in the current scope [INFO] [stdout] --> src/chart_builder/axis_drawer.rs:189:30 [INFO] [stdout] | [INFO] [stdout] 189 | let mut font_matrix = cr.get_font_matrix(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `set_font_matrix` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:665:5 [INFO] [stdout] | [INFO] [stdout] 665 | pub fn set_font_matrix(&self, matrix: Matrix) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `width` on type `Result` [INFO] [stdout] --> src/chart_builder/axis_drawer.rs:212:56 [INFO] [stdout] | [INFO] [stdout] 212 | let text_width = cr.text_extents(axis_num_str).width; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `height` on type `Result` [INFO] [stdout] --> src/chart_builder/axis_drawer.rs:213:57 [INFO] [stdout] | [INFO] [stdout] 213 | let text_height = cr.text_extents(axis_num_str).height; [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `width` on type `Result` [INFO] [stdout] --> src/chart_builder/axis_drawer.rs:244:60 [INFO] [stdout] | [INFO] [stdout] 244 | let axis_title_width = cr.text_extents(axis_title_str).width; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `height` on type `Result` [INFO] [stdout] --> src/chart_builder/axis_drawer.rs:245:61 [INFO] [stdout] | [INFO] [stdout] 245 | let axis_title_height = cr.text_extents(axis_title_str).height; [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_font_matrix` found for reference `&chart_builder::cairo::Context` in the current scope [INFO] [stdout] --> src/chart_builder/axis_drawer.rs:297:30 [INFO] [stdout] | [INFO] [stdout] 297 | let mut font_matrix = cr.get_font_matrix(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `set_font_matrix` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:665:5 [INFO] [stdout] | [INFO] [stdout] 665 | pub fn set_font_matrix(&self, matrix: Matrix) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `width` on type `Result` [INFO] [stdout] --> src/chart_builder/axis_drawer.rs:325:56 [INFO] [stdout] | [INFO] [stdout] 325 | let text_width = cr.text_extents(axis_num_str).width; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `height` on type `Result` [INFO] [stdout] --> src/chart_builder/axis_drawer.rs:326:57 [INFO] [stdout] | [INFO] [stdout] 326 | let text_height = cr.text_extents(axis_num_str).height; [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `width` on type `Result` [INFO] [stdout] --> src/chart_builder/axis_drawer.rs:358:60 [INFO] [stdout] | [INFO] [stdout] 358 | let axis_title_width = cr.text_extents(axis_title_str).width; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `height` on type `Result` [INFO] [stdout] --> src/chart_builder/axis_drawer.rs:359:61 [INFO] [stdout] | [INFO] [stdout] 359 | let axis_title_height = cr.text_extents(axis_title_str).height; [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_dash` found for reference `&chart_builder::gtk::cairo::Context` in the current scope [INFO] [stdout] --> src/chart_builder/charts/histogram.rs:122:27 [INFO] [stdout] | [INFO] [stdout] 122 | assert_eq!(cr.get_dash(), (vec![3., 2., 1.], 1.)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `set_dash` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn set_dash(&self, dashes: &[f64], offset: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/histogram.rs:124:26 [INFO] [stdout] | [INFO] [stdout] 124 | set_defaults(cr, screen_size); [INFO] [stdout] | ------------ ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/charts/mod.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 81 | pub(self) fn set_defaults(cr: &Context, screen_size: (f64, f64)) { [INFO] [stdout] | ^^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/histogram.rs:137:32 [INFO] [stdout] | [INFO] [stdout] 137 | set_nth_colour(cr, 0); [INFO] [stdout] | -------------- ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/charts/mod.rs:87:14 [INFO] [stdout] | [INFO] [stdout] 87 | pub(self) fn set_nth_colour(cr: &Context, n: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/histogram.rs:152:24 [INFO] [stdout] | [INFO] [stdout] 152 | draw_title(cr, _left_bound, _upper_bound, h_scale, v_scale, &chart_title); [INFO] [stdout] | ---------- ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/charts/mod.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 97 | pub(self) fn draw_title(cr: &Context, _left_bound: f64, _upper_bound: f64, h_scale: f64, v_scale: f64, chart_title: &String) { [INFO] [stdout] | ^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/histogram.rs:155:29 [INFO] [stdout] | [INFO] [stdout] 155 | draw_x_axis_con(cr, scalings, [INFO] [stdout] | --------------- ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/axis_drawer.rs:143:26 [INFO] [stdout] | [INFO] [stdout] 143 | pub(in chart_builder) fn draw_x_axis_con(cr: &Context, scalings: (f64, f64, f64, f64 ,f64, f64), [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/histogram.rs:158:29 [INFO] [stdout] | [INFO] [stdout] 158 | draw_y_axis_con(cr, scalings, [INFO] [stdout] | --------------- ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/axis_drawer.rs:252:26 [INFO] [stdout] | [INFO] [stdout] 252 | pub(in chart_builder) fn draw_y_axis_con(cr: &Context, scalings: (f64, f64, f64, f64 ,f64, f64), [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Inhibit` in this scope [INFO] [stdout] --> src/chart_builder/charts/histogram.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | Inhibit(false) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_dash` found for reference `&chart_builder::gtk::cairo::Context` in the current scope [INFO] [stdout] --> src/chart_builder/charts/box_whisker_plot.rs:125:27 [INFO] [stdout] | [INFO] [stdout] 125 | assert_eq!(cr.get_dash(), (vec![3., 2., 1.], 1.)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `set_dash` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn set_dash(&self, dashes: &[f64], offset: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/box_whisker_plot.rs:127:26 [INFO] [stdout] | [INFO] [stdout] 127 | set_defaults(cr, screen_size); [INFO] [stdout] | ------------ ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/charts/mod.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 81 | pub(self) fn set_defaults(cr: &Context, screen_size: (f64, f64)) { [INFO] [stdout] | ^^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/box_whisker_plot.rs:149:32 [INFO] [stdout] | [INFO] [stdout] 149 | set_nth_colour(cr, i); [INFO] [stdout] | -------------- ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/charts/mod.rs:87:14 [INFO] [stdout] | [INFO] [stdout] 87 | pub(self) fn set_nth_colour(cr: &Context, n: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/box_whisker_plot.rs:204:24 [INFO] [stdout] | [INFO] [stdout] 204 | draw_title(cr, _left_bound, _upper_bound, h_scale, v_scale, &chart_title); [INFO] [stdout] | ---------- ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/charts/mod.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 97 | pub(self) fn draw_title(cr: &Context, _left_bound: f64, _upper_bound: f64, h_scale: f64, v_scale: f64, chart_title: &String) { [INFO] [stdout] | ^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/box_whisker_plot.rs:207:29 [INFO] [stdout] | [INFO] [stdout] 207 | draw_x_axis_cat(cr, scalings, [INFO] [stdout] | --------------- ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/axis_drawer.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | pub(in chart_builder) fn draw_x_axis_cat(cr: &Context, scalings: (f64, f64, f64, f64 ,f64, f64), [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/box_whisker_plot.rs:211:29 [INFO] [stdout] | [INFO] [stdout] 211 | draw_y_axis_con(cr, scalings, [INFO] [stdout] | --------------- ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/axis_drawer.rs:252:26 [INFO] [stdout] | [INFO] [stdout] 252 | pub(in chart_builder) fn draw_y_axis_con(cr: &Context, scalings: (f64, f64, f64, f64 ,f64, f64), [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Inhibit` in this scope [INFO] [stdout] --> src/chart_builder/charts/box_whisker_plot.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | Inhibit(false) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_dash` found for reference `&chart_builder::gtk::cairo::Context` in the current scope [INFO] [stdout] --> src/chart_builder/charts/doughnut_chart.rs:79:27 [INFO] [stdout] | [INFO] [stdout] 79 | assert_eq!(cr.get_dash(), (vec![3., 2., 1.], 1.)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `set_dash` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn set_dash(&self, dashes: &[f64], offset: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/doughnut_chart.rs:81:26 [INFO] [stdout] | [INFO] [stdout] 81 | set_defaults(cr, screen_size); [INFO] [stdout] | ------------ ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/charts/mod.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 81 | pub(self) fn set_defaults(cr: &Context, screen_size: (f64, f64)) { [INFO] [stdout] | ^^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/doughnut_chart.rs:122:36 [INFO] [stdout] | [INFO] [stdout] 122 | set_nth_colour(cr, j); [INFO] [stdout] | -------------- ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/charts/mod.rs:87:14 [INFO] [stdout] | [INFO] [stdout] 87 | pub(self) fn set_nth_colour(cr: &Context, n: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/doughnut_chart.rs:138:24 [INFO] [stdout] | [INFO] [stdout] 138 | draw_title(cr, _left_bound, _upper_bound, h_scale, v_scale, &chart_title); [INFO] [stdout] | ---------- ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/charts/mod.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 97 | pub(self) fn draw_title(cr: &Context, _left_bound: f64, _upper_bound: f64, h_scale: f64, v_scale: f64, chart_title: &String) { [INFO] [stdout] | ^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/doughnut_chart.rs:142:29 [INFO] [stdout] | [INFO] [stdout] 142 | draw_legend(cr, &legend_values, screen_size, legend_size); [INFO] [stdout] | ----------- ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/charts/mod.rs:109:14 [INFO] [stdout] | [INFO] [stdout] 109 | pub(self) fn draw_legend(cr: &Context, legend_values: &Vec, screen_size: (f64, f64), legend_size: f64) { [INFO] [stdout] | ^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Inhibit` in this scope [INFO] [stdout] --> src/chart_builder/charts/doughnut_chart.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | Inhibit(false) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_dash` found for reference `&chart_builder::gtk::cairo::Context` in the current scope [INFO] [stdout] --> src/chart_builder/charts/pie_chart.rs:75:27 [INFO] [stdout] | [INFO] [stdout] 75 | assert_eq!(cr.get_dash(), (vec![3., 2., 1.], 1.)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `set_dash` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn set_dash(&self, dashes: &[f64], offset: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/pie_chart.rs:77:26 [INFO] [stdout] | [INFO] [stdout] 77 | set_defaults(cr, screen_size); [INFO] [stdout] | ------------ ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/charts/mod.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 81 | pub(self) fn set_defaults(cr: &Context, screen_size: (f64, f64)) { [INFO] [stdout] | ^^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/pie_chart.rs:114:32 [INFO] [stdout] | [INFO] [stdout] 114 | set_nth_colour(cr, i); [INFO] [stdout] | -------------- ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/charts/mod.rs:87:14 [INFO] [stdout] | [INFO] [stdout] 87 | pub(self) fn set_nth_colour(cr: &Context, n: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `width` on type `Result` [INFO] [stdout] --> src/chart_builder/charts/pie_chart.rs:122:63 [INFO] [stdout] | [INFO] [stdout] 122 | let text_width = cr.text_extents(percent_str).width; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `height` on type `Result` [INFO] [stdout] --> src/chart_builder/charts/pie_chart.rs:123:64 [INFO] [stdout] | [INFO] [stdout] 123 | let text_height = cr.text_extents(percent_str).height; [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_current_point` found for reference `&chart_builder::gtk::cairo::Context` in the current scope [INFO] [stdout] --> src/chart_builder/charts/pie_chart.rs:125:32 [INFO] [stdout] | [INFO] [stdout] 125 | let point = cr.get_current_point(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `current_point` with a similar name [INFO] [stdout] | [INFO] [stdout] 125 - let point = cr.get_current_point(); [INFO] [stdout] 125 + let point = cr.current_point(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/pie_chart.rs:134:24 [INFO] [stdout] | [INFO] [stdout] 134 | draw_title(cr, _left_bound, _upper_bound, h_scale, v_scale, &chart_title); [INFO] [stdout] | ---------- ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/charts/mod.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 97 | pub(self) fn draw_title(cr: &Context, _left_bound: f64, _upper_bound: f64, h_scale: f64, v_scale: f64, chart_title: &String) { [INFO] [stdout] | ^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/pie_chart.rs:138:29 [INFO] [stdout] | [INFO] [stdout] 138 | draw_legend(cr, &legend_values, screen_size, legend_size); [INFO] [stdout] | ----------- ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/charts/mod.rs:109:14 [INFO] [stdout] | [INFO] [stdout] 109 | pub(self) fn draw_legend(cr: &Context, legend_values: &Vec, screen_size: (f64, f64), legend_size: f64) { [INFO] [stdout] | ^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Inhibit` in this scope [INFO] [stdout] --> src/chart_builder/charts/pie_chart.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | Inhibit(false) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_dash` found for reference `&chart_builder::gtk::cairo::Context` in the current scope [INFO] [stdout] --> src/chart_builder/charts/vertical_bar_chart.rs:92:27 [INFO] [stdout] | [INFO] [stdout] 92 | assert_eq!(cr.get_dash(), (vec![3., 2., 1.], 1.)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `set_dash` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn set_dash(&self, dashes: &[f64], offset: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/vertical_bar_chart.rs:94:26 [INFO] [stdout] | [INFO] [stdout] 94 | set_defaults(cr, screen_size); [INFO] [stdout] | ------------ ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/charts/mod.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 81 | pub(self) fn set_defaults(cr: &Context, screen_size: (f64, f64)) { [INFO] [stdout] | ^^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/vertical_bar_chart.rs:104:32 [INFO] [stdout] | [INFO] [stdout] 104 | set_nth_colour(cr, j); [INFO] [stdout] | -------------- ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/charts/mod.rs:87:14 [INFO] [stdout] | [INFO] [stdout] 87 | pub(self) fn set_nth_colour(cr: &Context, n: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/vertical_bar_chart.rs:120:24 [INFO] [stdout] | [INFO] [stdout] 120 | draw_title(cr, _left_bound, _upper_bound, h_scale, v_scale, &chart_title); [INFO] [stdout] | ---------- ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/charts/mod.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 97 | pub(self) fn draw_title(cr: &Context, _left_bound: f64, _upper_bound: f64, h_scale: f64, v_scale: f64, chart_title: &String) { [INFO] [stdout] | ^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/vertical_bar_chart.rs:123:29 [INFO] [stdout] | [INFO] [stdout] 123 | draw_x_axis_cat(cr, scalings, [INFO] [stdout] | --------------- ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/axis_drawer.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | pub(in chart_builder) fn draw_x_axis_cat(cr: &Context, scalings: (f64, f64, f64, f64 ,f64, f64), [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/vertical_bar_chart.rs:127:29 [INFO] [stdout] | [INFO] [stdout] 127 | draw_y_axis_con(cr, scalings, [INFO] [stdout] | --------------- ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/axis_drawer.rs:252:26 [INFO] [stdout] | [INFO] [stdout] 252 | pub(in chart_builder) fn draw_y_axis_con(cr: &Context, scalings: (f64, f64, f64, f64 ,f64, f64), [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/vertical_bar_chart.rs:133:29 [INFO] [stdout] | [INFO] [stdout] 133 | draw_legend(cr, &legend_values, screen_size, legend_size); [INFO] [stdout] | ----------- ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/charts/mod.rs:109:14 [INFO] [stdout] | [INFO] [stdout] 109 | pub(self) fn draw_legend(cr: &Context, legend_values: &Vec, screen_size: (f64, f64), legend_size: f64) { [INFO] [stdout] | ^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Inhibit` in this scope [INFO] [stdout] --> src/chart_builder/charts/vertical_bar_chart.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | Inhibit(false) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_dash` found for reference `&chart_builder::gtk::cairo::Context` in the current scope [INFO] [stdout] --> src/chart_builder/charts/radar_chart.rs:77:27 [INFO] [stdout] | [INFO] [stdout] 77 | assert_eq!(cr.get_dash(), (vec![3., 2., 1.], 1.)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `set_dash` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn set_dash(&self, dashes: &[f64], offset: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/radar_chart.rs:79:26 [INFO] [stdout] | [INFO] [stdout] 79 | set_defaults(cr, screen_size); [INFO] [stdout] | ------------ ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/charts/mod.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 81 | pub(self) fn set_defaults(cr: &Context, screen_size: (f64, f64)) { [INFO] [stdout] | ^^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/radar_chart.rs:101:29 [INFO] [stdout] | [INFO] [stdout] 101 | cr.set_line_cap(cairo::LineCap::Round); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^ expected `chart_builder::gtk::cairo::LineCap`, found `chart_builder::cairo::LineCap` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/enums.rs:157:1 [INFO] [stdout] | [INFO] [stdout] 157 | pub enum LineCap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this is the found type `chart_builder::cairo::LineCap` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/enums.rs:190:1 [INFO] [stdout] | [INFO] [stdout] 190 | pub enum LineCap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::gtk::cairo::LineCap` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:334:12 [INFO] [stdout] | [INFO] [stdout] 334 | pub fn set_line_cap(&self, arg: LineCap) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_current_point` found for reference `&chart_builder::gtk::cairo::Context` in the current scope [INFO] [stdout] --> src/chart_builder/charts/radar_chart.rs:115:36 [INFO] [stdout] | [INFO] [stdout] 115 | let point = cr.get_current_point(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `current_point` with a similar name [INFO] [stdout] | [INFO] [stdout] 115 - let point = cr.get_current_point(); [INFO] [stdout] 115 + let point = cr.current_point(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_current_point` found for reference `&chart_builder::gtk::cairo::Context` in the current scope [INFO] [stdout] --> src/chart_builder/charts/radar_chart.rs:156:32 [INFO] [stdout] | [INFO] [stdout] 156 | let point = cr.get_current_point(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `current_point` with a similar name [INFO] [stdout] | [INFO] [stdout] 156 - let point = cr.get_current_point(); [INFO] [stdout] 156 + let point = cr.current_point(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_current_point` found for reference `&chart_builder::gtk::cairo::Context` in the current scope [INFO] [stdout] --> src/chart_builder/charts/radar_chart.rs:165:32 [INFO] [stdout] | [INFO] [stdout] 165 | let point = cr.get_current_point(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `current_point` with a similar name [INFO] [stdout] | [INFO] [stdout] 165 - let point = cr.get_current_point(); [INFO] [stdout] 165 + let point = cr.current_point(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `width` on type `Result` [INFO] [stdout] --> src/chart_builder/charts/radar_chart.rs:167:61 [INFO] [stdout] | [INFO] [stdout] 167 | let text_width = cr.text_extents(point_str).width; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `height` on type `Result` [INFO] [stdout] --> src/chart_builder/charts/radar_chart.rs:168:62 [INFO] [stdout] | [INFO] [stdout] 168 | let text_height = cr.text_extents(point_str).height; [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/radar_chart.rs:177:32 [INFO] [stdout] | [INFO] [stdout] 177 | set_nth_colour(cr, j); [INFO] [stdout] | -------------- ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/charts/mod.rs:87:14 [INFO] [stdout] | [INFO] [stdout] 87 | pub(self) fn set_nth_colour(cr: &Context, n: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_current_point` found for reference `&chart_builder::gtk::cairo::Context` in the current scope [INFO] [stdout] --> src/chart_builder/charts/radar_chart.rs:189:36 [INFO] [stdout] | [INFO] [stdout] 189 | let point = cr.get_current_point(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `current_point` with a similar name [INFO] [stdout] | [INFO] [stdout] 189 - let point = cr.get_current_point(); [INFO] [stdout] 189 + let point = cr.current_point(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `width` on type `Result` [INFO] [stdout] --> src/chart_builder/charts/radar_chart.rs:221:59 [INFO] [stdout] | [INFO] [stdout] 221 | let text_width = cr.text_extents(num_str).width; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `height` on type `Result` [INFO] [stdout] --> src/chart_builder/charts/radar_chart.rs:222:60 [INFO] [stdout] | [INFO] [stdout] 222 | let text_height = cr.text_extents(num_str).height; [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/radar_chart.rs:234:24 [INFO] [stdout] | [INFO] [stdout] 234 | draw_title(cr, _left_bound, _upper_bound, h_scale, v_scale, &chart_title); [INFO] [stdout] | ---------- ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/charts/mod.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 97 | pub(self) fn draw_title(cr: &Context, _left_bound: f64, _upper_bound: f64, h_scale: f64, v_scale: f64, chart_title: &String) { [INFO] [stdout] | ^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/radar_chart.rs:238:29 [INFO] [stdout] | [INFO] [stdout] 238 | draw_legend(cr, &legend_values, screen_size, legend_size); [INFO] [stdout] | ----------- ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/charts/mod.rs:109:14 [INFO] [stdout] | [INFO] [stdout] 109 | pub(self) fn draw_legend(cr: &Context, legend_values: &Vec, screen_size: (f64, f64), legend_size: f64) { [INFO] [stdout] | ^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Inhibit` in this scope [INFO] [stdout] --> src/chart_builder/charts/radar_chart.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | Inhibit(false) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_dash` found for reference `&chart_builder::gtk::cairo::Context` in the current scope [INFO] [stdout] --> src/chart_builder/charts/area_chart.rs:91:27 [INFO] [stdout] | [INFO] [stdout] 91 | assert_eq!(cr.get_dash(), (vec![3., 2., 1.], 1.)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `set_dash` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn set_dash(&self, dashes: &[f64], offset: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/area_chart.rs:93:26 [INFO] [stdout] | [INFO] [stdout] 93 | set_defaults(cr, screen_size); [INFO] [stdout] | ------------ ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/charts/mod.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 81 | pub(self) fn set_defaults(cr: &Context, screen_size: (f64, f64)) { [INFO] [stdout] | ^^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/area_chart.rs:99:29 [INFO] [stdout] | [INFO] [stdout] 99 | cr.set_line_cap(cairo::LineCap::Round); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^ expected `chart_builder::gtk::cairo::LineCap`, found `chart_builder::cairo::LineCap` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/enums.rs:157:1 [INFO] [stdout] | [INFO] [stdout] 157 | pub enum LineCap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this is the found type `chart_builder::cairo::LineCap` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/enums.rs:190:1 [INFO] [stdout] | [INFO] [stdout] 190 | pub enum LineCap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::gtk::cairo::LineCap` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:334:12 [INFO] [stdout] | [INFO] [stdout] 334 | pub fn set_line_cap(&self, arg: LineCap) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/area_chart.rs:101:40 [INFO] [stdout] | [INFO] [stdout] 101 | set_nth_colour_opacity(cr, j, 0.7); [INFO] [stdout] | ---------------------- ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/charts/mod.rs:92:14 [INFO] [stdout] | [INFO] [stdout] 92 | pub(self) fn set_nth_colour_opacity(cr: &Context, n: usize, opacity: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/area_chart.rs:122:24 [INFO] [stdout] | [INFO] [stdout] 122 | draw_title(cr, _left_bound, _upper_bound, h_scale, v_scale, &chart_title); [INFO] [stdout] | ---------- ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/charts/mod.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 97 | pub(self) fn draw_title(cr: &Context, _left_bound: f64, _upper_bound: f64, h_scale: f64, v_scale: f64, chart_title: &String) { [INFO] [stdout] | ^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/area_chart.rs:125:29 [INFO] [stdout] | [INFO] [stdout] 125 | draw_x_axis_cat(cr, scalings, [INFO] [stdout] | --------------- ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/axis_drawer.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | pub(in chart_builder) fn draw_x_axis_cat(cr: &Context, scalings: (f64, f64, f64, f64 ,f64, f64), [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/area_chart.rs:129:29 [INFO] [stdout] | [INFO] [stdout] 129 | draw_y_axis_con(cr, scalings, [INFO] [stdout] | --------------- ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/axis_drawer.rs:252:26 [INFO] [stdout] | [INFO] [stdout] 252 | pub(in chart_builder) fn draw_y_axis_con(cr: &Context, scalings: (f64, f64, f64, f64 ,f64, f64), [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/area_chart.rs:135:29 [INFO] [stdout] | [INFO] [stdout] 135 | draw_legend(cr, &legend_values, screen_size, legend_size); [INFO] [stdout] | ----------- ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/charts/mod.rs:109:14 [INFO] [stdout] | [INFO] [stdout] 109 | pub(self) fn draw_legend(cr: &Context, legend_values: &Vec, screen_size: (f64, f64), legend_size: f64) { [INFO] [stdout] | ^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Inhibit` in this scope [INFO] [stdout] --> src/chart_builder/charts/area_chart.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | Inhibit(false) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_dash` found for reference `&chart_builder::gtk::cairo::Context` in the current scope [INFO] [stdout] --> src/chart_builder/charts/stacked_area_chart.rs:125:27 [INFO] [stdout] | [INFO] [stdout] 125 | assert_eq!(cr.get_dash(), (vec![3., 2., 1.], 1.)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `set_dash` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn set_dash(&self, dashes: &[f64], offset: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/stacked_area_chart.rs:127:26 [INFO] [stdout] | [INFO] [stdout] 127 | set_defaults(cr, screen_size); [INFO] [stdout] | ------------ ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/charts/mod.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 81 | pub(self) fn set_defaults(cr: &Context, screen_size: (f64, f64)) { [INFO] [stdout] | ^^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/stacked_area_chart.rs:133:29 [INFO] [stdout] | [INFO] [stdout] 133 | cr.set_line_cap(cairo::LineCap::Round); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^ expected `chart_builder::gtk::cairo::LineCap`, found `chart_builder::cairo::LineCap` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/enums.rs:157:1 [INFO] [stdout] | [INFO] [stdout] 157 | pub enum LineCap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this is the found type `chart_builder::cairo::LineCap` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/enums.rs:190:1 [INFO] [stdout] | [INFO] [stdout] 190 | pub enum LineCap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::gtk::cairo::LineCap` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:334:12 [INFO] [stdout] | [INFO] [stdout] 334 | pub fn set_line_cap(&self, arg: LineCap) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/stacked_area_chart.rs:136:32 [INFO] [stdout] | [INFO] [stdout] 136 | set_nth_colour(cr, j); [INFO] [stdout] | -------------- ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/charts/mod.rs:87:14 [INFO] [stdout] | [INFO] [stdout] 87 | pub(self) fn set_nth_colour(cr: &Context, n: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/stacked_area_chart.rs:156:24 [INFO] [stdout] | [INFO] [stdout] 156 | draw_title(cr, _left_bound, _upper_bound, h_scale, v_scale, &chart_title); [INFO] [stdout] | ---------- ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/charts/mod.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 97 | pub(self) fn draw_title(cr: &Context, _left_bound: f64, _upper_bound: f64, h_scale: f64, v_scale: f64, chart_title: &String) { [INFO] [stdout] | ^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/stacked_area_chart.rs:159:29 [INFO] [stdout] | [INFO] [stdout] 159 | draw_x_axis_cat(cr, scalings, [INFO] [stdout] | --------------- ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/axis_drawer.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | pub(in chart_builder) fn draw_x_axis_cat(cr: &Context, scalings: (f64, f64, f64, f64 ,f64, f64), [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/stacked_area_chart.rs:163:29 [INFO] [stdout] | [INFO] [stdout] 163 | draw_y_axis_con(cr, scalings, [INFO] [stdout] | --------------- ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/axis_drawer.rs:252:26 [INFO] [stdout] | [INFO] [stdout] 252 | pub(in chart_builder) fn draw_y_axis_con(cr: &Context, scalings: (f64, f64, f64, f64 ,f64, f64), [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/stacked_area_chart.rs:169:29 [INFO] [stdout] | [INFO] [stdout] 169 | draw_legend(cr, &legend_values, screen_size, legend_size); [INFO] [stdout] | ----------- ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/charts/mod.rs:109:14 [INFO] [stdout] | [INFO] [stdout] 109 | pub(self) fn draw_legend(cr: &Context, legend_values: &Vec, screen_size: (f64, f64), legend_size: f64) { [INFO] [stdout] | ^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Inhibit` in this scope [INFO] [stdout] --> src/chart_builder/charts/stacked_area_chart.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | Inhibit(false) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_dash` found for reference `&chart_builder::gtk::cairo::Context` in the current scope [INFO] [stdout] --> src/chart_builder/charts/line_chart.rs:92:27 [INFO] [stdout] | [INFO] [stdout] 92 | assert_eq!(cr.get_dash(), (vec![3., 2., 1.], 1.)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `set_dash` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn set_dash(&self, dashes: &[f64], offset: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/line_chart.rs:94:26 [INFO] [stdout] | [INFO] [stdout] 94 | set_defaults(cr, screen_size); [INFO] [stdout] | ------------ ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/charts/mod.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 81 | pub(self) fn set_defaults(cr: &Context, screen_size: (f64, f64)) { [INFO] [stdout] | ^^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/line_chart.rs:108:32 [INFO] [stdout] | [INFO] [stdout] 108 | set_nth_colour(cr, j); [INFO] [stdout] | -------------- ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/charts/mod.rs:87:14 [INFO] [stdout] | [INFO] [stdout] 87 | pub(self) fn set_nth_colour(cr: &Context, n: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/line_chart.rs:152:24 [INFO] [stdout] | [INFO] [stdout] 152 | draw_title(cr, _left_bound, _upper_bound, h_scale, v_scale, &chart_title); [INFO] [stdout] | ---------- ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/charts/mod.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 97 | pub(self) fn draw_title(cr: &Context, _left_bound: f64, _upper_bound: f64, h_scale: f64, v_scale: f64, chart_title: &String) { [INFO] [stdout] | ^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/line_chart.rs:155:29 [INFO] [stdout] | [INFO] [stdout] 155 | draw_x_axis_cat(cr, scalings, [INFO] [stdout] | --------------- ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/axis_drawer.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | pub(in chart_builder) fn draw_x_axis_cat(cr: &Context, scalings: (f64, f64, f64, f64 ,f64, f64), [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/line_chart.rs:159:29 [INFO] [stdout] | [INFO] [stdout] 159 | draw_y_axis_con(cr, scalings, [INFO] [stdout] | --------------- ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/axis_drawer.rs:252:26 [INFO] [stdout] | [INFO] [stdout] 252 | pub(in chart_builder) fn draw_y_axis_con(cr: &Context, scalings: (f64, f64, f64, f64 ,f64, f64), [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/line_chart.rs:165:29 [INFO] [stdout] | [INFO] [stdout] 165 | draw_legend(cr, &legend_values, screen_size, legend_size); [INFO] [stdout] | ----------- ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/charts/mod.rs:109:14 [INFO] [stdout] | [INFO] [stdout] 109 | pub(self) fn draw_legend(cr: &Context, legend_values: &Vec, screen_size: (f64, f64), legend_size: f64) { [INFO] [stdout] | ^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Inhibit` in this scope [INFO] [stdout] --> src/chart_builder/charts/line_chart.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | Inhibit(false) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_dash` found for reference `&chart_builder::gtk::cairo::Context` in the current scope [INFO] [stdout] --> src/chart_builder/charts/xy_scatter_plot.rs:132:27 [INFO] [stdout] | [INFO] [stdout] 132 | assert_eq!(cr.get_dash(), (vec![3., 2., 1.], 1.)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `set_dash` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn set_dash(&self, dashes: &[f64], offset: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/xy_scatter_plot.rs:134:26 [INFO] [stdout] | [INFO] [stdout] 134 | set_defaults(cr, screen_size); [INFO] [stdout] | ------------ ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/charts/mod.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 81 | pub(self) fn set_defaults(cr: &Context, screen_size: (f64, f64)) { [INFO] [stdout] | ^^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/xy_scatter_plot.rs:150:32 [INFO] [stdout] | [INFO] [stdout] 150 | set_nth_colour(cr, j); [INFO] [stdout] | -------------- ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/charts/mod.rs:87:14 [INFO] [stdout] | [INFO] [stdout] 87 | pub(self) fn set_nth_colour(cr: &Context, n: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/xy_scatter_plot.rs:211:36 [INFO] [stdout] | [INFO] [stdout] 211 | set_nth_colour(cr, i); [INFO] [stdout] | -------------- ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/charts/mod.rs:87:14 [INFO] [stdout] | [INFO] [stdout] 87 | pub(self) fn set_nth_colour(cr: &Context, n: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/xy_scatter_plot.rs:223:24 [INFO] [stdout] | [INFO] [stdout] 223 | draw_title(cr, _left_bound, _upper_bound, h_scale, v_scale, &chart_title); [INFO] [stdout] | ---------- ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/charts/mod.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 97 | pub(self) fn draw_title(cr: &Context, _left_bound: f64, _upper_bound: f64, h_scale: f64, v_scale: f64, chart_title: &String) { [INFO] [stdout] | ^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/xy_scatter_plot.rs:226:29 [INFO] [stdout] | [INFO] [stdout] 226 | draw_x_axis_con(cr, scalings, [INFO] [stdout] | --------------- ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/axis_drawer.rs:143:26 [INFO] [stdout] | [INFO] [stdout] 143 | pub(in chart_builder) fn draw_x_axis_con(cr: &Context, scalings: (f64, f64, f64, f64 ,f64, f64), [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/xy_scatter_plot.rs:229:29 [INFO] [stdout] | [INFO] [stdout] 229 | draw_y_axis_con(cr, scalings, [INFO] [stdout] | --------------- ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/axis_drawer.rs:252:26 [INFO] [stdout] | [INFO] [stdout] 252 | pub(in chart_builder) fn draw_y_axis_con(cr: &Context, scalings: (f64, f64, f64, f64 ,f64, f64), [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/xy_scatter_plot.rs:235:29 [INFO] [stdout] | [INFO] [stdout] 235 | draw_legend(cr, &legend_values, screen_size, legend_size); [INFO] [stdout] | ----------- ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/charts/mod.rs:109:14 [INFO] [stdout] | [INFO] [stdout] 109 | pub(self) fn draw_legend(cr: &Context, legend_values: &Vec, screen_size: (f64, f64), legend_size: f64) { [INFO] [stdout] | ^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Inhibit` in this scope [INFO] [stdout] --> src/chart_builder/charts/xy_scatter_plot.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | Inhibit(false) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_dash` found for reference `&chart_builder::gtk::cairo::Context` in the current scope [INFO] [stdout] --> src/chart_builder/charts/bubble_chart.rs:101:27 [INFO] [stdout] | [INFO] [stdout] 101 | assert_eq!(cr.get_dash(), (vec![3., 2., 1.], 1.)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `set_dash` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn set_dash(&self, dashes: &[f64], offset: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/bubble_chart.rs:103:26 [INFO] [stdout] | [INFO] [stdout] 103 | set_defaults(cr, screen_size); [INFO] [stdout] | ------------ ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/charts/mod.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 81 | pub(self) fn set_defaults(cr: &Context, screen_size: (f64, f64)) { [INFO] [stdout] | ^^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/bubble_chart.rs:120:40 [INFO] [stdout] | [INFO] [stdout] 120 | set_nth_colour_opacity(cr, j, 0.7); [INFO] [stdout] | ---------------------- ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/charts/mod.rs:92:14 [INFO] [stdout] | [INFO] [stdout] 92 | pub(self) fn set_nth_colour_opacity(cr: &Context, n: usize, opacity: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/bubble_chart.rs:147:24 [INFO] [stdout] | [INFO] [stdout] 147 | draw_title(cr, _left_bound, _upper_bound, h_scale, v_scale, &chart_title); [INFO] [stdout] | ---------- ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/charts/mod.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 97 | pub(self) fn draw_title(cr: &Context, _left_bound: f64, _upper_bound: f64, h_scale: f64, v_scale: f64, chart_title: &String) { [INFO] [stdout] | ^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/bubble_chart.rs:150:29 [INFO] [stdout] | [INFO] [stdout] 150 | draw_x_axis_con(cr, scalings, [INFO] [stdout] | --------------- ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/axis_drawer.rs:143:26 [INFO] [stdout] | [INFO] [stdout] 143 | pub(in chart_builder) fn draw_x_axis_con(cr: &Context, scalings: (f64, f64, f64, f64 ,f64, f64), [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/bubble_chart.rs:153:29 [INFO] [stdout] | [INFO] [stdout] 153 | draw_y_axis_con(cr, scalings, [INFO] [stdout] | --------------- ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/axis_drawer.rs:252:26 [INFO] [stdout] | [INFO] [stdout] 252 | pub(in chart_builder) fn draw_y_axis_con(cr: &Context, scalings: (f64, f64, f64, f64 ,f64, f64), [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chart_builder/charts/bubble_chart.rs:159:29 [INFO] [stdout] | [INFO] [stdout] 159 | draw_legend(cr, &legend_values, screen_size, legend_size); [INFO] [stdout] | ----------- ^^ expected `chart_builder::cairo::Context`, found `chart_builder::gtk::cairo::Context` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `cairo` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected type `chart_builder::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.18.5/src/context.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Context(ptr::NonNull); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the found type `chart_builder::gtk::cairo::Context` [INFO] [stdout] | [INFO] [stdout] ::: src/chart_builder/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern crate cairo; [INFO] [stdout] | ------------------- one version of crate `cairo` used here, as a direct dependency of the current crate [INFO] [stdout] 46 | extern crate gio; [INFO] [stdout] 47 | extern crate gtk; [INFO] [stdout] | ----------------- one version of crate `cairo` used here, as a dependency of crate `gtk` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/chart_builder/charts/mod.rs:109:14 [INFO] [stdout] | [INFO] [stdout] 109 | pub(self) fn draw_legend(cr: &Context, legend_values: &Vec, screen_size: (f64, f64), legend_size: f64) { [INFO] [stdout] | ^^^^^^^^^^^ ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Inhibit` in this scope [INFO] [stdout] --> src/chart_builder/charts/bubble_chart.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | Inhibit(false) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_font_matrix` found for reference `&chart_builder::cairo::Context` in the current scope [INFO] [stdout] --> src/chart_builder/charts/mod.rs:100:30 [INFO] [stdout] | [INFO] [stdout] 100 | let mut font_matrix = cr.get_font_matrix(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `set_font_matrix` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:665:5 [INFO] [stdout] | [INFO] [stdout] 665 | pub fn set_font_matrix(&self, matrix: Matrix) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `height` on type `Result` [INFO] [stdout] --> src/chart_builder/charts/mod.rs:104:50 [INFO] [stdout] | [INFO] [stdout] 104 | let text_height = cr.text_extents(chart_str).height; [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_font_matrix` found for reference `&chart_builder::cairo::Context` in the current scope [INFO] [stdout] --> src/chart_builder/charts/mod.rs:124:30 [INFO] [stdout] | [INFO] [stdout] 124 | let mut font_matrix = cr.get_font_matrix(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `set_font_matrix` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cairo-rs-0.21.2/src/context.rs:665:5 [INFO] [stdout] | [INFO] [stdout] 665 | pub fn set_font_matrix(&self, matrix: Matrix) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `height` on type `Result` [INFO] [stdout] --> src/chart_builder/charts/mod.rs:128:73 [INFO] [stdout] | [INFO] [stdout] 128 | let max_text_height = cr.text_extents("ABCDEFGHIJKLMNOPQRSTUVWXYZ").height; [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `height` on type `Result` [INFO] [stdout] --> src/chart_builder/charts/mod.rs:133:55 [INFO] [stdout] | [INFO] [stdout] 133 | let text_height = cr.text_extents(legend_str).height; [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0432, E0599, E0603, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustplot` (lib) due to 122 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "18b2a2215b942b068977d1c80503879118d221eeef7454fa63a11d8bdcae7d80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18b2a2215b942b068977d1c80503879118d221eeef7454fa63a11d8bdcae7d80", kill_on_drop: false }` [INFO] [stdout] 18b2a2215b942b068977d1c80503879118d221eeef7454fa63a11d8bdcae7d80