[INFO] cloning repository https://github.com/unsudo-foundation/diogen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/unsudo-foundation/diogen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funsudo-foundation%2Fdiogen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funsudo-foundation%2Fdiogen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b737577339c00de260070d2e651ddb7e7d3d049f [INFO] testing unsudo-foundation/diogen against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funsudo-foundation%2Fdiogen" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/unsudo-foundation/diogen [INFO] finished tweaking git repo https://github.com/unsudo-foundation/diogen [INFO] tweaked toml for git repo https://github.com/unsudo-foundation/diogen written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/unsudo-foundation/diogen on toolchain 9f93af291970322f4f1c6315ccde4d7078201159 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/unsudo-foundation/diogen 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" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror v2.0.15 [INFO] [stderr] Downloaded enumset v1.1.8 [INFO] [stderr] Downloaded darling_macro v0.21.2 [INFO] [stderr] Downloaded thiserror-impl v2.0.15 [INFO] [stderr] Downloaded darling v0.21.2 [INFO] [stderr] Downloaded modwire v0.1.0 [INFO] [stderr] Downloaded darling_core v0.21.2 [INFO] [stderr] Downloaded enumset_derive v0.13.0 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 54bdb0a45873302ea1f133475ff9bcee5b776d3a471bf6bf95cd0b7032e5b8eb [INFO] running `Command { std: "docker" "start" "-a" "54bdb0a45873302ea1f133475ff9bcee5b776d3a471bf6bf95cd0b7032e5b8eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "54bdb0a45873302ea1f133475ff9bcee5b776d3a471bf6bf95cd0b7032e5b8eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54bdb0a45873302ea1f133475ff9bcee5b776d3a471bf6bf95cd0b7032e5b8eb", kill_on_drop: false }` [INFO] [stdout] 54bdb0a45873302ea1f133475ff9bcee5b776d3a471bf6bf95cd0b7032e5b8eb [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07e3d1b10bea10d4cd353886b4dcbb38cf32ee10a1ec18d3ce17040aa31f9b70 [INFO] running `Command { std: "docker" "start" "-a" "07e3d1b10bea10d4cd353886b4dcbb38cf32ee10a1ec18d3ce17040aa31f9b70", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling dioxus-core-types v0.6.2 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling longest-increasing-subsequence v0.1.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 convert_case v0.6.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling lazy-js-bundle v0.6.2 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling bitflags v2.9.2 [INFO] [stderr] Compiling dioxus-cli-config v0.6.3 [INFO] [stderr] Compiling keyboard-types v0.7.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling dioxus-document v0.6.3 [INFO] [stderr] Compiling euclid v0.22.11 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling thiserror v2.0.15 [INFO] [stderr] Compiling strum v0.27.2 [INFO] [stderr] Compiling modwire v0.1.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [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 darling_core v0.21.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [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.89 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling dioxus-core-macro v0.6.3 [INFO] [stderr] Compiling dioxus-html-internal-macro v0.6.2 [INFO] [stderr] Compiling thiserror-impl v2.0.15 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tungstenite v0.23.0 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling generational-box v0.6.2 [INFO] [stderr] Compiling warnings v0.2.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling dioxus-logger v0.6.2 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling darling_macro v0.21.2 [INFO] [stderr] Compiling darling v0.21.2 [INFO] [stderr] Compiling enumset_derive v0.13.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling js-sys v0.3.77 [INFO] [stderr] Compiling enumset v1.1.8 [INFO] [stderr] Compiling const-serialize v0.6.2 [INFO] [stderr] Compiling manganis-core v0.6.2 [INFO] [stderr] Compiling manganis-macro v0.6.2 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.50 [INFO] [stderr] Compiling serde-wasm-bindgen v0.6.5 [INFO] [stderr] Compiling web-sys v0.3.77 [INFO] [stderr] Compiling manganis v0.6.2 [INFO] [stderr] Compiling dioxus-core v0.6.3 [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 1m 09s [INFO] running `Command { std: "docker" "inspect" "07e3d1b10bea10d4cd353886b4dcbb38cf32ee10a1ec18d3ce17040aa31f9b70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07e3d1b10bea10d4cd353886b4dcbb38cf32ee10a1ec18d3ce17040aa31f9b70", kill_on_drop: false }` [INFO] [stdout] 07e3d1b10bea10d4cd353886b4dcbb38cf32ee10a1ec18d3ce17040aa31f9b70 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7903b7c57616158b6021868b2fd53cae5959831c4dea7d63264f71507831b74 [INFO] running `Command { std: "docker" "start" "-a" "a7903b7c57616158b6021868b2fd53cae5959831c4dea7d63264f71507831b74", kill_on_drop: false }` [INFO] [stderr] Compiling diogen v0.5.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.66s [INFO] running `Command { std: "docker" "inspect" "a7903b7c57616158b6021868b2fd53cae5959831c4dea7d63264f71507831b74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7903b7c57616158b6021868b2fd53cae5959831c4dea7d63264f71507831b74", kill_on_drop: false }` [INFO] [stdout] a7903b7c57616158b6021868b2fd53cae5959831c4dea7d63264f71507831b74 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e4b46e651e274f2c4a8fa135d9d077f48568bb867817b3bd49aed12088fb97b3 [INFO] running `Command { std: "docker" "start" "-a" "e4b46e651e274f2c4a8fa135d9d077f48568bb867817b3bd49aed12088fb97b3", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/diogen-e21ba29134162918) [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::bind (line 16) ... FAILED [INFO] [stdout] test src/binding.rs - binding::bind (line 41) ... FAILED [INFO] [stdout] test src/binding.rs - binding::bind (line 36) ... FAILED [INFO] [stdout] test src/binding.rs - binding::bind (line 21) ... FAILED [INFO] [stdout] test src/binding.rs - binding::bind (line 26) ... FAILED [INFO] [stdout] test src/binding.rs - binding::function (line 242) ... FAILED [INFO] [stdout] test src/binding.rs - binding::bind (line 46) ... 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::bind (line 11) ... FAILED [INFO] [stdout] test src/binding.rs - binding::function (line 249) ... FAILED [INFO] [stdout] test src/binding.rs - binding::function (line 256) ... FAILED [INFO] [stdout] test src/binding.rs - binding::function (line 279) ... FAILED [INFO] [stdout] test src/binding.rs - binding::bind (line 61) ... FAILED [INFO] [stdout] test src/binding.rs - binding::bind (line 31) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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::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 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 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 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::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 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 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::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 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::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::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 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] ---- 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] [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.81s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.99s; merged doctests compilation took 0.18s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "e4b46e651e274f2c4a8fa135d9d077f48568bb867817b3bd49aed12088fb97b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4b46e651e274f2c4a8fa135d9d077f48568bb867817b3bd49aed12088fb97b3", kill_on_drop: false }` [INFO] [stdout] e4b46e651e274f2c4a8fa135d9d077f48568bb867817b3bd49aed12088fb97b3