[INFO] fetching crate diogen 0.5.2... [INFO] testing diogen-0.5.2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate diogen 0.5.2 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate diogen 0.5.2 [INFO] finished tweaking crates.io crate diogen 0.5.2 [INFO] tweaked toml for crates.io crate diogen 0.5.2 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate diogen 0.5.2 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate diogen 0.5.2 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37bdb90c96e79a485182eb14e1b3f87268d409b905aaab1e3b6e7ab59429c666 [INFO] running `Command { std: "docker" "start" "-a" "37bdb90c96e79a485182eb14e1b3f87268d409b905aaab1e3b6e7ab59429c666", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37bdb90c96e79a485182eb14e1b3f87268d409b905aaab1e3b6e7ab59429c666", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37bdb90c96e79a485182eb14e1b3f87268d409b905aaab1e3b6e7ab59429c666", kill_on_drop: false }` [INFO] [stdout] 37bdb90c96e79a485182eb14e1b3f87268d409b905aaab1e3b6e7ab59429c666 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3a1c2638cd86a437055431d769317bc8888297d9ef84cec143b089f0c5fba15 [INFO] running `Command { std: "docker" "start" "-a" "f3a1c2638cd86a437055431d769317bc8888297d9ef84cec143b089f0c5fba15", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.97 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling dioxus-core-types v0.6.2 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling longest-increasing-subsequence v0.1.0 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling dioxus-cli-config v0.6.3 [INFO] [stderr] Compiling lazy-js-bundle v0.6.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling euclid v0.22.11 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling thiserror v2.0.14 [INFO] [stderr] Compiling modwire v0.1.0 [INFO] [stderr] Compiling strum v0.27.2 [INFO] [stderr] Compiling keyboard-types v0.7.0 [INFO] [stderr] Compiling dioxus-document v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling dioxus-config-macro v0.6.2 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling dioxus-rsx v0.6.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling warnings-macro v0.2.0 [INFO] [stderr] Compiling const-serialize-macro v0.6.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling dioxus-html-internal-macro v0.6.2 [INFO] [stderr] Compiling thiserror-impl v2.0.14 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling dioxus-core-macro v0.6.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tungstenite v0.23.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling warnings v0.2.1 [INFO] [stderr] Compiling generational-box v0.6.2 [INFO] [stderr] Compiling dioxus-logger v0.6.2 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling enumset_derive v0.12.0 [INFO] [stderr] Compiling js-sys v0.3.77 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling enumset v1.1.7 [INFO] [stderr] Compiling const-serialize v0.6.2 [INFO] [stderr] Compiling manganis-core v0.6.2 [INFO] [stderr] Compiling web-sys v0.3.77 [INFO] [stderr] Compiling serde-wasm-bindgen v0.6.5 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.50 [INFO] [stderr] Compiling manganis-macro v0.6.2 [INFO] [stderr] Compiling dioxus-core v0.6.3 [INFO] [stderr] Compiling manganis v0.6.2 [INFO] [stderr] Compiling dioxus-signals v0.6.3 [INFO] [stderr] Compiling dioxus-devtools-types v0.6.2 [INFO] [stderr] Compiling dioxus-history v0.6.2 [INFO] [stderr] Compiling dioxus-hooks v0.6.2 [INFO] [stderr] Compiling dioxus-devtools v0.6.2 [INFO] [stderr] Compiling dioxus-html v0.6.3 [INFO] [stderr] Compiling dioxus v0.6.3 [INFO] [stderr] Compiling diogen v0.5.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.89s [INFO] running `Command { std: "docker" "inspect" "f3a1c2638cd86a437055431d769317bc8888297d9ef84cec143b089f0c5fba15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3a1c2638cd86a437055431d769317bc8888297d9ef84cec143b089f0c5fba15", kill_on_drop: false }` [INFO] [stdout] f3a1c2638cd86a437055431d769317bc8888297d9ef84cec143b089f0c5fba15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95ad9eba653ced6b476e731e00daff098ed04bab7fd26bc6213a561dfd5fa597 [INFO] running `Command { std: "docker" "start" "-a" "95ad9eba653ced6b476e731e00daff098ed04bab7fd26bc6213a561dfd5fa597", kill_on_drop: false }` [INFO] [stderr] Compiling diogen v0.5.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.08s [INFO] running `Command { std: "docker" "inspect" "95ad9eba653ced6b476e731e00daff098ed04bab7fd26bc6213a561dfd5fa597", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95ad9eba653ced6b476e731e00daff098ed04bab7fd26bc6213a561dfd5fa597", kill_on_drop: false }` [INFO] [stdout] 95ad9eba653ced6b476e731e00daff098ed04bab7fd26bc6213a561dfd5fa597 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 461e2ebae5ac0074533d5569021eaa09c6a9ddcc89216e24713b04bb11e0f0bf [INFO] running `Command { std: "docker" "start" "-a" "461e2ebae5ac0074533d5569021eaa09c6a9ddcc89216e24713b04bb11e0f0bf", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/diogen-2fb46559edf1af75) [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 diogen [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test src/binding.rs - binding::function (line 242) ... FAILED [INFO] [stdout] test src/binding.rs - binding::bind (line 31) ... FAILED [INFO] [stdout] test src/binding.rs - binding::bind (line 26) ... FAILED [INFO] [stdout] test src/binding.rs - binding::bind (line 21) ... FAILED [INFO] [stdout] test src/binding.rs - binding::bind (line 36) ... FAILED [INFO] [stdout] test src/binding.rs - binding::bind (line 16) ... FAILED [INFO] [stdout] test src/binding.rs - binding::function (line 256) ... FAILED [INFO] [stdout] test src/binding.rs - binding::bind (line 46) ... FAILED [INFO] [stdout] test src/binding.rs - binding::function (line 279) ... FAILED [INFO] [stdout] test src/binding.rs - binding::bind (line 41) ... FAILED [INFO] [stdout] test src/binding.rs - binding::bind (line 11) ... FAILED [INFO] [stdout] test src/binding.rs - binding::function (line 270) ... FAILED [INFO] [stdout] test src/binding.rs - binding::function (line 263) ... FAILED [INFO] [stdout] test src/binding.rs - binding::function (line 249) ... FAILED [INFO] [stdout] test src/binding.rs - binding::bind (line 61) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/binding.rs - binding::function (line 242) stdout ---- [INFO] [stdout] error: cannot find macro `function` in this scope [INFO] [stdout] --> src/binding.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 3 | function!(|| -> ReturnType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use diogen::function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/binding.rs - binding::bind (line 31) stdout ---- [INFO] [stdout] error: cannot find macro `bind` in this scope [INFO] [stdout] --> src/binding.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 3 | bind!("/path/to/js/module.js"::function_name(arg1: Arg1Type, arg2: Arg2Type) -> ReturnType); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use diogen::bind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/binding.rs - binding::bind (line 26) stdout ---- [INFO] [stdout] error: cannot find macro `bind` in this scope [INFO] [stdout] --> src/binding.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 3 | bind!(async "/path/to/js/module.js"::function_name()); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use diogen::bind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/binding.rs - binding::bind (line 21) stdout ---- [INFO] [stdout] error: cannot find macro `bind` in this scope [INFO] [stdout] --> src/binding.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 3 | bind!(async "/path/to/js/module.js"::function_name() -> ReturnType); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use diogen::bind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/binding.rs - binding::bind (line 36) stdout ---- [INFO] [stdout] error: cannot find macro `bind` in this scope [INFO] [stdout] --> src/binding.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 3 | bind!("/path/to/js/module.js"::function_name(arg1: Arg1Type, arg2: Arg2Type)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use diogen::bind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/binding.rs - binding::bind (line 16) stdout ---- [INFO] [stdout] error: cannot find macro `bind` in this scope [INFO] [stdout] --> src/binding.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 3 | bind!(async "/path/to/js/module.js"::function_name(arg1: Arg1Type, arg2: Arg2Type)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use diogen::bind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/binding.rs - binding::function (line 256) stdout ---- [INFO] [stdout] error: cannot find macro `function` in this scope [INFO] [stdout] --> src/binding.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 3 | function!(|arg1: Type1, arg2: Type2| -> ReturnType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use diogen::function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/binding.rs - binding::bind (line 46) stdout ---- [INFO] [stdout] error: cannot find macro `bind` in this scope [INFO] [stdout] --> src/binding.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 3 | bind!("/path/to/js/module.js"::function_name()); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use diogen::bind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/binding.rs - binding::function (line 279) stdout ---- [INFO] [stdout] error: cannot find macro `function` in this scope [INFO] [stdout] --> src/binding.rs:280:15 [INFO] [stdout] | [INFO] [stdout] 3 | let closure = function!(move |event: web_sys::Event| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use diogen::function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `element` in this scope [INFO] [stdout] --> src/binding.rs:283:1 [INFO] [stdout] | [INFO] [stdout] 6 | element.set_onclick(Some(closure.as_ref().unchecked_ref())); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/binding.rs - binding::bind (line 41) stdout ---- [INFO] [stdout] error: cannot find macro `bind` in this scope [INFO] [stdout] --> src/binding.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 3 | bind!("/path/to/js/module.js"::function_name() -> ReturnType); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use diogen::bind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/binding.rs - binding::bind (line 11) stdout ---- [INFO] [stdout] error: cannot find macro `bind` in this scope [INFO] [stdout] --> src/binding.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 3 | bind!(async "/path/to/js/module.js"::function_name(arg1: Arg1Type, arg2: Arg2Type) -> ReturnType); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use diogen::bind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/binding.rs - binding::function (line 270) stdout ---- [INFO] [stdout] error: cannot find macro `function` in this scope [INFO] [stdout] --> src/binding.rs:272:1 [INFO] [stdout] | [INFO] [stdout] 4 | function!(move |x: u8| -> u8 { x }); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use diogen::function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `function` in this scope [INFO] [stdout] --> src/binding.rs:271:1 [INFO] [stdout] | [INFO] [stdout] 3 | function!(move || { ... }); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use diogen::function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/binding.rs - binding::function (line 263) stdout ---- [INFO] [stdout] error: cannot find macro `function` in this scope [INFO] [stdout] --> src/binding.rs:264:1 [INFO] [stdout] | [INFO] [stdout] 3 | function!(|arg1: Type1, arg2: Type2| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use diogen::function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/binding.rs - binding::function (line 249) stdout ---- [INFO] [stdout] error: cannot find macro `function` in this scope [INFO] [stdout] --> src/binding.rs:250:1 [INFO] [stdout] | [INFO] [stdout] 3 | function!(|| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use diogen::function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/binding.rs - binding::bind (line 61) stdout ---- [INFO] [stdout] error: cannot find macro `bind` in this scope [INFO] [stdout] --> src/binding.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 3 | bind!(async "/js/math.js"::add(a: u32, b: u32) -> u32); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use diogen::bind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `add` in this scope [INFO] [stdout] --> src/binding.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 4 | let result = add(1, 2).await.unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use js_sys::Atomics::add; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/binding.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_binding_rs_61_0() { [INFO] [stdout] | -------------------------------------- this is not `async` [INFO] [stdout] 3 | bind!(async "/js/math.js"::add(a: u32, b: u32) -> u32); [INFO] [stdout] 4 | let result = add(1, 2).await.unwrap(); [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/binding.rs - binding::bind (line 11) [INFO] [stdout] src/binding.rs - binding::bind (line 16) [INFO] [stdout] src/binding.rs - binding::bind (line 21) [INFO] [stdout] src/binding.rs - binding::bind (line 26) [INFO] [stdout] src/binding.rs - binding::bind (line 31) [INFO] [stdout] src/binding.rs - binding::bind (line 36) [INFO] [stdout] src/binding.rs - binding::bind (line 41) [INFO] [stdout] src/binding.rs - binding::bind (line 46) [INFO] [stdout] src/binding.rs - binding::bind (line 61) [INFO] [stdout] src/binding.rs - binding::function (line 242) [INFO] [stdout] src/binding.rs - binding::function (line 249) [INFO] [stdout] src/binding.rs - binding::function (line 256) [INFO] [stdout] src/binding.rs - binding::function (line 263) [INFO] [stdout] src/binding.rs - binding::function (line 270) [INFO] [stdout] src/binding.rs - binding::function (line 279) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 15 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.58s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.83s; merged doctests compilation took 0.24s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "461e2ebae5ac0074533d5569021eaa09c6a9ddcc89216e24713b04bb11e0f0bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "461e2ebae5ac0074533d5569021eaa09c6a9ddcc89216e24713b04bb11e0f0bf", kill_on_drop: false }` [INFO] [stdout] 461e2ebae5ac0074533d5569021eaa09c6a9ddcc89216e24713b04bb11e0f0bf