[INFO] fetching crate chart-js-rs 0.1.4... [INFO] testing chart-js-rs-0.1.4 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate chart-js-rs 0.1.4 into /workspace/builds/worker-6-tc1/source [INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config.toml [INFO] started tweaking crates.io crate chart-js-rs 0.1.4 [INFO] finished tweaking crates.io crate chart-js-rs 0.1.4 [INFO] tweaked toml for crates.io crate chart-js-rs 0.1.4 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate chart-js-rs 0.1.4 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate chart-js-rs 0.1.4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gloo-utils v0.2.0 [INFO] [stderr] Downloaded gloo-console v0.3.0 [INFO] [stderr] Downloaded rust_decimal v1.38.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ce436d10c254e19caae53d89007fffa72c4080b84495d6d1d3c591a1e8c2d328 [INFO] running `Command { std: "docker" "start" "-a" "ce436d10c254e19caae53d89007fffa72c4080b84495d6d1d3c591a1e8c2d328", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ce436d10c254e19caae53d89007fffa72c4080b84495d6d1d3c591a1e8c2d328", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce436d10c254e19caae53d89007fffa72c4080b84495d6d1d3c591a1e8c2d328", kill_on_drop: false }` [INFO] [stdout] ce436d10c254e19caae53d89007fffa72c4080b84495d6d1d3c591a1e8c2d328 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36d2863b386f1c1c2bd8ea65f028c9f47fc01d774ffd20e9433b2b9cc928e084 [INFO] running `Command { std: "docker" "start" "-a" "36d2863b386f1c1c2bd8ea65f028c9f47fc01d774ffd20e9433b2b9cc928e084", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.104 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling wasm-bindgen v0.2.104 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling rust_decimal v1.38.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling chart-js-rs v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.104 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.104 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling js-sys v0.3.81 [INFO] [stderr] Compiling web-sys v0.3.81 [INFO] [stderr] Compiling serde-wasm-bindgen v0.6.5 [INFO] [stderr] Compiling gloo-utils v0.2.0 [INFO] [stderr] Compiling gloo-console v0.3.0 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.66s [INFO] running `Command { std: "docker" "inspect" "36d2863b386f1c1c2bd8ea65f028c9f47fc01d774ffd20e9433b2b9cc928e084", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36d2863b386f1c1c2bd8ea65f028c9f47fc01d774ffd20e9433b2b9cc928e084", kill_on_drop: false }` [INFO] [stdout] 36d2863b386f1c1c2bd8ea65f028c9f47fc01d774ffd20e9433b2b9cc928e084 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e5de2ad7a9fab2779c76ae0a1a5ded08653b8781d200d5548450fe69622acedb [INFO] running `Command { std: "docker" "start" "-a" "e5de2ad7a9fab2779c76ae0a1a5ded08653b8781d200d5548450fe69622acedb", kill_on_drop: false }` [INFO] [stderr] Compiling chart-js-rs v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.11s [INFO] running `Command { std: "docker" "inspect" "e5de2ad7a9fab2779c76ae0a1a5ded08653b8781d200d5548450fe69622acedb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5de2ad7a9fab2779c76ae0a1a5ded08653b8781d200d5548450fe69622acedb", kill_on_drop: false }` [INFO] [stdout] e5de2ad7a9fab2779c76ae0a1a5ded08653b8781d200d5548450fe69622acedb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] acc13d8d8ae8f647fd1aee1947c031326840979c6d9931f2bb59bf5a9b33d276 [INFO] running `Command { std: "docker" "start" "-a" "acc13d8d8ae8f647fd1aee1947c031326840979c6d9931f2bb59bf5a9b33d276", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/chart_js_rs-2602e66b4d95ba59) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests chart_js_rs [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/coordinate.rs - coordinate::ChartJsPoint::parse_array (line 275) - compile ... FAILED [INFO] [stdout] test src/coordinate.rs - coordinate::ChartJsPoint::parse (line 222) - compile ... FAILED [INFO] [stdout] test src/coordinate.rs - coordinate::Coordinate::from_js_value (line 126) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 104) ... FAILED [INFO] [stdout] test src/coordinate.rs - coordinate::ChartJsPoint::parse (line 203) - compile ... FAILED [INFO] [stdout] test src/coordinate.rs - coordinate::ChartJsPoint::parse_array (line 256) - compile ... FAILED [INFO] [stdout] test src/coordinate.rs - coordinate::Coordinate::from_js_value (line 111) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 25) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/coordinate.rs - coordinate::ChartJsPoint::parse_array (line 275) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChartOptions` [INFO] [stdout] --> src/coordinate.rs:276:1 [INFO] [stdout] | [INFO] [stdout] 276 | ChartOptions::new() [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ChartOptions` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 275 + use chart_js_rs::ChartOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChartPlugins` [INFO] [stdout] --> src/coordinate.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 278 | ChartPlugins::new() [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ChartPlugins` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 275 + use chart_js_rs::ChartPlugins; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TooltipPlugin` [INFO] [stdout] --> src/coordinate.rs:280:13 [INFO] [stdout] | [INFO] [stdout] 280 | TooltipPlugin::new().callbacks( [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `TooltipPlugin` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 275 + use chart_js_rs::TooltipPlugin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TooltipCallbacks` [INFO] [stdout] --> src/coordinate.rs:281:17 [INFO] [stdout] | [INFO] [stdout] 281 | TooltipCallbacks::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `TooltipCallbacks` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 275 + use chart_js_rs::TooltipCallbacks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FnWithArgs` [INFO] [stdout] --> src/coordinate.rs:283:25 [INFO] [stdout] | [INFO] [stdout] 283 | FnWithArgs::<1>::new() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `FnWithArgs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 275 + use chart_js_rs::FnWithArgs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tooltip_date_title_callback` in this scope [INFO] [stdout] --> src/coordinate.rs:284:42 [INFO] [stdout] | [INFO] [stdout] 284 | ... .run_rust_fn(tooltip_date_title_callback), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/coordinate.rs - coordinate::ChartJsPoint::parse (line 222) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChartOptions` [INFO] [stdout] --> src/coordinate.rs:223:1 [INFO] [stdout] | [INFO] [stdout] 223 | ChartOptions::new() [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ChartOptions` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 222 + use chart_js_rs::ChartOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChartPlugins` [INFO] [stdout] --> src/coordinate.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | ChartPlugins::new() [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ChartPlugins` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 222 + use chart_js_rs::ChartPlugins; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TooltipPlugin` [INFO] [stdout] --> src/coordinate.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | TooltipPlugin::new().callbacks( [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `TooltipPlugin` [INFO] [stdout] | [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 222 + use chart_js_rs::TooltipPlugin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TooltipCallbacks` [INFO] [stdout] --> src/coordinate.rs:228:17 [INFO] [stdout] | [INFO] [stdout] 228 | TooltipCallbacks::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `TooltipCallbacks` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 222 + use chart_js_rs::TooltipCallbacks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FnWithArgs` [INFO] [stdout] --> src/coordinate.rs:230:25 [INFO] [stdout] | [INFO] [stdout] 230 | FnWithArgs::<1>::new() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `FnWithArgs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 222 + use chart_js_rs::FnWithArgs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tooltip_value_callback` in this scope [INFO] [stdout] --> src/coordinate.rs:231:42 [INFO] [stdout] | [INFO] [stdout] 231 | ... .run_rust_fn(tooltip_value_callback), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/coordinate.rs - coordinate::Coordinate::from_js_value (line 126) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `(` [INFO] [stdout] --> src/coordinate.rs:127:16 [INFO] [stdout] | [INFO] [stdout] 127 | DataLabels::new() [INFO] [stdout] | ^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 104) stdout ---- [INFO] [stdout] error: struct literal body without path [INFO] [stdout] --> src/lib.rs:113:11 [INFO] [stdout] | [INFO] [stdout] 113 | data: { [INFO] [stdout] | ___________^ [INFO] [stdout] 114 | | datasets: vec![ [INFO] [stdout] 115 | | Dataset { [INFO] [stdout] ... | [INFO] [stdout] 124 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] help: you might have forgotten to add the struct literal inside the block [INFO] [stdout] | [INFO] [stdout] 113 ~ data: { SomeStruct { [INFO] [stdout] 114 | datasets: vec![ [INFO] [stdout] ... [INFO] [stdout] 123 | ] [INFO] [stdout] 124 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> src/lib.rs:105:3 [INFO] [stdout] | [INFO] [stdout] 105 | #[wasm_bindgen] // your function must be a wasm_bindgen export [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `wasm_bindgen` is in scope, but it is a crate, not an attribute [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 104 + use wasm_bindgen::prelude::wasm_bindgen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Scatter` in this scope [INFO] [stdout] --> src/lib.rs:112:3 [INFO] [stdout] | [INFO] [stdout] 112 | Scatter:: { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 104 + use chart_js_rs::scatter::Scatter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/coordinate.rs - coordinate::ChartJsPoint::parse (line 203) stdout ---- [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> src/coordinate.rs:204:3 [INFO] [stdout] | [INFO] [stdout] 204 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `wasm_bindgen` is in scope, but it is a crate, not an attribute [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 203 + use wasm_bindgen::prelude::wasm_bindgen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `console_dbg` in this scope [INFO] [stdout] --> src/coordinate.rs:213:12 [INFO] [stdout] | [INFO] [stdout] 213 | console_dbg!("Error parsing", e); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 203 + use gloo_console::console_dbg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsValue` in this scope [INFO] [stdout] --> src/coordinate.rs:205:40 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn tooltip_value_callback(context: JsValue) -> JsValue { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 203 + use wasm_bindgen::JsValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsValue` in this scope [INFO] [stdout] --> src/coordinate.rs:205:52 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn tooltip_value_callback(context: JsValue) -> JsValue { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 203 + use wasm_bindgen::JsValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChartJsPoint` [INFO] [stdout] --> src/coordinate.rs:206:10 [INFO] [stdout] | [INFO] [stdout] 206 | match ChartJsPoint::::parse(context) { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ChartJsPoint` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 203 + use chart_js_rs::coordinate::ChartJsPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NaiveDate` in this scope [INFO] [stdout] --> src/coordinate.rs:206:25 [INFO] [stdout] | [INFO] [stdout] 206 | match ChartJsPoint::::parse(context) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 205 | pub fn tooltip_value_callback(context: JsValue) -> JsValue { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Dollars` in this scope [INFO] [stdout] --> src/coordinate.rs:206:36 [INFO] [stdout] | [INFO] [stdout] 206 | match ChartJsPoint::::parse(context) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 205 | pub fn tooltip_value_callback(context: JsValue) -> JsValue { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsValue` [INFO] [stdout] --> src/coordinate.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 210 | JsValue::from_str(&format!("{label}: {y}")) [INFO] [stdout] | ^^^^^^^ use of undeclared type `JsValue` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 203 + use wasm_bindgen::JsValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsValue` [INFO] [stdout] --> src/coordinate.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 214 | JsValue::from_str("") [INFO] [stdout] | ^^^^^^^ use of undeclared type `JsValue` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 203 + use wasm_bindgen::JsValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/coordinate.rs - coordinate::ChartJsPoint::parse_array (line 256) stdout ---- [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> src/coordinate.rs:257:3 [INFO] [stdout] | [INFO] [stdout] 257 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `wasm_bindgen` is in scope, but it is a crate, not an attribute [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 256 + use wasm_bindgen::prelude::wasm_bindgen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `console_dbg` in this scope [INFO] [stdout] --> src/coordinate.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | console_dbg!("Empty array"); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 256 + use gloo_console::console_dbg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `console_dbg` in this scope [INFO] [stdout] --> src/coordinate.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | console_dbg!("Error parsing", e); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 256 + use gloo_console::console_dbg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsValue` in this scope [INFO] [stdout] --> src/coordinate.rs:258:45 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn tooltip_date_title_callback(context: JsValue) -> JsValue { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 256 + use wasm_bindgen::JsValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsValue` in this scope [INFO] [stdout] --> src/coordinate.rs:258:57 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn tooltip_date_title_callback(context: JsValue) -> JsValue { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 256 + use wasm_bindgen::JsValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChartJsPoint` [INFO] [stdout] --> src/coordinate.rs:259:11 [INFO] [stdout] | [INFO] [stdout] 259 | match ChartJsPoint::::parse_array(context) { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ChartJsPoint` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 256 + use chart_js_rs::coordinate::ChartJsPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NaiveDate` in this scope [INFO] [stdout] --> src/coordinate.rs:259:26 [INFO] [stdout] | [INFO] [stdout] 259 | match ChartJsPoint::::parse_array(context) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 258 | pub fn tooltip_date_title_callback(context: JsValue) -> JsValue { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Dollars` in this scope [INFO] [stdout] --> src/coordinate.rs:259:37 [INFO] [stdout] | [INFO] [stdout] 259 | match ChartJsPoint::::parse_array(context) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 258 | pub fn tooltip_date_title_callback(context: JsValue) -> JsValue { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsValue` [INFO] [stdout] --> src/coordinate.rs:260:41 [INFO] [stdout] | [INFO] [stdout] 260 | Ok(vals) if !vals.is_empty() => JsValue::from_str(vals[0].label.split(",").next().unwrap_or_default()), [INFO] [stdout] | ^^^^^^^ use of undeclared type `JsValue` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 256 + use wasm_bindgen::JsValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsValue` [INFO] [stdout] --> src/coordinate.rs:263:13 [INFO] [stdout] | [INFO] [stdout] 263 | JsValue::from_str("") [INFO] [stdout] | ^^^^^^^ use of undeclared type `JsValue` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 256 + use wasm_bindgen::JsValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsValue` [INFO] [stdout] --> src/coordinate.rs:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | JsValue::from_str("") [INFO] [stdout] | ^^^^^^^ use of undeclared type `JsValue` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 256 + use wasm_bindgen::JsValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/coordinate.rs:260:22 [INFO] [stdout] | [INFO] [stdout] 260 | Ok(vals) if !vals.is_empty() => JsValue::from_str(vals[0].label.split(",").next().unwrap_or_default()), [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/coordinate.rs - coordinate::Coordinate::from_js_value (line 111) stdout ---- [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> src/coordinate.rs:112:3 [INFO] [stdout] | [INFO] [stdout] 112 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `wasm_bindgen` is in scope, but it is a crate, not an attribute [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 111 + use wasm_bindgen::prelude::wasm_bindgen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `console_dbg` in this scope [INFO] [stdout] --> src/coordinate.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | console_dbg!("Error converting to serde", e); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 111 + use gloo_console::console_dbg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsValue` in this scope [INFO] [stdout] --> src/coordinate.rs:113:38 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn chart_data_label_formatter(a: JsValue, _: JsValue) -> JsValue { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 111 + use wasm_bindgen::JsValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsValue` in this scope [INFO] [stdout] --> src/coordinate.rs:113:50 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn chart_data_label_formatter(a: JsValue, _: JsValue) -> JsValue { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 111 + use wasm_bindgen::JsValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsValue` in this scope [INFO] [stdout] --> src/coordinate.rs:113:62 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn chart_data_label_formatter(a: JsValue, _: JsValue) -> JsValue { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 111 + use wasm_bindgen::JsValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Coordinate` [INFO] [stdout] --> src/coordinate.rs:114:11 [INFO] [stdout] | [INFO] [stdout] 114 | match Coordinate::::from_js_value(a) { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Coordinate` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 111 + use chart_js_rs::coordinate::Coordinate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NaiveDate` in this scope [INFO] [stdout] --> src/coordinate.rs:114:24 [INFO] [stdout] | [INFO] [stdout] 114 | match Coordinate::::from_js_value(a) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 113 | pub fn chart_data_label_formatter(a: JsValue, _: JsValue) -> JsValue { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Dollars` in this scope [INFO] [stdout] --> src/coordinate.rs:114:35 [INFO] [stdout] | [INFO] [stdout] 114 | match Coordinate::::from_js_value(a) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 113 | pub fn chart_data_label_formatter(a: JsValue, _: JsValue) -> JsValue { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsValue` [INFO] [stdout] --> src/coordinate.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | Ok(val) => JsValue::from_str(&val.y.format().to_string()), [INFO] [stdout] | ^^^^^^^ use of undeclared type `JsValue` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 111 + use wasm_bindgen::JsValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsValue` [INFO] [stdout] --> src/coordinate.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | JsValue::from_str("") [INFO] [stdout] | ^^^^^^^ use of undeclared type `JsValue` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 111 + use wasm_bindgen::JsValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 25) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ChartOptions` in this scope [INFO] [stdout] --> src/lib.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | options: ChartOptions { .. }, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 24 + use chart_js_rs::ChartOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Dataset` in this scope [INFO] [stdout] --> src/lib.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | data: Dataset { .. }, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 24 + use chart_js_rs::Dataset; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/coordinate.rs - coordinate::ChartJsPoint::parse (line 203) [INFO] [stdout] src/coordinate.rs - coordinate::ChartJsPoint::parse (line 222) [INFO] [stdout] src/coordinate.rs - coordinate::ChartJsPoint::parse_array (line 256) [INFO] [stdout] src/coordinate.rs - coordinate::ChartJsPoint::parse_array (line 275) [INFO] [stdout] src/coordinate.rs - coordinate::Coordinate::from_js_value (line 111) [INFO] [stdout] src/coordinate.rs - coordinate::Coordinate::from_js_value (line 126) [INFO] [stdout] src/lib.rs - (line 104) [INFO] [stdout] src/lib.rs - (line 25) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.37s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "acc13d8d8ae8f647fd1aee1947c031326840979c6d9931f2bb59bf5a9b33d276", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acc13d8d8ae8f647fd1aee1947c031326840979c6d9931f2bb59bf5a9b33d276", kill_on_drop: false }` [INFO] [stdout] acc13d8d8ae8f647fd1aee1947c031326840979c6d9931f2bb59bf5a9b33d276