[INFO] fetching crate diogen 0.5.2... [INFO] testing diogen-0.5.2 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate diogen 0.5.2 into /workspace/builds/worker-5-tc1/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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate diogen 0.5.2 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 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde-wasm-bindgen v0.6.5 [INFO] [stderr] Downloaded dioxus-core-types v0.6.2 [INFO] [stderr] Downloaded dioxus v0.6.3 [INFO] [stderr] Downloaded modwire v0.1.0 [INFO] [stderr] Downloaded enumset_derive v0.12.0 [INFO] [stderr] Downloaded sledgehammer_bindgen v0.6.0 [INFO] [stderr] Downloaded dioxus-interpreter-js v0.6.2 [INFO] [stderr] Downloaded dioxus-config-macro v0.6.2 [INFO] [stderr] Downloaded dioxus-cli-config v0.6.3 [INFO] [stderr] Downloaded dioxus-lib v0.6.2 [INFO] [stderr] Downloaded gloo-net v0.6.0 [INFO] [stderr] Downloaded dioxus_server_macro v0.6.2 [INFO] [stderr] Downloaded gloo-utils v0.2.0 [INFO] [stderr] Downloaded server_fn_macro_default v0.6.15 [INFO] [stderr] Downloaded dioxus-fullstack v0.6.3 [INFO] [stderr] Downloaded dioxus-devtools v0.6.2 [INFO] [stderr] Downloaded serde_qs v0.12.0 [INFO] [stderr] Downloaded dioxus-hooks v0.6.2 [INFO] [stderr] Downloaded const_format v0.2.34 [INFO] [stderr] Downloaded dioxus-core v0.6.3 [INFO] [stderr] Downloaded tungstenite v0.23.0 [INFO] [stderr] Downloaded dioxus-web v0.6.3 [INFO] [stderr] Downloaded const-serialize v0.6.2 [INFO] [stderr] Downloaded dioxus-document v0.6.3 [INFO] [stderr] Downloaded dioxus-devtools-types v0.6.2 [INFO] [stderr] Downloaded dioxus-html-internal-macro v0.6.2 [INFO] [stderr] Downloaded keyboard-types v0.7.0 [INFO] [stderr] Downloaded generational-box v0.6.2 [INFO] [stderr] Downloaded server_fn_macro v0.6.15 [INFO] [stderr] Downloaded server_fn v0.6.15 [INFO] [stderr] Downloaded dioxus-logger v0.6.2 [INFO] [stderr] Downloaded dioxus-history v0.6.2 [INFO] [stderr] Downloaded sledgehammer_bindgen_macro v0.6.1 [INFO] [stderr] Downloaded const-serialize-macro v0.6.2 [INFO] [stderr] Downloaded dioxus-signals v0.6.3 [INFO] [stderr] Downloaded dioxus-core-macro v0.6.3 [INFO] [stderr] Downloaded enumset v1.1.7 [INFO] [stderr] Downloaded dioxus-html v0.6.3 [INFO] [stderr] Downloaded sledgehammer_utils v0.3.1 [INFO] [stderr] Downloaded lazy-js-bundle v0.6.2 [INFO] [stderr] Downloaded serde-wasm-bindgen v0.5.0 [INFO] [stderr] Downloaded longest-increasing-subsequence v0.1.0 [INFO] [stderr] Downloaded manganis-core v0.6.2 [INFO] [stderr] Downloaded manganis-macro v0.6.2 [INFO] [stderr] Downloaded manganis v0.6.2 [INFO] [stderr] Downloaded warnings-macro v0.2.0 [INFO] [stderr] Downloaded warnings v0.2.1 [INFO] [stderr] Downloaded dioxus-rsx v0.6.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] ac38fd5ab0a87340a954c2cadc4f9f472a1f60bb40bf3bae33eba28552bf2373 [INFO] running `Command { std: "docker" "start" "-a" "ac38fd5ab0a87340a954c2cadc4f9f472a1f60bb40bf3bae33eba28552bf2373", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac38fd5ab0a87340a954c2cadc4f9f472a1f60bb40bf3bae33eba28552bf2373", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac38fd5ab0a87340a954c2cadc4f9f472a1f60bb40bf3bae33eba28552bf2373", kill_on_drop: false }` [INFO] [stdout] ac38fd5ab0a87340a954c2cadc4f9f472a1f60bb40bf3bae33eba28552bf2373 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] b768fe2531e1d2bfccf625244b44903f8913ddd3f992ba182d6ac102917a1b24 [INFO] running `Command { std: "docker" "start" "-a" "b768fe2531e1d2bfccf625244b44903f8913ddd3f992ba182d6ac102917a1b24", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.97 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling dioxus-core-types v0.6.2 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling longest-increasing-subsequence v0.1.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [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 rand_core v0.6.4 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling lazy-js-bundle v0.6.2 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling const_format v0.2.34 [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 dioxus-document v0.6.3 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling thiserror v2.0.14 [INFO] [stderr] Compiling dioxus-config-macro v0.6.2 [INFO] [stderr] Compiling euclid v0.22.11 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling modwire v0.1.0 [INFO] [stderr] Compiling strum v0.27.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [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 dioxus-html-internal-macro v0.6.2 [INFO] [stderr] Compiling async-trait v0.1.88 [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 tracing v0.1.41 [INFO] [stderr] Compiling warnings v0.2.1 [INFO] [stderr] Compiling generational-box v0.6.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tungstenite v0.23.0 [INFO] [stderr] Compiling dioxus-logger v0.6.2 [INFO] [stderr] Compiling thiserror-impl v2.0.14 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling enumset_derive v0.12.0 [INFO] [stderr] Compiling enumset v1.1.7 [INFO] [stderr] Compiling js-sys v0.3.77 [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 manganis v0.6.2 [INFO] [stderr] Compiling dioxus-core v0.6.3 [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 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 22s [INFO] running `Command { std: "docker" "inspect" "b768fe2531e1d2bfccf625244b44903f8913ddd3f992ba182d6ac102917a1b24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b768fe2531e1d2bfccf625244b44903f8913ddd3f992ba182d6ac102917a1b24", kill_on_drop: false }` [INFO] [stdout] b768fe2531e1d2bfccf625244b44903f8913ddd3f992ba182d6ac102917a1b24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 04ea985326055f66a686849eb409e2d1a84d1adcf6c8fe00edd7d34074e4c4cf [INFO] running `Command { std: "docker" "start" "-a" "04ea985326055f66a686849eb409e2d1a84d1adcf6c8fe00edd7d34074e4c4cf", 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.05s [INFO] running `Command { std: "docker" "inspect" "04ea985326055f66a686849eb409e2d1a84d1adcf6c8fe00edd7d34074e4c4cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04ea985326055f66a686849eb409e2d1a84d1adcf6c8fe00edd7d34074e4c4cf", kill_on_drop: false }` [INFO] [stdout] 04ea985326055f66a686849eb409e2d1a84d1adcf6c8fe00edd7d34074e4c4cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] a08d647e85b1617baa8527de4109c6e87b4e602c38c2f039cbe273f22f33e9d5 [INFO] running `Command { std: "docker" "start" "-a" "a08d647e85b1617baa8527de4109c6e87b4e602c38c2f039cbe273f22f33e9d5", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [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::bind (line 36) ... FAILED [INFO] [stdout] test src/binding.rs - binding::bind (line 46) ... FAILED [INFO] [stdout] test src/binding.rs - binding::bind (line 41) ... 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 249) ... FAILED [INFO] [stdout] test src/binding.rs - binding::bind (line 16) ... FAILED [INFO] [stdout] test src/binding.rs - binding::bind (line 11) ... 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] test src/binding.rs - binding::function (line 263) ... FAILED [INFO] [stdout] test src/binding.rs - binding::function (line 242) ... FAILED [INFO] [stdout] test src/binding.rs - binding::function (line 256) ... FAILED [INFO] [stdout] test src/binding.rs - binding::function (line 270) ... FAILED [INFO] [stdout] test src/binding.rs - binding::function (line 279) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [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] 37 | 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] 36 + 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 46) stdout ---- [INFO] [stdout] error: cannot find macro `bind` in this scope [INFO] [stdout] --> src/binding.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | bind!("/path/to/js/module.js"::function_name()); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 46 + 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] 42 | bind!("/path/to/js/module.js"::function_name() -> ReturnType); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 41 + 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] 22 | 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] 21 + 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] 27 | bind!(async "/path/to/js/module.js"::function_name()); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 26 + 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] 250 | function!(|| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 249 + 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 16) stdout ---- [INFO] [stdout] error: cannot find macro `bind` in this scope [INFO] [stdout] --> src/binding.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | 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] 16 + 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] 12 | 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] 11 + 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 61) stdout ---- [INFO] [stdout] error: cannot find macro `bind` in this scope [INFO] [stdout] --> src/binding.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | 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] 61 + 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] 63 | 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] 61 + 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] 61 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_binding_rs_61_0() { [INFO] [stdout] | -------------------------------------- this is not `async` [INFO] [stdout] 62 | bind!(async "/js/math.js"::add(a: u32, b: u32) -> u32); [INFO] [stdout] 63 | 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] 32 | 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] 31 + 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 263) stdout ---- [INFO] [stdout] error: cannot find macro `function` in this scope [INFO] [stdout] --> src/binding.rs:264:1 [INFO] [stdout] | [INFO] [stdout] 264 | function!(|arg1: Type1, arg2: Type2| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 263 + 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 242) stdout ---- [INFO] [stdout] error: cannot find macro `function` in this scope [INFO] [stdout] --> src/binding.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 243 | function!(|| -> ReturnType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 242 + 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] 257 | function!(|arg1: Type1, arg2: Type2| -> ReturnType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 256 + 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 270) stdout ---- [INFO] [stdout] error: cannot find macro `function` in this scope [INFO] [stdout] --> src/binding.rs:272:1 [INFO] [stdout] | [INFO] [stdout] 272 | function!(move |x: u8| -> u8 { x }); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 270 + 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] 271 | function!(move || { ... }); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 270 + 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 279) stdout ---- [INFO] [stdout] error: cannot find macro `function` in this scope [INFO] [stdout] --> src/binding.rs:280:15 [INFO] [stdout] | [INFO] [stdout] 280 | let closure = function!(move |event: web_sys::Event| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 279 + 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] 283 | 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] [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 1.51s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.75s; merged doctests compilation took 0.23s [INFO] running `Command { std: "docker" "inspect" "a08d647e85b1617baa8527de4109c6e87b4e602c38c2f039cbe273f22f33e9d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a08d647e85b1617baa8527de4109c6e87b4e602c38c2f039cbe273f22f33e9d5", kill_on_drop: false }` [INFO] [stdout] a08d647e85b1617baa8527de4109c6e87b4e602c38c2f039cbe273f22f33e9d5