[INFO] fetching crate chart-js-rs 0.1.4...
[INFO] testing chart-js-rs-0.1.4 against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759
[INFO] extracting crate chart-js-rs 0.1.4 into /workspace/builds/worker-5-tc2/source
[INFO] removed /workspace/builds/worker-5-tc2/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-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate chart-js-rs 0.1.4 on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2efe972c6ead1db5c96a489664dd41727586f54dda32320654fa11b9568d0cda
[INFO] running `Command { std: "docker" "start" "-a" "2efe972c6ead1db5c96a489664dd41727586f54dda32320654fa11b9568d0cda", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2efe972c6ead1db5c96a489664dd41727586f54dda32320654fa11b9568d0cda", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2efe972c6ead1db5c96a489664dd41727586f54dda32320654fa11b9568d0cda", kill_on_drop: false }`
[INFO] [stdout] 2efe972c6ead1db5c96a489664dd41727586f54dda32320654fa11b9568d0cda
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0779065ce5c06e7f838515660732c9cd7e96592b8fc21123649b225c8a525713
[INFO] running `Command { std: "docker" "start" "-a" "0779065ce5c06e7f838515660732c9cd7e96592b8fc21123649b225c8a525713", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.104
[INFO] [stderr]    Compiling bumpalo v3.19.0
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling rust_decimal v1.38.0
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling wasm-bindgen v0.2.104
[INFO] [stderr]    Compiling uuid v1.18.1
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.104
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.104
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling chart-js-rs v0.1.4 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.104
[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 1m 10s
[INFO] running `Command { std: "docker" "inspect" "0779065ce5c06e7f838515660732c9cd7e96592b8fc21123649b225c8a525713", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0779065ce5c06e7f838515660732c9cd7e96592b8fc21123649b225c8a525713", kill_on_drop: false }`
[INFO] [stdout] 0779065ce5c06e7f838515660732c9cd7e96592b8fc21123649b225c8a525713
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 56b99ed8a5cb9b56d593b47e9a9b79c0553dbf12c13f1d467c20d666160ca222
[INFO] running `Command { std: "docker" "start" "-a" "56b99ed8a5cb9b56d593b47e9a9b79c0553dbf12c13f1d467c20d666160ca222", 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.23s
[INFO] running `Command { std: "docker" "inspect" "56b99ed8a5cb9b56d593b47e9a9b79c0553dbf12c13f1d467c20d666160ca222", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "56b99ed8a5cb9b56d593b47e9a9b79c0553dbf12c13f1d467c20d666160ca222", kill_on_drop: false }`
[INFO] [stdout] 56b99ed8a5cb9b56d593b47e9a9b79c0553dbf12c13f1d467c20d666160ca222
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 1d890b4ab56779fb23fe5d9889755c1b715314e271d0ee46c74637670972ef7b
[INFO] running `Command { std: "docker" "start" "-a" "1d890b4ab56779fb23fe5d9889755c1b715314e271d0ee46c74637670972ef7b", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/chart_js_rs-1f8211ad8c5ac547)
[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::Coordinate<T,U>::from_js_value (line 111) - compile ... FAILED
[INFO] [stdout] test src/coordinate.rs - coordinate::Coordinate<T,U>::from_js_value (line 126) - compile ... FAILED
[INFO] [stdout] test src/coordinate.rs - coordinate::ChartJsPoint<T,U>::parse (line 222) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 104) ... FAILED
[INFO] [stdout] test src/coordinate.rs - coordinate::ChartJsPoint<T,U>::parse (line 203) - compile ... FAILED
[INFO] [stdout] test src/coordinate.rs - coordinate::ChartJsPoint<T,U>::parse_array (line 275) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 25) ... FAILED
[INFO] [stdout] test src/coordinate.rs - coordinate::ChartJsPoint<T,U>::parse_array (line 256) - compile ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/coordinate.rs - coordinate::Coordinate<T,U>::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] 3 | #[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] 2 + 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] 8 |             console_dbg!("Error converting to serde", e);
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 4 | 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] 2 + 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] 4 | 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] 2 + 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] 4 | 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] 2 + 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] 5 |     match Coordinate::<NaiveDate, Dollars>::from_js_value(a) {
[INFO] [stdout]   |           ^^^^^^^^^^ use of undeclared type `Coordinate`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 5 |     match Coordinate::<NaiveDate, Dollars>::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] 4 | pub fn chart_data_label_formatter<NaiveDate>(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] 5 |     match Coordinate::<NaiveDate, Dollars>::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] 4 | pub fn chart_data_label_formatter<Dollars>(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] 6 |         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] 2 + 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] 9 |             JsValue::from_str("")
[INFO] [stdout]   |             ^^^^^^^ use of undeclared type `JsValue`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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/coordinate.rs - coordinate::Coordinate<T,U>::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] 1 | 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/coordinate.rs - coordinate::ChartJsPoint<T,U>::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] 3 | ChartOptions::new()
[INFO] [stdout]   | ^^^^^^^^^^^^ use of undeclared type `ChartOptions`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 5 |     ChartPlugins::new()
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of undeclared type `ChartPlugins`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 7 |             TooltipPlugin::new().callbacks(
[INFO] [stdout]   |             ^^^^^^^^^^^^^ use of undeclared type `TooltipPlugin`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 8 |                 TooltipCallbacks::new()
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^^^ use of undeclared type `TooltipCallbacks`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 10 |                         FnWithArgs::<1>::new()
[INFO] [stdout]    |                         ^^^^^^^^^^ use of undeclared type `FnWithArgs`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + 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] 11 | ...                   .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/lib.rs - (line 104) stdout ----
[INFO] [stdout] error: struct literal body without path
[INFO] [stdout]   --> src/lib.rs:113:11
[INFO] [stdout]    |
[INFO] [stdout] 11 |       data: {
[INFO] [stdout]    |  ___________^
[INFO] [stdout] 12 | |       datasets: vec![
[INFO] [stdout] 13 | |         Dataset {
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have forgotten to add the struct literal inside the block
[INFO] [stdout]    |
[INFO] [stdout] 11 ~     data: { SomeStruct {
[INFO] [stdout] 12 |       datasets: vec![
[INFO] [stdout] ...
[INFO] [stdout] 21 |       ]
[INFO] [stdout] 22 ~     } }
[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] 3 | #[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] 2 + 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] 10 |   Scatter::</*...*/> {
[INFO] [stdout]    |   ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + 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<T,U>::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] 3 | #[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] 2 + 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] 12 |            console_dbg!("Error parsing", e);
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout] 2  + 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] 4 | 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] 2 + 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] 4 | 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] 2 + 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] 5 |    match ChartJsPoint::<NaiveDate, Dollars>::parse(context) {
[INFO] [stdout]   |          ^^^^^^^^^^^^ use of undeclared type `ChartJsPoint`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 5 |    match ChartJsPoint::<NaiveDate, Dollars>::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] 4 | pub fn tooltip_value_callback<NaiveDate>(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] 5 |    match ChartJsPoint::<NaiveDate, Dollars>::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] 4 | pub fn tooltip_value_callback<Dollars>(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] 9 |            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] 2 + 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] 13 |            JsValue::from_str("")
[INFO] [stdout]    |            ^^^^^^^ use of undeclared type `JsValue`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + 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<T,U>::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] 3 | ChartOptions::new()
[INFO] [stdout]   | ^^^^^^^^^^^^ use of undeclared type `ChartOptions`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 5 |     ChartPlugins::new()
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of undeclared type `ChartPlugins`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 7 |             TooltipPlugin::new().callbacks(
[INFO] [stdout]   |             ^^^^^^^^^^^^^ use of undeclared type `TooltipPlugin`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 8 |                 TooltipCallbacks::new()
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^^^ use of undeclared type `TooltipCallbacks`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 10 |                         FnWithArgs::<1>::new()
[INFO] [stdout]    |                         ^^^^^^^^^^ use of undeclared type `FnWithArgs`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + 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] 11 | ...                   .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/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] 10 |         options: ChartOptions { .. },
[INFO] [stdout]    |                  ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + 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] 11 |         data: Dataset { .. },
[INFO] [stdout]    |               ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + 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] ---- src/coordinate.rs - coordinate::ChartJsPoint<T,U>::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] 3 | #[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] 2 + 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] 8 |             console_dbg!("Empty array");
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 12 |             console_dbg!("Error parsing", e);
[INFO] [stdout]    |             ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout] 2  + 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] 4 | 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] 2 + 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] 4 | 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] 2 + 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] 5 |     match ChartJsPoint::<NaiveDate, Dollars>::parse_array(context) {
[INFO] [stdout]   |           ^^^^^^^^^^^^ use of undeclared type `ChartJsPoint`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 5 |     match ChartJsPoint::<NaiveDate, Dollars>::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] 4 | pub fn tooltip_date_title_callback<NaiveDate>(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] 5 |     match ChartJsPoint::<NaiveDate, Dollars>::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] 4 | pub fn tooltip_date_title_callback<Dollars>(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] 6 |         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] 2 + 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] 9 |             JsValue::from_str("")
[INFO] [stdout]   |             ^^^^^^^ use of undeclared type `JsValue`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 13 |             JsValue::from_str("")
[INFO] [stdout]    |             ^^^^^^^ use of undeclared type `JsValue`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use wasm_bindgen::JsValue;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 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] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/coordinate.rs - coordinate::ChartJsPoint<T,U>::parse (line 203)
[INFO] [stdout]     src/coordinate.rs - coordinate::ChartJsPoint<T,U>::parse (line 222)
[INFO] [stdout]     src/coordinate.rs - coordinate::ChartJsPoint<T,U>::parse_array (line 256)
[INFO] [stdout]     src/coordinate.rs - coordinate::ChartJsPoint<T,U>::parse_array (line 275)
[INFO] [stdout]     src/coordinate.rs - coordinate::Coordinate<T,U>::from_js_value (line 111)
[INFO] [stdout]     src/coordinate.rs - coordinate::Coordinate<T,U>::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.44s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "1d890b4ab56779fb23fe5d9889755c1b715314e271d0ee46c74637670972ef7b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1d890b4ab56779fb23fe5d9889755c1b715314e271d0ee46c74637670972ef7b", kill_on_drop: false }`
[INFO] [stdout] 1d890b4ab56779fb23fe5d9889755c1b715314e271d0ee46c74637670972ef7b
