[INFO] cloning repository https://github.com/usmans-dev01/RustPython-Interpreter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/usmans-dev01/RustPython-Interpreter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fusmans-dev01%2FRustPython-Interpreter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fusmans-dev01%2FRustPython-Interpreter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f3259359968348c33c3d49ec35f20e0e790c5109 [INFO] checking usmans-dev01/RustPython-Interpreter against try#723ab942d877517caf445dafde0416803ef56501 for pr-143857 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fusmans-dev01%2FRustPython-Interpreter" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-4-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/usmans-dev01/RustPython-Interpreter [INFO] finished tweaking git repo https://github.com/usmans-dev01/RustPython-Interpreter [INFO] tweaked toml for git repo https://github.com/usmans-dev01/RustPython-Interpreter written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/usmans-dev01/RustPython-Interpreter on toolchain 723ab942d877517caf445dafde0416803ef56501 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+723ab942d877517caf445dafde0416803ef56501" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/usmans-dev01/RustPython-Interpreter 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" "+723ab942d877517caf445dafde0416803ef56501" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+723ab942d877517caf445dafde0416803ef56501" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 38fe29c743c43b3a6303a06e4870836423f3fc7bac72fb56965364151c9531ac [INFO] running `Command { std: "docker" "start" "-a" "38fe29c743c43b3a6303a06e4870836423f3fc7bac72fb56965364151c9531ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38fe29c743c43b3a6303a06e4870836423f3fc7bac72fb56965364151c9531ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38fe29c743c43b3a6303a06e4870836423f3fc7bac72fb56965364151c9531ac", kill_on_drop: false }` [INFO] [stdout] 38fe29c743c43b3a6303a06e4870836423f3fc7bac72fb56965364151c9531ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+723ab942d877517caf445dafde0416803ef56501" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ba2c12f1197bfce3284b97c6cf59fbc776f8795838810bda653063a0525e795 [INFO] running `Command { std: "docker" "start" "-a" "2ba2c12f1197bfce3284b97c6cf59fbc776f8795838810bda653063a0525e795", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling malachite-nz v0.6.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking ascii v1.1.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking ruff_text_size v0.0.0 (https://github.com/astral-sh/ruff.git?tag=0.11.0#2cd25ef6) [INFO] [stderr] Checking ruff_source_file v0.0.0 (https://github.com/astral-sh/ruff.git?tag=0.11.0#2cd25ef6) [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking lz4_flex v0.11.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Checking malachite-base v0.6.0 [INFO] [stderr] Compiling unicode_names2_generator v1.3.0 [INFO] [stderr] Compiling target-lexicon v0.13.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling cc v1.2.18 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking lexical-util v1.0.6 [INFO] [stderr] Checking bstr v1.11.3 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking rustpython-wtf8 v0.4.0 (/opt/rustwide/workdir/wtf8) [INFO] [stderr] Checking unic-ucd-category v0.9.0 [INFO] [stderr] Checking lexical-parse-integer v1.0.5 [INFO] [stderr] Checking castaway v0.2.3 [INFO] [stderr] Checking lexical-parse-float v1.0.5 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Checking compact_str v0.8.1 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling unicode_names2 v1.3.0 [INFO] [stderr] Checking tinyvec v1.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Compiling ruff_python_trivia v0.0.0 (https://github.com/astral-sh/ruff.git?tag=0.11.0#2cd25ef6) [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking rustpython-compiler-source v0.4.0 (/opt/rustwide/workdir/compiler/source) [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling libffi-sys v3.2.0 [INFO] [stderr] Compiling syn-ext v0.5.0 [INFO] [stderr] Compiling rustpython-doc v0.3.0 (https://github.com/RustPython/__doc__?tag=0.3.0#8b62ce5d) [INFO] [stderr] Checking malachite-bigint v0.6.0 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking half v2.5.0 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Checking rustpython-compiler-core v0.4.0 (/opt/rustwide/workdir/compiler/core) [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking linux-raw-sys v0.9.3 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling pyo3-build-config v0.24.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking optional v0.5.0 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking libffi v4.0.0 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Checking malachite-q v0.6.0 [INFO] [stderr] Compiling pmutil v0.6.1 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking radium v1.1.0 (https://github.com/youknowone/ferrilab?branch=fix-nightly#4a301c3a) [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking fd-lock v4.0.4 [INFO] [stderr] Compiling rustpython-vm v0.4.0 (/opt/rustwide/workdir/vm) [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Checking env_home v0.1.0 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Checking home v0.5.11 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking chrono v0.4.40 [INFO] [stderr] Checking which v7.0.3 [INFO] [stderr] Checking caseless v0.2.2 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking unic-ucd-ident v0.9.0 [INFO] [stderr] Checking unic-ucd-bidi v0.9.0 [INFO] [stderr] Checking unic-ucd-hangul v0.9.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking uname v0.1.1 [INFO] [stderr] Checking errno v0.3.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking libloading v0.8.6 [INFO] [stderr] Checking exitcode v1.1.2 [INFO] [stderr] Checking unicode-casing v0.1.0 [INFO] [stderr] Checking bytemuck v1.22.0 [INFO] [stderr] Checking timsort v0.1.3 [INFO] [stderr] Checking widestring v1.2.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking constant_time_eq v0.4.2 [INFO] [stderr] Checking zlib-rs v0.5.0 [INFO] [stderr] Checking strum v0.27.1 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking atomic v0.6.0 [INFO] [stderr] Checking unic-ucd-normal v0.9.0 [INFO] [stderr] Checking rustyline v15.0.0 [INFO] [stderr] Compiling rustpython-derive-impl v0.4.0 (/opt/rustwide/workdir/derive-impl) [INFO] [stderr] Compiling rustpython-pylib v0.4.0 (/opt/rustwide/workdir/pylib) [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking libz-rs-sys v0.5.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking libbz2-rs-sys v0.1.3 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling rustpython-stdlib v0.4.0 (/opt/rustwide/workdir/stdlib) [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking dns-lookup v2.0.4 [INFO] [stderr] Checking flate2 v1.1.1 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking unic-normal v0.9.0 [INFO] [stderr] Checking bzip2 v0.5.2 [INFO] [stderr] Checking xz2 v0.1.7 [INFO] [stderr] Checking mac_address v1.1.8 [INFO] [stderr] Checking uuid v1.16.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking gethostname v1.0.1 [INFO] [stderr] Checking mt19937 v3.1.0 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking unic-ucd-age v0.9.0 [INFO] [stderr] Checking page_size v0.6.0 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking pymath v0.0.2 [INFO] [stderr] Checking termios v0.3.3 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking dyn-clone v1.0.19 [INFO] [stderr] Checking xml-rs v0.8.25 [INFO] [stderr] Checking ucd v0.1.1 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking clap_builder v4.5.36 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Compiling pyo3-macros-backend v0.24.1 [INFO] [stderr] Compiling pyo3-ffi v0.24.1 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking clap v4.5.36 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling cranelift-assembler-x64-meta v0.118.0 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking jiff v0.2.5 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Compiling pyo3 v0.24.1 [INFO] [stderr] Checking lexopt v0.3.1 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling cranelift-isle v0.118.0 [INFO] [stderr] Checking unindent v0.2.4 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling cranelift-codegen-shared v0.118.0 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking cranelift-bitset v0.118.0 [INFO] [stderr] Checking cranelift-entity v0.118.0 [INFO] [stderr] Compiling cranelift-assembler-x64 v0.118.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Checking arbitrary v1.4.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Checking cranelift-control v0.118.0 [INFO] [stderr] Compiling cranelift-codegen-meta v0.118.0 [INFO] [stderr] Compiling is-macro v0.3.7 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling ruff_python_ast v0.0.0 (https://github.com/astral-sh/ruff.git?tag=0.11.0#2cd25ef6) [INFO] [stderr] Compiling rustpython-literal v0.4.0 (/opt/rustwide/workdir/compiler/literal) [INFO] [stderr] Compiling ruff_python_parser v0.0.0 (https://github.com/astral-sh/ruff.git?tag=0.11.0#2cd25ef6) [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Compiling rustpython-codegen v0.4.0 (/opt/rustwide/workdir/compiler/codegen) [INFO] [stderr] Compiling result-like-derive v0.5.0 [INFO] [stderr] Compiling rustpython-compiler v0.4.0 (/opt/rustwide/workdir/compiler) [INFO] [stderr] Checking rustpython-common v0.4.0 (/opt/rustwide/workdir/common) [INFO] [stderr] Compiling strum_macros v0.27.1 [INFO] [stderr] Compiling cranelift-codegen v0.118.0 [INFO] [stderr] Checking regalloc2 v0.11.2 [INFO] [stderr] Checking cranelift-bforest v0.118.0 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling rustpython-derive v0.4.0 (/opt/rustwide/workdir/derive) [INFO] [stderr] Checking num_enum v0.7.3 [INFO] [stderr] Checking rustpython-sre_engine v0.4.0 (/opt/rustwide/workdir/vm/sre_engine) [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling pyo3-macros v0.24.1 [INFO] [stderr] Checking result-like v0.5.0 [INFO] [stderr] Checking js-sys v0.3.77 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking region v3.0.2 [INFO] [stderr] Checking wasmtime-jit-icache-coherence v31.0.0 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking cranelift-module v0.118.0 [INFO] [stderr] Checking cranelift-frontend v0.118.0 [INFO] [stderr] Checking cranelift-native v0.118.0 [INFO] [stderr] Checking cranelift-jit v0.118.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking serde-wasm-bindgen v0.3.1 [INFO] [stderr] Checking cranelift v0.118.0 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.50 [INFO] [stderr] Checking web-sys v0.3.77 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking rustpython-jit v0.4.0 (/opt/rustwide/workdir/jit) [INFO] [stdout] warning: unused `ControlFlow` that must be used [INFO] [stdout] --> jit/tests/common.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | / code.instructions.iter().try_for_each(|&word| { [INFO] [stdout] 82 | | let (instruction, arg) = oparg_state.get(word); [INFO] [stdout] 83 | | self.process_instruction(instruction, arg, &code.constants, &code.names) [INFO] [stdout] 84 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 81 | let _ = code.instructions.iter().try_for_each(|&word| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking insta v1.42.2 [INFO] [stdout] warning: associated constant `OK` is never used [INFO] [stdout] --> stdlib/src/compression.rs:207:11 [INFO] [stdout] | [INFO] [stdout] 206 | pub trait CompressStatusKind: Copy { [INFO] [stdout] | ------------------ associated constant in this trait [INFO] [stdout] 207 | const OK: Self; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `OK` is never used [INFO] [stdout] --> stdlib/src/compression.rs:207:11 [INFO] [stdout] | [INFO] [stdout] 206 | pub trait CompressStatusKind: Copy { [INFO] [stdout] | ------------------ associated constant in this trait [INFO] [stdout] 207 | const OK: Self; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rustpython v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking rustpython_wasm v0.4.0 (/opt/rustwide/workdir/wasm/lib) [INFO] [stdout] error[E0277]: `*mut u8` cannot be shared between threads safely [INFO] [stdout] --> wasm/lib/src/browser_module.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | struct Document { [INFO] [stdout] | ^^^^^^^^ `*mut u8` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `_browser::Document`, the trait `Sync` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `Object` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:3445:14 [INFO] [stdout] | [INFO] [stdout] 3445 | pub type Object; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `EventTarget` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web-sys-0.3.77/src/features/gen_EventTarget.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub type EventTarget; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `web_sys::Node` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web-sys-0.3.77/src/features/gen_Node.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub type Node; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required because it appears within the type `web_sys::Document` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web-sys-0.3.77/src/features/gen_Document.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub type Document; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `_browser::Document` [INFO] [stdout] --> wasm/lib/src/browser_module.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | struct Document { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: required for `_browser::Document` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `PyPayload` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait PyPayload: [INFO] [stdout] | --------- required by a bound in this trait [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be shared between threads safely [INFO] [stdout] --> wasm/lib/src/browser_module.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | struct Document { [INFO] [stdout] | ^^^^^^^^ `*mut u8` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `_browser::Document`, the trait `Sync` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `Object` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:3445:14 [INFO] [stdout] | [INFO] [stdout] 3445 | pub type Object; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `EventTarget` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web-sys-0.3.77/src/features/gen_EventTarget.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub type EventTarget; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `web_sys::Node` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web-sys-0.3.77/src/features/gen_Node.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub type Node; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required because it appears within the type `web_sys::Document` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web-sys-0.3.77/src/features/gen_Document.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub type Document; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `_browser::Document` [INFO] [stdout] --> wasm/lib/src/browser_module.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | struct Document { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: required for `_browser::Document` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `PyPayload` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait PyPayload: [INFO] [stdout] | --------- required by a bound in this trait [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be sent between threads safely [INFO] [stdout] --> wasm/lib/src/browser_module.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | struct Document { [INFO] [stdout] | ^^^^^^^^ `*mut u8` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `_browser::Document`, the trait `Send` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `Object` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:3445:14 [INFO] [stdout] | [INFO] [stdout] 3445 | pub type Object; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `EventTarget` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web-sys-0.3.77/src/features/gen_EventTarget.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub type EventTarget; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `web_sys::Node` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web-sys-0.3.77/src/features/gen_Node.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub type Node; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required because it appears within the type `web_sys::Document` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web-sys-0.3.77/src/features/gen_Document.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub type Document; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `_browser::Document` [INFO] [stdout] --> wasm/lib/src/browser_module.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | struct Document { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: required for `_browser::Document` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `PyPayload` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait PyPayload: [INFO] [stdout] | --------- required by a bound in this trait [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be sent between threads safely [INFO] [stdout] --> wasm/lib/src/browser_module.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | struct Document { [INFO] [stdout] | ^^^^^^^^ `*mut u8` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `_browser::Document`, the trait `Send` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `Object` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:3445:14 [INFO] [stdout] | [INFO] [stdout] 3445 | pub type Object; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `EventTarget` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web-sys-0.3.77/src/features/gen_EventTarget.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub type EventTarget; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `web_sys::Node` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web-sys-0.3.77/src/features/gen_Node.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub type Node; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required because it appears within the type `web_sys::Document` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web-sys-0.3.77/src/features/gen_Document.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub type Document; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `_browser::Document` [INFO] [stdout] --> wasm/lib/src/browser_module.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | struct Document { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: required for `_browser::Document` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `PyPayload` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait PyPayload: [INFO] [stdout] | --------- required by a bound in this trait [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be shared between threads safely [INFO] [stdout] --> wasm/lib/src/browser_module.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 197 | struct Element { [INFO] [stdout] | ^^^^^^^ `*mut u8` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `_browser::Element`, the trait `Sync` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `Object` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:3445:14 [INFO] [stdout] | [INFO] [stdout] 3445 | pub type Object; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `EventTarget` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web-sys-0.3.77/src/features/gen_EventTarget.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub type EventTarget; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `web_sys::Node` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web-sys-0.3.77/src/features/gen_Node.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub type Node; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required because it appears within the type `web_sys::Element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web-sys-0.3.77/src/features/gen_Element.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub type Element; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `_browser::Element` [INFO] [stdout] --> wasm/lib/src/browser_module.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 197 | struct Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: required for `_browser::Element` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `PyPayload` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait PyPayload: [INFO] [stdout] | --------- required by a bound in this trait [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be shared between threads safely [INFO] [stdout] --> wasm/lib/src/browser_module.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 197 | struct Element { [INFO] [stdout] | ^^^^^^^ `*mut u8` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `_browser::Element`, the trait `Sync` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `Object` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:3445:14 [INFO] [stdout] | [INFO] [stdout] 3445 | pub type Object; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `EventTarget` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web-sys-0.3.77/src/features/gen_EventTarget.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub type EventTarget; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `web_sys::Node` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web-sys-0.3.77/src/features/gen_Node.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub type Node; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required because it appears within the type `web_sys::Element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web-sys-0.3.77/src/features/gen_Element.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub type Element; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `_browser::Element` [INFO] [stdout] --> wasm/lib/src/browser_module.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 197 | struct Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: required for `_browser::Element` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `PyPayload` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait PyPayload: [INFO] [stdout] | --------- required by a bound in this trait [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be sent between threads safely [INFO] [stdout] --> wasm/lib/src/browser_module.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 197 | struct Element { [INFO] [stdout] | ^^^^^^^ `*mut u8` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `_browser::Element`, the trait `Send` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `Object` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:3445:14 [INFO] [stdout] | [INFO] [stdout] 3445 | pub type Object; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `EventTarget` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web-sys-0.3.77/src/features/gen_EventTarget.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub type EventTarget; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `web_sys::Node` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web-sys-0.3.77/src/features/gen_Node.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub type Node; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required because it appears within the type `web_sys::Element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web-sys-0.3.77/src/features/gen_Element.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub type Element; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `_browser::Element` [INFO] [stdout] --> wasm/lib/src/browser_module.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 197 | struct Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: required for `_browser::Element` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `PyPayload` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait PyPayload: [INFO] [stdout] | --------- required by a bound in this trait [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be sent between threads safely [INFO] [stdout] --> wasm/lib/src/browser_module.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 197 | struct Element { [INFO] [stdout] | ^^^^^^^ `*mut u8` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `_browser::Element`, the trait `Send` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `Object` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:3445:14 [INFO] [stdout] | [INFO] [stdout] 3445 | pub type Object; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `EventTarget` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web-sys-0.3.77/src/features/gen_EventTarget.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub type EventTarget; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `web_sys::Node` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web-sys-0.3.77/src/features/gen_Node.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub type Node; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required because it appears within the type `web_sys::Element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web-sys-0.3.77/src/features/gen_Element.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub type Element; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `_browser::Element` [INFO] [stdout] --> wasm/lib/src/browser_module.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 197 | struct Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: required for `_browser::Element` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `PyPayload` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait PyPayload: [INFO] [stdout] | --------- required by a bound in this trait [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be shared between threads safely [INFO] [stdout] --> wasm/lib/src/js_module.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct PyJsValue { [INFO] [stdout] | ^^^^^^^^^ `*mut u8` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `PyJsValue`, the trait `Sync` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PyJsValue` [INFO] [stdout] --> wasm/lib/src/js_module.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct PyJsValue { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `PyJsValue` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `PyPayload` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait PyPayload: [INFO] [stdout] | --------- required by a bound in this trait [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be sent between threads safely [INFO] [stdout] --> wasm/lib/src/js_module.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct PyJsValue { [INFO] [stdout] | ^^^^^^^^^ `*mut u8` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `PyJsValue`, the trait `Send` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PyJsValue` [INFO] [stdout] --> wasm/lib/src/js_module.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct PyJsValue { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `PyJsValue` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `PyPayload` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait PyPayload: [INFO] [stdout] | --------- required by a bound in this trait [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be shared between threads safely [INFO] [stdout] --> wasm/lib/src/js_module.rs:269:28 [INFO] [stdout] | [INFO] [stdout] 269 | impl Representable for PyJsValue { [INFO] [stdout] | ^^^^^^^^^ `*mut u8` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `PyJsValue`, the trait `Sync` is not implemented for `*mut u8` [INFO] [stdout] = help: the trait `PyPayload` is not implemented for `PyJsValue` [INFO] [stdout] but trait `PyPayload` is implemented for it [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PyJsValue` [INFO] [stdout] --> wasm/lib/src/js_module.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct PyJsValue { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `PyJsValue` to implement `PyThreadingConstraint` [INFO] [stdout] = note: required for `PyJsValue` to implement `PyPayload` [INFO] [stdout] note: required by a bound in `Representable` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/types/slot.rs:973:26 [INFO] [stdout] | [INFO] [stdout] 973 | pub trait Representable: PyPayload { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Representable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be sent between threads safely [INFO] [stdout] --> wasm/lib/src/js_module.rs:269:28 [INFO] [stdout] | [INFO] [stdout] 269 | impl Representable for PyJsValue { [INFO] [stdout] | ^^^^^^^^^ `*mut u8` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `PyJsValue`, the trait `Send` is not implemented for `*mut u8` [INFO] [stdout] = help: the trait `PyPayload` is not implemented for `PyJsValue` [INFO] [stdout] but trait `PyPayload` is implemented for it [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PyJsValue` [INFO] [stdout] --> wasm/lib/src/js_module.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct PyJsValue { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `PyJsValue` to implement `PyThreadingConstraint` [INFO] [stdout] = note: required for `PyJsValue` to implement `PyPayload` [INFO] [stdout] note: required by a bound in `Representable` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/types/slot.rs:973:26 [INFO] [stdout] | [INFO] [stdout] 973 | pub trait Representable: PyPayload { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Representable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `RefCell) -> ...>, ...)>>` cannot be shared between threads safely [INFO] [stdout] --> wasm/lib/src/js_module.rs:293:12 [INFO] [stdout] | [INFO] [stdout] 293 | struct JsClosure { [INFO] [stdout] | ^^^^^^^^^ `RefCell) -> ...>, ...)>>` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `JsClosure`, the trait `Sync` is not implemented for `RefCell) -> ...>, ...)>>` [INFO] [stdout] = note: if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` instead [INFO] [stdout] note: required because it appears within the type `JsClosure` [INFO] [stdout] --> wasm/lib/src/js_module.rs:293:12 [INFO] [stdout] | [INFO] [stdout] 293 | struct JsClosure { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `JsClosure` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `PyPayload` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait PyPayload: [INFO] [stdout] | --------- required by a bound in this trait [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/rustpython_wasm-7736204ceb6f9dd2.long-type-8501131510048888143.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be shared between threads safely [INFO] [stdout] --> wasm/lib/src/js_module.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct PyJsValue { [INFO] [stdout] | ^^^^^^^^^ `*mut u8` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `PyJsValue`, the trait `Sync` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PyJsValue` [INFO] [stdout] --> wasm/lib/src/js_module.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct PyJsValue { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `PyJsValue` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `PyPayload` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait PyPayload: [INFO] [stdout] | --------- required by a bound in this trait [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be sent between threads safely [INFO] [stdout] --> wasm/lib/src/js_module.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct PyJsValue { [INFO] [stdout] | ^^^^^^^^^ `*mut u8` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `PyJsValue`, the trait `Send` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PyJsValue` [INFO] [stdout] --> wasm/lib/src/js_module.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct PyJsValue { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `PyJsValue` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `PyPayload` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait PyPayload: [INFO] [stdout] | --------- required by a bound in this trait [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be shared between threads safely [INFO] [stdout] --> wasm/lib/src/js_module.rs:269:28 [INFO] [stdout] | [INFO] [stdout] 269 | impl Representable for PyJsValue { [INFO] [stdout] | ^^^^^^^^^ `*mut u8` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `PyJsValue`, the trait `Sync` is not implemented for `*mut u8` [INFO] [stdout] = help: the trait `PyPayload` is not implemented for `PyJsValue` [INFO] [stdout] but trait `PyPayload` is implemented for it [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PyJsValue` [INFO] [stdout] --> wasm/lib/src/js_module.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct PyJsValue { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `PyJsValue` to implement `PyThreadingConstraint` [INFO] [stdout] = note: required for `PyJsValue` to implement `PyPayload` [INFO] [stdout] note: required by a bound in `Representable` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/types/slot.rs:973:26 [INFO] [stdout] | [INFO] [stdout] 973 | pub trait Representable: PyPayload { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Representable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be sent between threads safely [INFO] [stdout] --> wasm/lib/src/js_module.rs:269:28 [INFO] [stdout] | [INFO] [stdout] 269 | impl Representable for PyJsValue { [INFO] [stdout] | ^^^^^^^^^ `*mut u8` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `PyJsValue`, the trait `Send` is not implemented for `*mut u8` [INFO] [stdout] = help: the trait `PyPayload` is not implemented for `PyJsValue` [INFO] [stdout] but trait `PyPayload` is implemented for it [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PyJsValue` [INFO] [stdout] --> wasm/lib/src/js_module.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct PyJsValue { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `PyJsValue` to implement `PyThreadingConstraint` [INFO] [stdout] = note: required for `PyJsValue` to implement `PyPayload` [INFO] [stdout] note: required by a bound in `Representable` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/types/slot.rs:973:26 [INFO] [stdout] | [INFO] [stdout] 973 | pub trait Representable: PyPayload { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Representable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `RefCell) -> ...>, ...)>>` cannot be shared between threads safely [INFO] [stdout] --> wasm/lib/src/js_module.rs:293:12 [INFO] [stdout] | [INFO] [stdout] 293 | struct JsClosure { [INFO] [stdout] | ^^^^^^^^^ `RefCell) -> ...>, ...)>>` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `JsClosure`, the trait `Sync` is not implemented for `RefCell) -> ...>, ...)>>` [INFO] [stdout] = note: if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` instead [INFO] [stdout] note: required because it appears within the type `JsClosure` [INFO] [stdout] --> wasm/lib/src/js_module.rs:293:12 [INFO] [stdout] | [INFO] [stdout] 293 | struct JsClosure { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `JsClosure` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `PyPayload` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait PyPayload: [INFO] [stdout] | --------- required by a bound in this trait [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/rustpython_wasm-13e716321234d2dc.long-type-3637159204427809532.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `std::cell::Cell` cannot be shared between threads safely [INFO] [stdout] --> wasm/lib/src/js_module.rs:293:12 [INFO] [stdout] | [INFO] [stdout] 293 | struct JsClosure { [INFO] [stdout] | ^^^^^^^^^ `std::cell::Cell` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `JsClosure`, the trait `Sync` is not implemented for `std::cell::Cell` [INFO] [stdout] = note: if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` or `std::sync::atomic::AtomicBool` instead [INFO] [stdout] note: required because it appears within the type `JsClosure` [INFO] [stdout] --> wasm/lib/src/js_module.rs:293:12 [INFO] [stdout] | [INFO] [stdout] 293 | struct JsClosure { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `JsClosure` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `PyPayload` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait PyPayload: [INFO] [stdout] | --------- required by a bound in this trait [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be sent between threads safely [INFO] [stdout] --> wasm/lib/src/js_module.rs:293:12 [INFO] [stdout] | [INFO] [stdout] 293 | struct JsClosure { [INFO] [stdout] | ^^^^^^^^^ `*mut u8` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `Option<(Closure) -> ...>, ...)>`, the trait `Send` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `ManuallyDrop` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/mem/manually_drop.rs:157:12 [INFO] [stdout] note: required because it appears within the type `Closure) -> Result>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/closure.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 242 | pub struct Closure { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: required because it appears within the type `(Closure) -> Result<..., ...>>, ...)` [INFO] [stdout] note: required because it appears within the type `Option<(Closure) -> ...>, ...)>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/option.rs:592:10 [INFO] [stdout] = note: required for `RefCell) -> ...>, ...)>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `JsClosure` [INFO] [stdout] --> wasm/lib/src/js_module.rs:293:12 [INFO] [stdout] | [INFO] [stdout] 293 | struct JsClosure { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `JsClosure` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `PyPayload` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait PyPayload: [INFO] [stdout] | --------- required by a bound in this trait [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/rustpython_wasm-13e716321234d2dc.long-type-7464790796923404469.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `std::cell::Cell` cannot be shared between threads safely [INFO] [stdout] --> wasm/lib/src/js_module.rs:293:12 [INFO] [stdout] | [INFO] [stdout] 293 | struct JsClosure { [INFO] [stdout] | ^^^^^^^^^ `std::cell::Cell` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `JsClosure`, the trait `Sync` is not implemented for `std::cell::Cell` [INFO] [stdout] = note: if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` or `std::sync::atomic::AtomicBool` instead [INFO] [stdout] note: required because it appears within the type `JsClosure` [INFO] [stdout] --> wasm/lib/src/js_module.rs:293:12 [INFO] [stdout] | [INFO] [stdout] 293 | struct JsClosure { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `JsClosure` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `PyPayload` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait PyPayload: [INFO] [stdout] | --------- required by a bound in this trait [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `dyn FnMut(JsValue, Box<[JsValue]>) -> Result` cannot be sent between threads safely [INFO] [stdout] --> wasm/lib/src/js_module.rs:293:12 [INFO] [stdout] | [INFO] [stdout] 293 | struct JsClosure { [INFO] [stdout] | ^^^^^^^^^ `dyn FnMut(JsValue, Box<[JsValue]>) -> Result` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Send` is not implemented for `dyn FnMut(JsValue, Box<[JsValue]>) -> Result` [INFO] [stdout] = note: required for `Unique) -> Result>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box) -> Result>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `ManuallyDrop) -> ...>>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/mem/manually_drop.rs:157:12 [INFO] [stdout] note: required because it appears within the type `Closure) -> Result>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/closure.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 242 | pub struct Closure { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: required because it appears within the type `(Closure) -> Result<..., ...>>, ...)` [INFO] [stdout] note: required because it appears within the type `Option<(Closure) -> ...>, ...)>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/option.rs:592:10 [INFO] [stdout] = note: required for `RefCell) -> ...>, ...)>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `JsClosure` [INFO] [stdout] --> wasm/lib/src/js_module.rs:293:12 [INFO] [stdout] | [INFO] [stdout] 293 | struct JsClosure { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `JsClosure` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `PyPayload` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait PyPayload: [INFO] [stdout] | --------- required by a bound in this trait [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/rustpython_wasm-13e716321234d2dc.long-type-883278729922214377.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be sent between threads safely [INFO] [stdout] --> wasm/lib/src/js_module.rs:293:12 [INFO] [stdout] | [INFO] [stdout] 293 | struct JsClosure { [INFO] [stdout] | ^^^^^^^^^ `*mut u8` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `Option<(Closure) -> ...>, ...)>`, the trait `Send` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `ManuallyDrop` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/mem/manually_drop.rs:157:12 [INFO] [stdout] note: required because it appears within the type `Closure) -> Result>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/closure.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 242 | pub struct Closure { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: required because it appears within the type `(Closure) -> Result<..., ...>>, ...)` [INFO] [stdout] note: required because it appears within the type `Option<(Closure) -> ...>, ...)>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/option.rs:592:10 [INFO] [stdout] = note: required for `RefCell) -> ...>, ...)>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `JsClosure` [INFO] [stdout] --> wasm/lib/src/js_module.rs:293:12 [INFO] [stdout] | [INFO] [stdout] 293 | struct JsClosure { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `JsClosure` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `PyPayload` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait PyPayload: [INFO] [stdout] | --------- required by a bound in this trait [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/rustpython_wasm-7736204ceb6f9dd2.long-type-15781391665461620956.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `dyn FnMut(JsValue, Box<[JsValue]>) -> Result` cannot be sent between threads safely [INFO] [stdout] --> wasm/lib/src/js_module.rs:293:12 [INFO] [stdout] | [INFO] [stdout] 293 | struct JsClosure { [INFO] [stdout] | ^^^^^^^^^ `dyn FnMut(JsValue, Box<[JsValue]>) -> Result` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Send` is not implemented for `dyn FnMut(JsValue, Box<[JsValue]>) -> Result` [INFO] [stdout] = note: required for `Unique) -> Result>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box) -> Result>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `ManuallyDrop) -> ...>>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/mem/manually_drop.rs:157:12 [INFO] [stdout] note: required because it appears within the type `Closure) -> Result>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/closure.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 242 | pub struct Closure { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: required because it appears within the type `(Closure) -> Result<..., ...>>, ...)` [INFO] [stdout] note: required because it appears within the type `Option<(Closure) -> ...>, ...)>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/option.rs:592:10 [INFO] [stdout] = note: required for `RefCell) -> ...>, ...)>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `JsClosure` [INFO] [stdout] --> wasm/lib/src/js_module.rs:293:12 [INFO] [stdout] | [INFO] [stdout] 293 | struct JsClosure { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `JsClosure` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `PyPayload` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait PyPayload: [INFO] [stdout] | --------- required by a bound in this trait [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/rustpython_wasm-7736204ceb6f9dd2.long-type-6419163339174867858.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be shared between threads safely [INFO] [stdout] --> wasm/lib/src/js_module.rs:388:16 [INFO] [stdout] | [INFO] [stdout] 388 | pub struct PyPromise { [INFO] [stdout] | ^^^^^^^^^ `*mut u8` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `PyPromise`, the trait `Sync` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `Object` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:3445:14 [INFO] [stdout] | [INFO] [stdout] 3445 | pub type Object; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `Promise` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:5923:14 [INFO] [stdout] | [INFO] [stdout] 5923 | pub type Promise; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PromiseKind` [INFO] [stdout] --> wasm/lib/src/js_module.rs:393:10 [INFO] [stdout] | [INFO] [stdout] 393 | enum PromiseKind { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PyPromise` [INFO] [stdout] --> wasm/lib/src/js_module.rs:388:16 [INFO] [stdout] | [INFO] [stdout] 388 | pub struct PyPromise { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `PyPromise` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `PyPayload` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait PyPayload: [INFO] [stdout] | --------- required by a bound in this trait [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be sent between threads safely [INFO] [stdout] --> wasm/lib/src/js_module.rs:388:16 [INFO] [stdout] | [INFO] [stdout] 388 | pub struct PyPromise { [INFO] [stdout] | ^^^^^^^^^ `*mut u8` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `PyPromise`, the trait `Send` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `Object` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:3445:14 [INFO] [stdout] | [INFO] [stdout] 3445 | pub type Object; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `Promise` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:5923:14 [INFO] [stdout] | [INFO] [stdout] 5923 | pub type Promise; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PromiseKind` [INFO] [stdout] --> wasm/lib/src/js_module.rs:393:10 [INFO] [stdout] | [INFO] [stdout] 393 | enum PromiseKind { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PyPromise` [INFO] [stdout] --> wasm/lib/src/js_module.rs:388:16 [INFO] [stdout] | [INFO] [stdout] 388 | pub struct PyPromise { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `PyPromise` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `PyPayload` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait PyPayload: [INFO] [stdout] | --------- required by a bound in this trait [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `std::cell::Cell>` cannot be shared between threads safely [INFO] [stdout] --> wasm/lib/src/js_module.rs:560:12 [INFO] [stdout] | [INFO] [stdout] 560 | struct AwaitPromise { [INFO] [stdout] | ^^^^^^^^^^^^ `std::cell::Cell>` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `AwaitPromise`, the trait `Sync` is not implemented for `std::cell::Cell>` [INFO] [stdout] = note: if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` [INFO] [stdout] note: required because it appears within the type `AwaitPromise` [INFO] [stdout] --> wasm/lib/src/js_module.rs:560:12 [INFO] [stdout] | [INFO] [stdout] 560 | struct AwaitPromise { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: required for `AwaitPromise` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `PyPayload` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait PyPayload: [INFO] [stdout] | --------- required by a bound in this trait [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `std::cell::Cell>` cannot be shared between threads safely [INFO] [stdout] --> wasm/lib/src/js_module.rs:605:23 [INFO] [stdout] | [INFO] [stdout] 605 | impl SelfIter for AwaitPromise {} [INFO] [stdout] | ^^^^^^^^^^^^ `std::cell::Cell>` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `AwaitPromise`, the trait `Sync` is not implemented for `std::cell::Cell>` [INFO] [stdout] = note: if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` [INFO] [stdout] = help: the trait `PyPayload` is not implemented for `AwaitPromise` [INFO] [stdout] but trait `PyPayload` is implemented for it [INFO] [stdout] note: required because it appears within the type `AwaitPromise` [INFO] [stdout] --> wasm/lib/src/js_module.rs:560:12 [INFO] [stdout] | [INFO] [stdout] 560 | struct AwaitPromise { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: required for `AwaitPromise` to implement `PyThreadingConstraint` [INFO] [stdout] = note: required for `AwaitPromise` to implement `PyPayload` [INFO] [stdout] note: required by a bound in `SelfIter` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/types/slot.rs:1316:21 [INFO] [stdout] | [INFO] [stdout] 1316 | pub trait SelfIter: PyPayload {} [INFO] [stdout] | ^^^^^^^^^ required by this bound in `SelfIter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `std::cell::Cell>` cannot be shared between threads safely [INFO] [stdout] --> wasm/lib/src/js_module.rs:606:23 [INFO] [stdout] | [INFO] [stdout] 606 | impl IterNext for AwaitPromise { [INFO] [stdout] | ^^^^^^^^^^^^ `std::cell::Cell>` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `AwaitPromise`, the trait `Sync` is not implemented for `std::cell::Cell>` [INFO] [stdout] = note: if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` [INFO] [stdout] = help: the trait `PyPayload` is not implemented for `AwaitPromise` [INFO] [stdout] but trait `PyPayload` is implemented for it [INFO] [stdout] note: required because it appears within the type `AwaitPromise` [INFO] [stdout] --> wasm/lib/src/js_module.rs:560:12 [INFO] [stdout] | [INFO] [stdout] 560 | struct AwaitPromise { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: required for `AwaitPromise` to implement `PyThreadingConstraint` [INFO] [stdout] = note: required for `AwaitPromise` to implement `PyPayload` [INFO] [stdout] note: required by a bound in `IterNext` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/types/slot.rs:1298:21 [INFO] [stdout] | [INFO] [stdout] 1298 | pub trait IterNext: PyPayload + Iterable { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `IterNext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be shared between threads safely [INFO] [stdout] --> wasm/lib/src/js_module.rs:388:16 [INFO] [stdout] | [INFO] [stdout] 388 | pub struct PyPromise { [INFO] [stdout] | ^^^^^^^^^ `*mut u8` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `PyPromise`, the trait `Sync` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `Object` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:3445:14 [INFO] [stdout] | [INFO] [stdout] 3445 | pub type Object; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `Promise` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:5923:14 [INFO] [stdout] | [INFO] [stdout] 5923 | pub type Promise; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PromiseKind` [INFO] [stdout] --> wasm/lib/src/js_module.rs:393:10 [INFO] [stdout] | [INFO] [stdout] 393 | enum PromiseKind { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PyPromise` [INFO] [stdout] --> wasm/lib/src/js_module.rs:388:16 [INFO] [stdout] | [INFO] [stdout] 388 | pub struct PyPromise { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `PyPromise` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `PyPayload` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait PyPayload: [INFO] [stdout] | --------- required by a bound in this trait [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be sent between threads safely [INFO] [stdout] --> wasm/lib/src/js_module.rs:388:16 [INFO] [stdout] | [INFO] [stdout] 388 | pub struct PyPromise { [INFO] [stdout] | ^^^^^^^^^ `*mut u8` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `PyPromise`, the trait `Send` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `Object` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:3445:14 [INFO] [stdout] | [INFO] [stdout] 3445 | pub type Object; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `Promise` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:5923:14 [INFO] [stdout] | [INFO] [stdout] 5923 | pub type Promise; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PromiseKind` [INFO] [stdout] --> wasm/lib/src/js_module.rs:393:10 [INFO] [stdout] | [INFO] [stdout] 393 | enum PromiseKind { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PyPromise` [INFO] [stdout] --> wasm/lib/src/js_module.rs:388:16 [INFO] [stdout] | [INFO] [stdout] 388 | pub struct PyPromise { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `PyPromise` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `PyPayload` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait PyPayload: [INFO] [stdout] | --------- required by a bound in this trait [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `std::cell::Cell>` cannot be shared between threads safely [INFO] [stdout] --> wasm/lib/src/js_module.rs:560:12 [INFO] [stdout] | [INFO] [stdout] 560 | struct AwaitPromise { [INFO] [stdout] | ^^^^^^^^^^^^ `std::cell::Cell>` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `AwaitPromise`, the trait `Sync` is not implemented for `std::cell::Cell>` [INFO] [stdout] = note: if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` [INFO] [stdout] note: required because it appears within the type `AwaitPromise` [INFO] [stdout] --> wasm/lib/src/js_module.rs:560:12 [INFO] [stdout] | [INFO] [stdout] 560 | struct AwaitPromise { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: required for `AwaitPromise` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `PyPayload` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait PyPayload: [INFO] [stdout] | --------- required by a bound in this trait [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be sent between threads safely [INFO] [stdout] --> wasm/lib/src/browser_module.rs:115:43 [INFO] [stdout] | [INFO] [stdout] 115 | Ok(PyPromise::from_future(future).into_pyobject(vm)) [INFO] [stdout] | ^^^^^^^^^^^^^ `*mut u8` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `PyPromise`, the trait `Send` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `Object` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:3445:14 [INFO] [stdout] | [INFO] [stdout] 3445 | pub type Object; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `Promise` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:5923:14 [INFO] [stdout] | [INFO] [stdout] 5923 | pub type Promise; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PromiseKind` [INFO] [stdout] --> wasm/lib/src/js_module.rs:393:10 [INFO] [stdout] | [INFO] [stdout] 393 | enum PromiseKind { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PyPromise` [INFO] [stdout] --> wasm/lib/src/js_module.rs:388:16 [INFO] [stdout] | [INFO] [stdout] 388 | pub struct PyPromise { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `PyPromise` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `into_pyobject` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload::into_pyobject` [INFO] [stdout] ... [INFO] [stdout] 25 | fn into_pyobject(self, vm: &VirtualMachine) -> PyObjectRef { [INFO] [stdout] | ------------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be shared between threads safely [INFO] [stdout] --> wasm/lib/src/browser_module.rs:115:43 [INFO] [stdout] | [INFO] [stdout] 115 | Ok(PyPromise::from_future(future).into_pyobject(vm)) [INFO] [stdout] | ^^^^^^^^^^^^^ `*mut u8` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `PyPromise`, the trait `Sync` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `Object` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:3445:14 [INFO] [stdout] | [INFO] [stdout] 3445 | pub type Object; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `Promise` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:5923:14 [INFO] [stdout] | [INFO] [stdout] 5923 | pub type Promise; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PromiseKind` [INFO] [stdout] --> wasm/lib/src/js_module.rs:393:10 [INFO] [stdout] | [INFO] [stdout] 393 | enum PromiseKind { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PyPromise` [INFO] [stdout] --> wasm/lib/src/js_module.rs:388:16 [INFO] [stdout] | [INFO] [stdout] 388 | pub struct PyPromise { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `PyPromise` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `into_pyobject` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload::into_pyobject` [INFO] [stdout] ... [INFO] [stdout] 25 | fn into_pyobject(self, vm: &VirtualMachine) -> PyObjectRef { [INFO] [stdout] | ------------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `std::cell::Cell>` cannot be shared between threads safely [INFO] [stdout] --> wasm/lib/src/js_module.rs:605:23 [INFO] [stdout] | [INFO] [stdout] 605 | impl SelfIter for AwaitPromise {} [INFO] [stdout] | ^^^^^^^^^^^^ `std::cell::Cell>` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `AwaitPromise`, the trait `Sync` is not implemented for `std::cell::Cell>` [INFO] [stdout] = note: if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` [INFO] [stdout] = help: the trait `PyPayload` is not implemented for `AwaitPromise` [INFO] [stdout] but trait `PyPayload` is implemented for it [INFO] [stdout] note: required because it appears within the type `AwaitPromise` [INFO] [stdout] --> wasm/lib/src/js_module.rs:560:12 [INFO] [stdout] | [INFO] [stdout] 560 | struct AwaitPromise { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: required for `AwaitPromise` to implement `PyThreadingConstraint` [INFO] [stdout] = note: required for `AwaitPromise` to implement `PyPayload` [INFO] [stdout] note: required by a bound in `SelfIter` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/types/slot.rs:1316:21 [INFO] [stdout] | [INFO] [stdout] 1316 | pub trait SelfIter: PyPayload {} [INFO] [stdout] | ^^^^^^^^^ required by this bound in `SelfIter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `std::cell::Cell>` cannot be shared between threads safely [INFO] [stdout] --> wasm/lib/src/js_module.rs:606:23 [INFO] [stdout] | [INFO] [stdout] 606 | impl IterNext for AwaitPromise { [INFO] [stdout] | ^^^^^^^^^^^^ `std::cell::Cell>` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `AwaitPromise`, the trait `Sync` is not implemented for `std::cell::Cell>` [INFO] [stdout] = note: if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` [INFO] [stdout] = help: the trait `PyPayload` is not implemented for `AwaitPromise` [INFO] [stdout] but trait `PyPayload` is implemented for it [INFO] [stdout] note: required because it appears within the type `AwaitPromise` [INFO] [stdout] --> wasm/lib/src/js_module.rs:560:12 [INFO] [stdout] | [INFO] [stdout] 560 | struct AwaitPromise { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: required for `AwaitPromise` to implement `PyThreadingConstraint` [INFO] [stdout] = note: required for `AwaitPromise` to implement `PyPayload` [INFO] [stdout] note: required by a bound in `IterNext` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/types/slot.rs:1298:21 [INFO] [stdout] | [INFO] [stdout] 1298 | pub trait IterNext: PyPayload + Iterable { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `IterNext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be sent between threads safely [INFO] [stdout] --> wasm/lib/src/browser_module.rs:256:43 [INFO] [stdout] | [INFO] [stdout] 256 | Ok(PyPromise::from_future(future).into_pyobject(vm)) [INFO] [stdout] | ^^^^^^^^^^^^^ `*mut u8` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `PyPromise`, the trait `Send` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `Object` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:3445:14 [INFO] [stdout] | [INFO] [stdout] 3445 | pub type Object; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `Promise` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:5923:14 [INFO] [stdout] | [INFO] [stdout] 5923 | pub type Promise; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PromiseKind` [INFO] [stdout] --> wasm/lib/src/js_module.rs:393:10 [INFO] [stdout] | [INFO] [stdout] 393 | enum PromiseKind { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PyPromise` [INFO] [stdout] --> wasm/lib/src/js_module.rs:388:16 [INFO] [stdout] | [INFO] [stdout] 388 | pub struct PyPromise { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `PyPromise` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `into_pyobject` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload::into_pyobject` [INFO] [stdout] ... [INFO] [stdout] 25 | fn into_pyobject(self, vm: &VirtualMachine) -> PyObjectRef { [INFO] [stdout] | ------------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be shared between threads safely [INFO] [stdout] --> wasm/lib/src/browser_module.rs:256:43 [INFO] [stdout] | [INFO] [stdout] 256 | Ok(PyPromise::from_future(future).into_pyobject(vm)) [INFO] [stdout] | ^^^^^^^^^^^^^ `*mut u8` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `PyPromise`, the trait `Sync` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `Object` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:3445:14 [INFO] [stdout] | [INFO] [stdout] 3445 | pub type Object; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `Promise` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:5923:14 [INFO] [stdout] | [INFO] [stdout] 5923 | pub type Promise; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PromiseKind` [INFO] [stdout] --> wasm/lib/src/js_module.rs:393:10 [INFO] [stdout] | [INFO] [stdout] 393 | enum PromiseKind { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PyPromise` [INFO] [stdout] --> wasm/lib/src/js_module.rs:388:16 [INFO] [stdout] | [INFO] [stdout] 388 | pub struct PyPromise { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `PyPromise` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `into_pyobject` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload::into_pyobject` [INFO] [stdout] ... [INFO] [stdout] 25 | fn into_pyobject(self, vm: &VirtualMachine) -> PyObjectRef { [INFO] [stdout] | ------------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be sent between threads safely [INFO] [stdout] --> wasm/lib/src/convert.rs:179:22 [INFO] [stdout] | [INFO] [stdout] 179 | .into_ref(&vm.ctx) [INFO] [stdout] | ^^^^^^^^ `*mut u8` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `PyPromise`, the trait `Send` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `Object` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:3445:14 [INFO] [stdout] | [INFO] [stdout] 3445 | pub type Object; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `Promise` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:5923:14 [INFO] [stdout] | [INFO] [stdout] 5923 | pub type Promise; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PromiseKind` [INFO] [stdout] --> wasm/lib/src/js_module.rs:393:10 [INFO] [stdout] | [INFO] [stdout] 393 | enum PromiseKind { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PyPromise` [INFO] [stdout] --> wasm/lib/src/js_module.rs:388:16 [INFO] [stdout] | [INFO] [stdout] 388 | pub struct PyPromise { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `PyPromise` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `into_ref` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload::into_ref` [INFO] [stdout] ... [INFO] [stdout] 48 | fn into_ref(self, ctx: &Context) -> PyRef { [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be shared between threads safely [INFO] [stdout] --> wasm/lib/src/convert.rs:179:22 [INFO] [stdout] | [INFO] [stdout] 179 | .into_ref(&vm.ctx) [INFO] [stdout] | ^^^^^^^^ `*mut u8` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `PyPromise`, the trait `Sync` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `Object` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:3445:14 [INFO] [stdout] | [INFO] [stdout] 3445 | pub type Object; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `Promise` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:5923:14 [INFO] [stdout] | [INFO] [stdout] 5923 | pub type Promise; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PromiseKind` [INFO] [stdout] --> wasm/lib/src/js_module.rs:393:10 [INFO] [stdout] | [INFO] [stdout] 393 | enum PromiseKind { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PyPromise` [INFO] [stdout] --> wasm/lib/src/js_module.rs:388:16 [INFO] [stdout] | [INFO] [stdout] 388 | pub struct PyPromise { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `PyPromise` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `into_ref` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload::into_ref` [INFO] [stdout] ... [INFO] [stdout] 48 | fn into_ref(self, ctx: &Context) -> PyRef { [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be sent between threads safely [INFO] [stdout] --> wasm/lib/src/js_module.rs:322:64 [INFO] [stdout] | [INFO] [stdout] 322 | let mut pyargs = vec![PyJsValue::new(this).into_pyobject(vm)]; [INFO] [stdout] | ^^^^^^^^^^^^^ `*mut u8` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `PyJsValue`, the trait `Send` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PyJsValue` [INFO] [stdout] --> wasm/lib/src/js_module.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct PyJsValue { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `PyJsValue` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `into_pyobject` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload::into_pyobject` [INFO] [stdout] ... [INFO] [stdout] 25 | fn into_pyobject(self, vm: &VirtualMachine) -> PyObjectRef { [INFO] [stdout] | ------------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be shared between threads safely [INFO] [stdout] --> wasm/lib/src/js_module.rs:322:64 [INFO] [stdout] | [INFO] [stdout] 322 | let mut pyargs = vec![PyJsValue::new(this).into_pyobject(vm)]; [INFO] [stdout] | ^^^^^^^^^^^^^ `*mut u8` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `PyJsValue`, the trait `Sync` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PyJsValue` [INFO] [stdout] --> wasm/lib/src/js_module.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct PyJsValue { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `PyJsValue` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `into_pyobject` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload::into_pyobject` [INFO] [stdout] ... [INFO] [stdout] 25 | fn into_pyobject(self, vm: &VirtualMachine) -> PyObjectRef { [INFO] [stdout] | ------------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be sent between threads safely [INFO] [stdout] --> wasm/lib/src/js_module.rs:326:60 [INFO] [stdout] | [INFO] [stdout] 326 | ... .map(|arg| PyJsValue::new(arg).into_pyobject(vm)), [INFO] [stdout] | ^^^^^^^^^^^^^ `*mut u8` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `PyJsValue`, the trait `Send` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PyJsValue` [INFO] [stdout] --> wasm/lib/src/js_module.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct PyJsValue { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `PyJsValue` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `into_pyobject` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload::into_pyobject` [INFO] [stdout] ... [INFO] [stdout] 25 | fn into_pyobject(self, vm: &VirtualMachine) -> PyObjectRef { [INFO] [stdout] | ------------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be shared between threads safely [INFO] [stdout] --> wasm/lib/src/js_module.rs:326:60 [INFO] [stdout] | [INFO] [stdout] 326 | ... .map(|arg| PyJsValue::new(arg).into_pyobject(vm)), [INFO] [stdout] | ^^^^^^^^^^^^^ `*mut u8` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `PyJsValue`, the trait `Sync` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PyJsValue` [INFO] [stdout] --> wasm/lib/src/js_module.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct PyJsValue { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `PyJsValue` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `into_pyobject` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload::into_pyobject` [INFO] [stdout] ... [INFO] [stdout] 25 | fn into_pyobject(self, vm: &VirtualMachine) -> PyObjectRef { [INFO] [stdout] | ------------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be sent between threads safely [INFO] [stdout] --> wasm/lib/src/js_module.rs:337:74 [INFO] [stdout] | [INFO] [stdout] 337 | let wrapped = PyJsValue::new(wrap_closure(closure.as_ref())).into_ref(&vm.ctx); [INFO] [stdout] | ^^^^^^^^ `*mut u8` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `PyJsValue`, the trait `Send` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PyJsValue` [INFO] [stdout] --> wasm/lib/src/js_module.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct PyJsValue { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `PyJsValue` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `into_ref` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload::into_ref` [INFO] [stdout] ... [INFO] [stdout] 48 | fn into_ref(self, ctx: &Context) -> PyRef { [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be shared between threads safely [INFO] [stdout] --> wasm/lib/src/js_module.rs:337:74 [INFO] [stdout] | [INFO] [stdout] 337 | let wrapped = PyJsValue::new(wrap_closure(closure.as_ref())).into_ref(&vm.ctx); [INFO] [stdout] | ^^^^^^^^ `*mut u8` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `PyJsValue`, the trait `Sync` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PyJsValue` [INFO] [stdout] --> wasm/lib/src/js_module.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct PyJsValue { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `PyJsValue` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `into_ref` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload::into_ref` [INFO] [stdout] ... [INFO] [stdout] 48 | fn into_ref(self, ctx: &Context) -> PyRef { [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be sent between threads safely [INFO] [stdout] --> wasm/lib/src/js_module.rs:426:56 [INFO] [stdout] | [INFO] [stdout] 417 | let resolve = move |res: PyObjectRef, vm: &VirtualMachine| { [INFO] [stdout] | -------------------------------------------- within this `{closure@wasm/lib/src/js_module.rs:417:35: 417:79}` [INFO] [stdout] ... [INFO] [stdout] 426 | vm.new_function("resolve", resolve), [INFO] [stdout] | ------------ ^^^^^^^ `*mut u8` cannot be sent between threads safely [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: within `{closure@wasm/lib/src/js_module.rs:417:35: 417:79}`, the trait `Send` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `Object` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:3445:14 [INFO] [stdout] | [INFO] [stdout] 3445 | pub type Object; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `js_sys::Function` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:1942:14 [INFO] [stdout] | [INFO] [stdout] 1942 | pub type Function; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: required because it's used within this closure [INFO] [stdout] --> wasm/lib/src/js_module.rs:417:35 [INFO] [stdout] | [INFO] [stdout] 417 | let resolve = move |res: PyObjectRef, vm: &VirtualMachine| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `{closure@wasm/lib/src/js_module.rs:417:35: 417:79}` to implement `PyThreadingConstraint` [INFO] [stdout] = note: required for `{closure@wasm/lib/src/js_module.rs:417:35: 417:79}` to implement `function::builtin::sealed::PyNativeFnInternal<(function::builtin::OwnedParam,), (), VirtualMachine>` [INFO] [stdout] = note: required for `{closure@wasm/lib/src/js_module.rs:417:35: 417:79}` to implement `IntoPyNativeFn<((function::builtin::OwnedParam,), (), VirtualMachine)>` [INFO] [stdout] note: required by a bound in `vm::vm_new::::new_function` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/vm/vm_new.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new_function(&self, name: &'static str, f: F) -> PyRef [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 47 | where [INFO] [stdout] 48 | F: IntoPyNativeFn, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `vm::vm_new::::new_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be shared between threads safely [INFO] [stdout] --> wasm/lib/src/js_module.rs:426:56 [INFO] [stdout] | [INFO] [stdout] 417 | let resolve = move |res: PyObjectRef, vm: &VirtualMachine| { [INFO] [stdout] | -------------------------------------------- within this `{closure@wasm/lib/src/js_module.rs:417:35: 417:79}` [INFO] [stdout] ... [INFO] [stdout] 426 | vm.new_function("resolve", resolve), [INFO] [stdout] | ------------ ^^^^^^^ `*mut u8` cannot be shared between threads safely [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: within `{closure@wasm/lib/src/js_module.rs:417:35: 417:79}`, the trait `Sync` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `Object` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:3445:14 [INFO] [stdout] | [INFO] [stdout] 3445 | pub type Object; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `js_sys::Function` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:1942:14 [INFO] [stdout] | [INFO] [stdout] 1942 | pub type Function; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: required because it's used within this closure [INFO] [stdout] --> wasm/lib/src/js_module.rs:417:35 [INFO] [stdout] | [INFO] [stdout] 417 | let resolve = move |res: PyObjectRef, vm: &VirtualMachine| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `{closure@wasm/lib/src/js_module.rs:417:35: 417:79}` to implement `PyThreadingConstraint` [INFO] [stdout] = note: required for `{closure@wasm/lib/src/js_module.rs:417:35: 417:79}` to implement `function::builtin::sealed::PyNativeFnInternal<(function::builtin::OwnedParam,), (), VirtualMachine>` [INFO] [stdout] = note: required for `{closure@wasm/lib/src/js_module.rs:417:35: 417:79}` to implement `IntoPyNativeFn<((function::builtin::OwnedParam,), (), VirtualMachine)>` [INFO] [stdout] note: required by a bound in `vm::vm_new::::new_function` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/vm/vm_new.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new_function(&self, name: &'static str, f: F) -> PyRef [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 47 | where [INFO] [stdout] 48 | F: IntoPyNativeFn, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `vm::vm_new::::new_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be sent between threads safely [INFO] [stdout] --> wasm/lib/src/js_module.rs:462:34 [INFO] [stdout] | [INFO] [stdout] 462 | Self::cast(obj, vm)?.into_ref_with_type(vm, cls) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `*mut u8` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `PyPromise`, the trait `Send` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `Object` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:3445:14 [INFO] [stdout] | [INFO] [stdout] 3445 | pub type Object; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `Promise` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:5923:14 [INFO] [stdout] | [INFO] [stdout] 5923 | pub type Promise; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PromiseKind` [INFO] [stdout] --> wasm/lib/src/js_module.rs:393:10 [INFO] [stdout] | [INFO] [stdout] 393 | enum PromiseKind { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PyPromise` [INFO] [stdout] --> wasm/lib/src/js_module.rs:388:16 [INFO] [stdout] | [INFO] [stdout] 388 | pub struct PyPromise { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `PyPromise` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `into_ref_with_type` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload::into_ref_with_type` [INFO] [stdout] ... [INFO] [stdout] 54 | fn into_ref_with_type(self, vm: &VirtualMachine, cls: PyTypeRef) -> PyResult> { [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be shared between threads safely [INFO] [stdout] --> wasm/lib/src/js_module.rs:462:34 [INFO] [stdout] | [INFO] [stdout] 462 | Self::cast(obj, vm)?.into_ref_with_type(vm, cls) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `*mut u8` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `PyPromise`, the trait `Sync` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `Object` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:3445:14 [INFO] [stdout] | [INFO] [stdout] 3445 | pub type Object; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `Promise` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:5923:14 [INFO] [stdout] | [INFO] [stdout] 5923 | pub type Promise; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PromiseKind` [INFO] [stdout] --> wasm/lib/src/js_module.rs:393:10 [INFO] [stdout] | [INFO] [stdout] 393 | enum PromiseKind { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PyPromise` [INFO] [stdout] --> wasm/lib/src/js_module.rs:388:16 [INFO] [stdout] | [INFO] [stdout] 388 | pub struct PyPromise { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `PyPromise` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `into_ref_with_type` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload::into_ref_with_type` [INFO] [stdout] ... [INFO] [stdout] 54 | fn into_ref_with_type(self, vm: &VirtualMachine, cls: PyTypeRef) -> PyResult> { [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be sent between threads safely [INFO] [stdout] --> wasm/lib/src/browser_module.rs:115:43 [INFO] [stdout] | [INFO] [stdout] 115 | Ok(PyPromise::from_future(future).into_pyobject(vm)) [INFO] [stdout] | ^^^^^^^^^^^^^ `*mut u8` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `PyPromise`, the trait `Send` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `Object` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:3445:14 [INFO] [stdout] | [INFO] [stdout] 3445 | pub type Object; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `Promise` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:5923:14 [INFO] [stdout] | [INFO] [stdout] 5923 | pub type Promise; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PromiseKind` [INFO] [stdout] --> wasm/lib/src/js_module.rs:393:10 [INFO] [stdout] | [INFO] [stdout] 393 | enum PromiseKind { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PyPromise` [INFO] [stdout] --> wasm/lib/src/js_module.rs:388:16 [INFO] [stdout] | [INFO] [stdout] 388 | pub struct PyPromise { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `PyPromise` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `into_pyobject` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload::into_pyobject` [INFO] [stdout] ... [INFO] [stdout] 25 | fn into_pyobject(self, vm: &VirtualMachine) -> PyObjectRef { [INFO] [stdout] | ------------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be sent between threads safely [INFO] [stdout] --> wasm/lib/src/js_module.rs:474:14 [INFO] [stdout] | [INFO] [stdout] 474 | .into_ref_with_type(vm, cls) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `*mut u8` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `PyPromise`, the trait `Send` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `Object` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:3445:14 [INFO] [stdout] | [INFO] [stdout] 3445 | pub type Object; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `Promise` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:5923:14 [INFO] [stdout] | [INFO] [stdout] 5923 | pub type Promise; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PromiseKind` [INFO] [stdout] --> wasm/lib/src/js_module.rs:393:10 [INFO] [stdout] | [INFO] [stdout] 393 | enum PromiseKind { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PyPromise` [INFO] [stdout] --> wasm/lib/src/js_module.rs:388:16 [INFO] [stdout] | [INFO] [stdout] 388 | pub struct PyPromise { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `PyPromise` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `into_ref_with_type` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload::into_ref_with_type` [INFO] [stdout] ... [INFO] [stdout] 54 | fn into_ref_with_type(self, vm: &VirtualMachine, cls: PyTypeRef) -> PyResult> { [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be shared between threads safely [INFO] [stdout] --> wasm/lib/src/js_module.rs:474:14 [INFO] [stdout] | [INFO] [stdout] 474 | .into_ref_with_type(vm, cls) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `*mut u8` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `PyPromise`, the trait `Sync` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `Object` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:3445:14 [INFO] [stdout] | [INFO] [stdout] 3445 | pub type Object; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `Promise` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:5923:14 [INFO] [stdout] | [INFO] [stdout] 5923 | pub type Promise; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PromiseKind` [INFO] [stdout] --> wasm/lib/src/js_module.rs:393:10 [INFO] [stdout] | [INFO] [stdout] 393 | enum PromiseKind { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PyPromise` [INFO] [stdout] --> wasm/lib/src/js_module.rs:388:16 [INFO] [stdout] | [INFO] [stdout] 388 | pub struct PyPromise { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `PyPromise` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `into_ref_with_type` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload::into_ref_with_type` [INFO] [stdout] ... [INFO] [stdout] 54 | fn into_ref_with_type(self, vm: &VirtualMachine, cls: PyTypeRef) -> PyResult> { [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be sent between threads safely [INFO] [stdout] --> wasm/lib/src/vm_class.rs:35:72 [INFO] [stdout] | [INFO] [stdout] 35 | "window" => js_module::PyJsValue::new(wasm_builtins::window()).into_ref(&vm.ctx), [INFO] [stdout] | ^^^^^^^^ `*mut u8` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `PyJsValue`, the trait `Send` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PyJsValue` [INFO] [stdout] --> wasm/lib/src/js_module.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct PyJsValue { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `PyJsValue` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `into_ref` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload::into_ref` [INFO] [stdout] ... [INFO] [stdout] 48 | fn into_ref(self, ctx: &Context) -> PyRef { [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be shared between threads safely [INFO] [stdout] --> wasm/lib/src/vm_class.rs:35:72 [INFO] [stdout] | [INFO] [stdout] 35 | "window" => js_module::PyJsValue::new(wasm_builtins::window()).into_ref(&vm.ctx), [INFO] [stdout] | ^^^^^^^^ `*mut u8` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `PyJsValue`, the trait `Sync` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PyJsValue` [INFO] [stdout] --> wasm/lib/src/js_module.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct PyJsValue { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `PyJsValue` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `into_ref` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload::into_ref` [INFO] [stdout] ... [INFO] [stdout] 48 | fn into_ref(self, ctx: &Context) -> PyRef { [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `impl Fn(&str, &VirtualMachine) -> PyResult<()> + 'static` cannot be sent between threads safely [INFO] [stdout] --> wasm/lib/src/wasm_builtins.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 32 | let write_method = vm.new_method( [INFO] [stdout] | ---------- required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 35 | move |_self: PyObjectRef, data: PyStrRef, vm: &VirtualMachine| -> PyResult<()> { [INFO] [stdout] | ^----------------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | _________within this `{closure@wasm/lib/src/wasm_builtins.rs:35:9: 35:87}` [INFO] [stdout] | | [INFO] [stdout] 36 | | write_f(data.as_str(), vm) [INFO] [stdout] 37 | | }, [INFO] [stdout] | |_________^ `impl Fn(&str, &VirtualMachine) -> PyResult<()> + 'static` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] note: required because it's used within this closure [INFO] [stdout] --> wasm/lib/src/wasm_builtins.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | move |_self: PyObjectRef, data: PyStrRef, vm: &VirtualMachine| -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `{closure@wasm/lib/src/wasm_builtins.rs:35:9: 35:87}` to implement `PyThreadingConstraint` [INFO] [stdout] = note: required for `{closure@wasm/lib/src/wasm_builtins.rs:35:9: 35:87}` to implement `function::builtin::sealed::PyNativeFnInternal<(function::builtin::OwnedParam, function::builtin::OwnedParam>), Result<(), PyRef>, VirtualMachine>` [INFO] [stdout] = note: required for `{closure@wasm/lib/src/wasm_builtins.rs:35:9: 35:87}` to implement `IntoPyNativeFn<((function::builtin::OwnedParam, function::builtin::OwnedParam>), Result<(), PyRef>, VirtualMachine)>` [INFO] [stdout] note: required by a bound in `vm::vm_new::::new_method` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/vm/vm_new.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn new_method( [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 63 | F: IntoPyNativeFn, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `vm::vm_new::::new_method` [INFO] [stdout] help: use parentheses to call this type parameter [INFO] [stdout] | [INFO] [stdout] 37 | }(/* &str */, /* &VirtualMachine */), [INFO] [stdout] | +++++++++++++++++++++++++++++++++++ [INFO] [stdout] help: consider restricting opaque type `impl Fn(&str, &VirtualMachine) -> PyResult<()> + 'static` with trait `Send` [INFO] [stdout] | [INFO] [stdout] 21 | write_f: impl Fn(&str, &VirtualMachine) -> PyResult<()> + 'static + std::marker::Send, [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be shared between threads safely [INFO] [stdout] --> wasm/lib/src/browser_module.rs:115:43 [INFO] [stdout] | [INFO] [stdout] 115 | Ok(PyPromise::from_future(future).into_pyobject(vm)) [INFO] [stdout] | ^^^^^^^^^^^^^ `*mut u8` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `PyPromise`, the trait `Sync` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `Object` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:3445:14 [INFO] [stdout] | [INFO] [stdout] 3445 | pub type Object; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `Promise` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:5923:14 [INFO] [stdout] | [INFO] [stdout] 5923 | pub type Promise; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PromiseKind` [INFO] [stdout] --> wasm/lib/src/js_module.rs:393:10 [INFO] [stdout] | [INFO] [stdout] 393 | enum PromiseKind { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PyPromise` [INFO] [stdout] --> wasm/lib/src/js_module.rs:388:16 [INFO] [stdout] | [INFO] [stdout] 388 | pub struct PyPromise { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `PyPromise` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `into_pyobject` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload::into_pyobject` [INFO] [stdout] ... [INFO] [stdout] 25 | fn into_pyobject(self, vm: &VirtualMachine) -> PyObjectRef { [INFO] [stdout] | ------------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `impl Fn(&str, &VirtualMachine) -> PyResult<()> + 'static` cannot be shared between threads safely [INFO] [stdout] --> wasm/lib/src/wasm_builtins.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 32 | let write_method = vm.new_method( [INFO] [stdout] | ---------- required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 35 | move |_self: PyObjectRef, data: PyStrRef, vm: &VirtualMachine| -> PyResult<()> { [INFO] [stdout] | ^----------------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | _________within this `{closure@wasm/lib/src/wasm_builtins.rs:35:9: 35:87}` [INFO] [stdout] | | [INFO] [stdout] 36 | | write_f(data.as_str(), vm) [INFO] [stdout] 37 | | }, [INFO] [stdout] | |_________^ `impl Fn(&str, &VirtualMachine) -> PyResult<()> + 'static` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] note: required because it's used within this closure [INFO] [stdout] --> wasm/lib/src/wasm_builtins.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | move |_self: PyObjectRef, data: PyStrRef, vm: &VirtualMachine| -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `{closure@wasm/lib/src/wasm_builtins.rs:35:9: 35:87}` to implement `PyThreadingConstraint` [INFO] [stdout] = note: required for `{closure@wasm/lib/src/wasm_builtins.rs:35:9: 35:87}` to implement `function::builtin::sealed::PyNativeFnInternal<(function::builtin::OwnedParam, function::builtin::OwnedParam>), Result<(), PyRef>, VirtualMachine>` [INFO] [stdout] = note: required for `{closure@wasm/lib/src/wasm_builtins.rs:35:9: 35:87}` to implement `IntoPyNativeFn<((function::builtin::OwnedParam, function::builtin::OwnedParam>), Result<(), PyRef>, VirtualMachine)>` [INFO] [stdout] note: required by a bound in `vm::vm_new::::new_method` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/vm/vm_new.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn new_method( [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 63 | F: IntoPyNativeFn, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `vm::vm_new::::new_method` [INFO] [stdout] help: use parentheses to call this type parameter [INFO] [stdout] | [INFO] [stdout] 37 | }(/* &str */, /* &VirtualMachine */), [INFO] [stdout] | +++++++++++++++++++++++++++++++++++ [INFO] [stdout] help: consider restricting opaque type `impl Fn(&str, &VirtualMachine) -> PyResult<()> + 'static` with trait `Sync` [INFO] [stdout] | [INFO] [stdout] 21 | write_f: impl Fn(&str, &VirtualMachine) -> PyResult<()> + 'static + std::marker::Sync, [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be sent between threads safely [INFO] [stdout] --> wasm/lib/src/browser_module.rs:256:43 [INFO] [stdout] | [INFO] [stdout] 256 | Ok(PyPromise::from_future(future).into_pyobject(vm)) [INFO] [stdout] | ^^^^^^^^^^^^^ `*mut u8` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `PyPromise`, the trait `Send` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `Object` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:3445:14 [INFO] [stdout] | [INFO] [stdout] 3445 | pub type Object; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `Promise` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:5923:14 [INFO] [stdout] | [INFO] [stdout] 5923 | pub type Promise; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PromiseKind` [INFO] [stdout] --> wasm/lib/src/js_module.rs:393:10 [INFO] [stdout] | [INFO] [stdout] 393 | enum PromiseKind { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PyPromise` [INFO] [stdout] --> wasm/lib/src/js_module.rs:388:16 [INFO] [stdout] | [INFO] [stdout] 388 | pub struct PyPromise { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `PyPromise` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `into_pyobject` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload::into_pyobject` [INFO] [stdout] ... [INFO] [stdout] 25 | fn into_pyobject(self, vm: &VirtualMachine) -> PyObjectRef { [INFO] [stdout] | ------------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be shared between threads safely [INFO] [stdout] --> wasm/lib/src/browser_module.rs:256:43 [INFO] [stdout] | [INFO] [stdout] 256 | Ok(PyPromise::from_future(future).into_pyobject(vm)) [INFO] [stdout] | ^^^^^^^^^^^^^ `*mut u8` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `PyPromise`, the trait `Sync` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `Object` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:3445:14 [INFO] [stdout] | [INFO] [stdout] 3445 | pub type Object; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `Promise` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:5923:14 [INFO] [stdout] | [INFO] [stdout] 5923 | pub type Promise; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PromiseKind` [INFO] [stdout] --> wasm/lib/src/js_module.rs:393:10 [INFO] [stdout] | [INFO] [stdout] 393 | enum PromiseKind { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PyPromise` [INFO] [stdout] --> wasm/lib/src/js_module.rs:388:16 [INFO] [stdout] | [INFO] [stdout] 388 | pub struct PyPromise { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `PyPromise` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `into_pyobject` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload::into_pyobject` [INFO] [stdout] ... [INFO] [stdout] 25 | fn into_pyobject(self, vm: &VirtualMachine) -> PyObjectRef { [INFO] [stdout] | ------------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustpython_wasm` (lib test) due to 39 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: `*mut u8` cannot be sent between threads safely [INFO] [stdout] --> wasm/lib/src/convert.rs:179:22 [INFO] [stdout] | [INFO] [stdout] 179 | .into_ref(&vm.ctx) [INFO] [stdout] | ^^^^^^^^ `*mut u8` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `PyPromise`, the trait `Send` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `Object` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:3445:14 [INFO] [stdout] | [INFO] [stdout] 3445 | pub type Object; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `Promise` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:5923:14 [INFO] [stdout] | [INFO] [stdout] 5923 | pub type Promise; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PromiseKind` [INFO] [stdout] --> wasm/lib/src/js_module.rs:393:10 [INFO] [stdout] | [INFO] [stdout] 393 | enum PromiseKind { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PyPromise` [INFO] [stdout] --> wasm/lib/src/js_module.rs:388:16 [INFO] [stdout] | [INFO] [stdout] 388 | pub struct PyPromise { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `PyPromise` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `into_ref` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload::into_ref` [INFO] [stdout] ... [INFO] [stdout] 48 | fn into_ref(self, ctx: &Context) -> PyRef { [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be shared between threads safely [INFO] [stdout] --> wasm/lib/src/convert.rs:179:22 [INFO] [stdout] | [INFO] [stdout] 179 | .into_ref(&vm.ctx) [INFO] [stdout] | ^^^^^^^^ `*mut u8` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `PyPromise`, the trait `Sync` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `Object` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:3445:14 [INFO] [stdout] | [INFO] [stdout] 3445 | pub type Object; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `Promise` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:5923:14 [INFO] [stdout] | [INFO] [stdout] 5923 | pub type Promise; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PromiseKind` [INFO] [stdout] --> wasm/lib/src/js_module.rs:393:10 [INFO] [stdout] | [INFO] [stdout] 393 | enum PromiseKind { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PyPromise` [INFO] [stdout] --> wasm/lib/src/js_module.rs:388:16 [INFO] [stdout] | [INFO] [stdout] 388 | pub struct PyPromise { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `PyPromise` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `into_ref` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload::into_ref` [INFO] [stdout] ... [INFO] [stdout] 48 | fn into_ref(self, ctx: &Context) -> PyRef { [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be sent between threads safely [INFO] [stdout] --> wasm/lib/src/js_module.rs:322:64 [INFO] [stdout] | [INFO] [stdout] 322 | let mut pyargs = vec![PyJsValue::new(this).into_pyobject(vm)]; [INFO] [stdout] | ^^^^^^^^^^^^^ `*mut u8` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `PyJsValue`, the trait `Send` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PyJsValue` [INFO] [stdout] --> wasm/lib/src/js_module.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct PyJsValue { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `PyJsValue` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `into_pyobject` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload::into_pyobject` [INFO] [stdout] ... [INFO] [stdout] 25 | fn into_pyobject(self, vm: &VirtualMachine) -> PyObjectRef { [INFO] [stdout] | ------------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be shared between threads safely [INFO] [stdout] --> wasm/lib/src/js_module.rs:322:64 [INFO] [stdout] | [INFO] [stdout] 322 | let mut pyargs = vec![PyJsValue::new(this).into_pyobject(vm)]; [INFO] [stdout] | ^^^^^^^^^^^^^ `*mut u8` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `PyJsValue`, the trait `Sync` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PyJsValue` [INFO] [stdout] --> wasm/lib/src/js_module.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct PyJsValue { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `PyJsValue` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `into_pyobject` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload::into_pyobject` [INFO] [stdout] ... [INFO] [stdout] 25 | fn into_pyobject(self, vm: &VirtualMachine) -> PyObjectRef { [INFO] [stdout] | ------------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be sent between threads safely [INFO] [stdout] --> wasm/lib/src/js_module.rs:326:60 [INFO] [stdout] | [INFO] [stdout] 326 | ... .map(|arg| PyJsValue::new(arg).into_pyobject(vm)), [INFO] [stdout] | ^^^^^^^^^^^^^ `*mut u8` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `PyJsValue`, the trait `Send` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PyJsValue` [INFO] [stdout] --> wasm/lib/src/js_module.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct PyJsValue { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `PyJsValue` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `into_pyobject` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload::into_pyobject` [INFO] [stdout] ... [INFO] [stdout] 25 | fn into_pyobject(self, vm: &VirtualMachine) -> PyObjectRef { [INFO] [stdout] | ------------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be shared between threads safely [INFO] [stdout] --> wasm/lib/src/js_module.rs:326:60 [INFO] [stdout] | [INFO] [stdout] 326 | ... .map(|arg| PyJsValue::new(arg).into_pyobject(vm)), [INFO] [stdout] | ^^^^^^^^^^^^^ `*mut u8` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `PyJsValue`, the trait `Sync` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PyJsValue` [INFO] [stdout] --> wasm/lib/src/js_module.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct PyJsValue { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `PyJsValue` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `into_pyobject` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload::into_pyobject` [INFO] [stdout] ... [INFO] [stdout] 25 | fn into_pyobject(self, vm: &VirtualMachine) -> PyObjectRef { [INFO] [stdout] | ------------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be sent between threads safely [INFO] [stdout] --> wasm/lib/src/js_module.rs:337:74 [INFO] [stdout] | [INFO] [stdout] 337 | let wrapped = PyJsValue::new(wrap_closure(closure.as_ref())).into_ref(&vm.ctx); [INFO] [stdout] | ^^^^^^^^ `*mut u8` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `PyJsValue`, the trait `Send` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PyJsValue` [INFO] [stdout] --> wasm/lib/src/js_module.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct PyJsValue { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `PyJsValue` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `into_ref` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload::into_ref` [INFO] [stdout] ... [INFO] [stdout] 48 | fn into_ref(self, ctx: &Context) -> PyRef { [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be shared between threads safely [INFO] [stdout] --> wasm/lib/src/js_module.rs:337:74 [INFO] [stdout] | [INFO] [stdout] 337 | let wrapped = PyJsValue::new(wrap_closure(closure.as_ref())).into_ref(&vm.ctx); [INFO] [stdout] | ^^^^^^^^ `*mut u8` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `PyJsValue`, the trait `Sync` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PyJsValue` [INFO] [stdout] --> wasm/lib/src/js_module.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct PyJsValue { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `PyJsValue` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `into_ref` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload::into_ref` [INFO] [stdout] ... [INFO] [stdout] 48 | fn into_ref(self, ctx: &Context) -> PyRef { [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be sent between threads safely [INFO] [stdout] --> wasm/lib/src/js_module.rs:426:56 [INFO] [stdout] | [INFO] [stdout] 417 | let resolve = move |res: PyObjectRef, vm: &VirtualMachine| { [INFO] [stdout] | -------------------------------------------- within this `{closure@wasm/lib/src/js_module.rs:417:35: 417:79}` [INFO] [stdout] ... [INFO] [stdout] 426 | vm.new_function("resolve", resolve), [INFO] [stdout] | ------------ ^^^^^^^ `*mut u8` cannot be sent between threads safely [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: within `{closure@wasm/lib/src/js_module.rs:417:35: 417:79}`, the trait `Send` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `Object` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:3445:14 [INFO] [stdout] | [INFO] [stdout] 3445 | pub type Object; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `js_sys::Function` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:1942:14 [INFO] [stdout] | [INFO] [stdout] 1942 | pub type Function; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: required because it's used within this closure [INFO] [stdout] --> wasm/lib/src/js_module.rs:417:35 [INFO] [stdout] | [INFO] [stdout] 417 | let resolve = move |res: PyObjectRef, vm: &VirtualMachine| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `{closure@wasm/lib/src/js_module.rs:417:35: 417:79}` to implement `PyThreadingConstraint` [INFO] [stdout] = note: required for `{closure@wasm/lib/src/js_module.rs:417:35: 417:79}` to implement `function::builtin::sealed::PyNativeFnInternal<(function::builtin::OwnedParam,), (), VirtualMachine>` [INFO] [stdout] = note: required for `{closure@wasm/lib/src/js_module.rs:417:35: 417:79}` to implement `IntoPyNativeFn<((function::builtin::OwnedParam,), (), VirtualMachine)>` [INFO] [stdout] note: required by a bound in `vm::vm_new::::new_function` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/vm/vm_new.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new_function(&self, name: &'static str, f: F) -> PyRef [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 47 | where [INFO] [stdout] 48 | F: IntoPyNativeFn, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `vm::vm_new::::new_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be shared between threads safely [INFO] [stdout] --> wasm/lib/src/js_module.rs:426:56 [INFO] [stdout] | [INFO] [stdout] 417 | let resolve = move |res: PyObjectRef, vm: &VirtualMachine| { [INFO] [stdout] | -------------------------------------------- within this `{closure@wasm/lib/src/js_module.rs:417:35: 417:79}` [INFO] [stdout] ... [INFO] [stdout] 426 | vm.new_function("resolve", resolve), [INFO] [stdout] | ------------ ^^^^^^^ `*mut u8` cannot be shared between threads safely [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: within `{closure@wasm/lib/src/js_module.rs:417:35: 417:79}`, the trait `Sync` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `Object` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:3445:14 [INFO] [stdout] | [INFO] [stdout] 3445 | pub type Object; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `js_sys::Function` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:1942:14 [INFO] [stdout] | [INFO] [stdout] 1942 | pub type Function; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: required because it's used within this closure [INFO] [stdout] --> wasm/lib/src/js_module.rs:417:35 [INFO] [stdout] | [INFO] [stdout] 417 | let resolve = move |res: PyObjectRef, vm: &VirtualMachine| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `{closure@wasm/lib/src/js_module.rs:417:35: 417:79}` to implement `PyThreadingConstraint` [INFO] [stdout] = note: required for `{closure@wasm/lib/src/js_module.rs:417:35: 417:79}` to implement `function::builtin::sealed::PyNativeFnInternal<(function::builtin::OwnedParam,), (), VirtualMachine>` [INFO] [stdout] = note: required for `{closure@wasm/lib/src/js_module.rs:417:35: 417:79}` to implement `IntoPyNativeFn<((function::builtin::OwnedParam,), (), VirtualMachine)>` [INFO] [stdout] note: required by a bound in `vm::vm_new::::new_function` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/vm/vm_new.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new_function(&self, name: &'static str, f: F) -> PyRef [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 47 | where [INFO] [stdout] 48 | F: IntoPyNativeFn, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `vm::vm_new::::new_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be sent between threads safely [INFO] [stdout] --> wasm/lib/src/js_module.rs:462:34 [INFO] [stdout] | [INFO] [stdout] 462 | Self::cast(obj, vm)?.into_ref_with_type(vm, cls) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `*mut u8` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `PyPromise`, the trait `Send` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `Object` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:3445:14 [INFO] [stdout] | [INFO] [stdout] 3445 | pub type Object; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `Promise` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:5923:14 [INFO] [stdout] | [INFO] [stdout] 5923 | pub type Promise; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PromiseKind` [INFO] [stdout] --> wasm/lib/src/js_module.rs:393:10 [INFO] [stdout] | [INFO] [stdout] 393 | enum PromiseKind { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PyPromise` [INFO] [stdout] --> wasm/lib/src/js_module.rs:388:16 [INFO] [stdout] | [INFO] [stdout] 388 | pub struct PyPromise { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `PyPromise` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `into_ref_with_type` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload::into_ref_with_type` [INFO] [stdout] ... [INFO] [stdout] 54 | fn into_ref_with_type(self, vm: &VirtualMachine, cls: PyTypeRef) -> PyResult> { [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be shared between threads safely [INFO] [stdout] --> wasm/lib/src/js_module.rs:462:34 [INFO] [stdout] | [INFO] [stdout] 462 | Self::cast(obj, vm)?.into_ref_with_type(vm, cls) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `*mut u8` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `PyPromise`, the trait `Sync` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `Object` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:3445:14 [INFO] [stdout] | [INFO] [stdout] 3445 | pub type Object; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `Promise` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:5923:14 [INFO] [stdout] | [INFO] [stdout] 5923 | pub type Promise; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PromiseKind` [INFO] [stdout] --> wasm/lib/src/js_module.rs:393:10 [INFO] [stdout] | [INFO] [stdout] 393 | enum PromiseKind { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PyPromise` [INFO] [stdout] --> wasm/lib/src/js_module.rs:388:16 [INFO] [stdout] | [INFO] [stdout] 388 | pub struct PyPromise { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `PyPromise` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `into_ref_with_type` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload::into_ref_with_type` [INFO] [stdout] ... [INFO] [stdout] 54 | fn into_ref_with_type(self, vm: &VirtualMachine, cls: PyTypeRef) -> PyResult> { [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be sent between threads safely [INFO] [stdout] --> wasm/lib/src/js_module.rs:474:14 [INFO] [stdout] | [INFO] [stdout] 474 | .into_ref_with_type(vm, cls) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `*mut u8` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `PyPromise`, the trait `Send` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `Object` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:3445:14 [INFO] [stdout] | [INFO] [stdout] 3445 | pub type Object; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `Promise` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:5923:14 [INFO] [stdout] | [INFO] [stdout] 5923 | pub type Promise; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PromiseKind` [INFO] [stdout] --> wasm/lib/src/js_module.rs:393:10 [INFO] [stdout] | [INFO] [stdout] 393 | enum PromiseKind { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PyPromise` [INFO] [stdout] --> wasm/lib/src/js_module.rs:388:16 [INFO] [stdout] | [INFO] [stdout] 388 | pub struct PyPromise { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `PyPromise` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `into_ref_with_type` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload::into_ref_with_type` [INFO] [stdout] ... [INFO] [stdout] 54 | fn into_ref_with_type(self, vm: &VirtualMachine, cls: PyTypeRef) -> PyResult> { [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be shared between threads safely [INFO] [stdout] --> wasm/lib/src/js_module.rs:474:14 [INFO] [stdout] | [INFO] [stdout] 474 | .into_ref_with_type(vm, cls) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `*mut u8` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `PyPromise`, the trait `Sync` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `Object` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:3445:14 [INFO] [stdout] | [INFO] [stdout] 3445 | pub type Object; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `Promise` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/js-sys-0.3.77/src/lib.rs:5923:14 [INFO] [stdout] | [INFO] [stdout] 5923 | pub type Promise; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PromiseKind` [INFO] [stdout] --> wasm/lib/src/js_module.rs:393:10 [INFO] [stdout] | [INFO] [stdout] 393 | enum PromiseKind { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PyPromise` [INFO] [stdout] --> wasm/lib/src/js_module.rs:388:16 [INFO] [stdout] | [INFO] [stdout] 388 | pub struct PyPromise { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `PyPromise` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `into_ref_with_type` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload::into_ref_with_type` [INFO] [stdout] ... [INFO] [stdout] 54 | fn into_ref_with_type(self, vm: &VirtualMachine, cls: PyTypeRef) -> PyResult> { [INFO] [stdout] | ------------------ required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be sent between threads safely [INFO] [stdout] --> wasm/lib/src/vm_class.rs:35:72 [INFO] [stdout] | [INFO] [stdout] 35 | "window" => js_module::PyJsValue::new(wasm_builtins::window()).into_ref(&vm.ctx), [INFO] [stdout] | ^^^^^^^^ `*mut u8` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `PyJsValue`, the trait `Send` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PyJsValue` [INFO] [stdout] --> wasm/lib/src/js_module.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct PyJsValue { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `PyJsValue` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `into_ref` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload::into_ref` [INFO] [stdout] ... [INFO] [stdout] 48 | fn into_ref(self, ctx: &Context) -> PyRef { [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be shared between threads safely [INFO] [stdout] --> wasm/lib/src/vm_class.rs:35:72 [INFO] [stdout] | [INFO] [stdout] 35 | "window" => js_module::PyJsValue::new(wasm_builtins::window()).into_ref(&vm.ctx), [INFO] [stdout] | ^^^^^^^^ `*mut u8` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `PyJsValue`, the trait `Sync` is not implemented for `*mut u8` [INFO] [stdout] note: required because it appears within the type `PhantomData<*mut u8>` [INFO] [stdout] --> /rustc/723ab942d877517caf445dafde0416803ef56501/library/core/src/marker.rs:823:12 [INFO] [stdout] note: required because it appears within the type `wasm_bindgen::JsValue` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct JsValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it appears within the type `PyJsValue` [INFO] [stdout] --> wasm/lib/src/js_module.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct PyJsValue { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `PyJsValue` to implement `PyThreadingConstraint` [INFO] [stdout] note: required by a bound in `into_ref` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/object/payload.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | std::fmt::Debug + MaybeTraverse + PyThreadingConstraint + Sized + 'static [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PyPayload::into_ref` [INFO] [stdout] ... [INFO] [stdout] 48 | fn into_ref(self, ctx: &Context) -> PyRef { [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `impl Fn(&str, &VirtualMachine) -> PyResult<()> + 'static` cannot be sent between threads safely [INFO] [stdout] --> wasm/lib/src/wasm_builtins.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 32 | let write_method = vm.new_method( [INFO] [stdout] | ---------- required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 35 | move |_self: PyObjectRef, data: PyStrRef, vm: &VirtualMachine| -> PyResult<()> { [INFO] [stdout] | ^----------------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | _________within this `{closure@wasm/lib/src/wasm_builtins.rs:35:9: 35:87}` [INFO] [stdout] | | [INFO] [stdout] 36 | | write_f(data.as_str(), vm) [INFO] [stdout] 37 | | }, [INFO] [stdout] | |_________^ `impl Fn(&str, &VirtualMachine) -> PyResult<()> + 'static` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] note: required because it's used within this closure [INFO] [stdout] --> wasm/lib/src/wasm_builtins.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | move |_self: PyObjectRef, data: PyStrRef, vm: &VirtualMachine| -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `{closure@wasm/lib/src/wasm_builtins.rs:35:9: 35:87}` to implement `PyThreadingConstraint` [INFO] [stdout] = note: required for `{closure@wasm/lib/src/wasm_builtins.rs:35:9: 35:87}` to implement `function::builtin::sealed::PyNativeFnInternal<(function::builtin::OwnedParam, function::builtin::OwnedParam>), Result<(), PyRef>, VirtualMachine>` [INFO] [stdout] = note: required for `{closure@wasm/lib/src/wasm_builtins.rs:35:9: 35:87}` to implement `IntoPyNativeFn<((function::builtin::OwnedParam, function::builtin::OwnedParam>), Result<(), PyRef>, VirtualMachine)>` [INFO] [stdout] note: required by a bound in `vm::vm_new::::new_method` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/vm/vm_new.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn new_method( [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 63 | F: IntoPyNativeFn, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `vm::vm_new::::new_method` [INFO] [stdout] help: use parentheses to call this type parameter [INFO] [stdout] | [INFO] [stdout] 37 | }(/* &str */, /* &VirtualMachine */), [INFO] [stdout] | +++++++++++++++++++++++++++++++++++ [INFO] [stdout] help: consider restricting opaque type `impl Fn(&str, &VirtualMachine) -> PyResult<()> + 'static` with trait `Send` [INFO] [stdout] | [INFO] [stdout] 21 | write_f: impl Fn(&str, &VirtualMachine) -> PyResult<()> + 'static + std::marker::Send, [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `impl Fn(&str, &VirtualMachine) -> PyResult<()> + 'static` cannot be shared between threads safely [INFO] [stdout] --> wasm/lib/src/wasm_builtins.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 32 | let write_method = vm.new_method( [INFO] [stdout] | ---------- required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 35 | move |_self: PyObjectRef, data: PyStrRef, vm: &VirtualMachine| -> PyResult<()> { [INFO] [stdout] | ^----------------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | _________within this `{closure@wasm/lib/src/wasm_builtins.rs:35:9: 35:87}` [INFO] [stdout] | | [INFO] [stdout] 36 | | write_f(data.as_str(), vm) [INFO] [stdout] 37 | | }, [INFO] [stdout] | |_________^ `impl Fn(&str, &VirtualMachine) -> PyResult<()> + 'static` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] note: required because it's used within this closure [INFO] [stdout] --> wasm/lib/src/wasm_builtins.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | move |_self: PyObjectRef, data: PyStrRef, vm: &VirtualMachine| -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `{closure@wasm/lib/src/wasm_builtins.rs:35:9: 35:87}` to implement `PyThreadingConstraint` [INFO] [stdout] = note: required for `{closure@wasm/lib/src/wasm_builtins.rs:35:9: 35:87}` to implement `function::builtin::sealed::PyNativeFnInternal<(function::builtin::OwnedParam, function::builtin::OwnedParam>), Result<(), PyRef>, VirtualMachine>` [INFO] [stdout] = note: required for `{closure@wasm/lib/src/wasm_builtins.rs:35:9: 35:87}` to implement `IntoPyNativeFn<((function::builtin::OwnedParam, function::builtin::OwnedParam>), Result<(), PyRef>, VirtualMachine)>` [INFO] [stdout] note: required by a bound in `vm::vm_new::::new_method` [INFO] [stdout] --> /opt/rustwide/workdir/vm/src/vm/vm_new.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn new_method( [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 63 | F: IntoPyNativeFn, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `vm::vm_new::::new_method` [INFO] [stdout] help: use parentheses to call this type parameter [INFO] [stdout] | [INFO] [stdout] 37 | }(/* &str */, /* &VirtualMachine */), [INFO] [stdout] | +++++++++++++++++++++++++++++++++++ [INFO] [stdout] help: consider restricting opaque type `impl Fn(&str, &VirtualMachine) -> PyResult<()> + 'static` with trait `Sync` [INFO] [stdout] | [INFO] [stdout] 21 | write_f: impl Fn(&str, &VirtualMachine) -> PyResult<()> + 'static + std::marker::Sync, [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustpython_wasm` (lib) due to 39 previous errors [INFO] running `Command { std: "docker" "inspect" "2ba2c12f1197bfce3284b97c6cf59fbc776f8795838810bda653063a0525e795", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ba2c12f1197bfce3284b97c6cf59fbc776f8795838810bda653063a0525e795", kill_on_drop: false }` [INFO] [stdout] 2ba2c12f1197bfce3284b97c6cf59fbc776f8795838810bda653063a0525e795