[INFO] fetching crate stdweb 0.4.20... [INFO] checking stdweb-0.4.20 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate stdweb 0.4.20 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate stdweb 0.4.20 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate stdweb 0.4.20 [INFO] finished tweaking crates.io crate stdweb 0.4.20 [INFO] tweaked toml for crates.io crate stdweb 0.4.20 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded futures-core-preview v0.3.0-alpha.19 [INFO] [stderr] Downloaded futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.3.27 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.2.50 [INFO] [stderr] Downloaded futures-executor-preview v0.3.0-alpha.19 [INFO] [stderr] Downloaded wasm-bindgen-test v0.2.50 [INFO] [stderr] Downloaded futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Downloaded stdweb-internal-test-macro v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ecf1cafa04e5922628077b9a178cca45d707625f15b7e52448db4106f03daf69 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ecf1cafa04e5922628077b9a178cca45d707625f15b7e52448db4106f03daf69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ecf1cafa04e5922628077b9a178cca45d707625f15b7e52448db4106f03daf69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecf1cafa04e5922628077b9a178cca45d707625f15b7e52448db4106f03daf69", kill_on_drop: false }` [INFO] [stdout] ecf1cafa04e5922628077b9a178cca45d707625f15b7e52448db4106f03daf69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33b3a891b2f0a061af6cf1d60f0157b31f0a2e92d058dea6e81bf00fa6234f74 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "33b3a891b2f0a061af6cf1d60f0157b31f0a2e92d058dea6e81bf00fa6234f74", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Compiling stdweb-internal-runtime v0.1.5 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling base-x v0.2.8 [INFO] [stderr] Checking discard v1.0.4 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling stdweb v0.4.20 (/opt/rustwide/workdir) [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling stdweb-derive v0.5.3 [INFO] [stderr] Compiling stdweb-internal-macros v0.2.9 [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/webapi/node.rs:347:1 [INFO] [stdout] | [INFO] [stdout] 347 | /// Errors thrown by `Node` insertion methods. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/webapi/element.rs:318:1 [INFO] [stdout] | [INFO] [stdout] 318 | /// Errors thrown by `Element::insert_adjacent_html`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/webapi/web_socket.rs:280:1 [INFO] [stdout] | [INFO] [stdout] 280 | /// Errors thrown by `WebSocket::new`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/webapi/web_socket.rs:286:1 [INFO] [stdout] | [INFO] [stdout] 286 | /// Errors thrown by `WebSocket::close_with_status`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Promise`, `TypedPromise` [INFO] [stdout] --> src/webapi/document.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use webcore::promise::{Promise, TypedPromise}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `webapi::error::TypeError` [INFO] [stdout] --> src/webapi/document.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use webapi::error::TypeError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Promise`, `TypedPromise` [INFO] [stdout] --> src/webapi/element.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use webcore::promise::{Promise, TypedPromise}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `webapi::error::TypeError` [INFO] [stdout] --> src/webapi/element.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use webapi::error::TypeError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ecosystem/serde.rs:171:35 [INFO] [stdout] | [INFO] [stdout] 171 | let mut map = try!( serializer.serialize_map( Some( value.len() ) ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ecosystem/serde.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 173 | try!( map.serialize_key( &key ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ecosystem/serde.rs:174:25 [INFO] [stdout] | [INFO] [stdout] 174 | try!( map.serialize_value( &value ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ecosystem/serde.rs:179:31 [INFO] [stdout] | [INFO] [stdout] 179 | let map = try!( serializer.serialize_map( None ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/webcore/number.rs:36:23 [INFO] [stdout] | [INFO] [stdout] 36 | let message = error::Error::description( self ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 437 | untagged_boilerplate!( test_undefined, as_undefined, Tag::Undefined, SerializedUntaggedUndefined ); [INFO] [stdout] | --------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 438 | untagged_boilerplate!( test_null, as_null, Tag::Null, SerializedUntaggedNull ); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 439 | untagged_boilerplate!( test_i32, as_i32, Tag::I32, SerializedUntaggedI32 ); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 440 | untagged_boilerplate!( test_f64, as_f64, Tag::F64, SerializedUntaggedF64 ); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 441 | untagged_boilerplate!( test_true, as_true, Tag::True, SerializedUntaggedTrue ); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 442 | untagged_boilerplate!( test_false, as_false, Tag::False, SerializedUntaggedFalse ); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 443 | untagged_boilerplate!( test_object, as_object, Tag::Object, SerializedUntaggedObject ); [INFO] [stdout] | --------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 444 | untagged_boilerplate!( test_string, as_string, Tag::Str, SerializedUntaggedString ); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 445 | untagged_boilerplate!( test_array, as_array, Tag::Array, SerializedUntaggedArray ); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 446 | untagged_boilerplate!( test_symbol, as_symbol, Tag::Symbol, SerializedUntaggedSymbol ); [INFO] [stdout] | --------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 447 | untagged_boilerplate!( test_reference, as_reference, Tag::Reference, SerializedUntaggedReference ); [INFO] [stdout] | --------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 448 | untagged_boilerplate!( test_function, as_function, Tag::Function, SerializedUntaggedFunction ); [INFO] [stdout] | ----------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 449 | untagged_boilerplate!( test_function_mut, as_function_mut, Tag::FunctionMut, SerializedUntaggedFunctionMut ); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 450 | untagged_boilerplate!( test_function_once, as_function_once, Tag::FunctionOnce, SerializedUntaggedFunctionOnce ); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 451 | untagged_boilerplate!( test_unsafe_typed_array, as_unsafe_typed_array, Tag::UnsafeTypedArray, SerializedUntaggedUnsafeTypedArray ); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/ecosystem/serde.rs:331:23 [INFO] [stdout] | [INFO] [stdout] 331 | let message = error::Error::description( self ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/webapi/node.rs:347:1 [INFO] [stdout] | [INFO] [stdout] 347 | /// Errors thrown by `Node` insertion methods. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/webapi/element.rs:318:1 [INFO] [stdout] | [INFO] [stdout] 318 | /// Errors thrown by `Element::insert_adjacent_html`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/webapi/web_socket.rs:280:1 [INFO] [stdout] | [INFO] [stdout] 280 | /// Errors thrown by `WebSocket::new`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/webapi/web_socket.rs:286:1 [INFO] [stdout] | [INFO] [stdout] 286 | /// Errors thrown by `WebSocket::close_with_status`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Promise`, `TypedPromise` [INFO] [stdout] --> src/webapi/document.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use webcore::promise::{Promise, TypedPromise}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `webapi::error::TypeError` [INFO] [stdout] --> src/webapi/document.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use webapi::error::TypeError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Promise`, `TypedPromise` [INFO] [stdout] --> src/webapi/element.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use webcore::promise::{Promise, TypedPromise}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `webapi::error::TypeError` [INFO] [stdout] --> src/webapi/element.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use webapi::error::TypeError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ecosystem/serde.rs:171:35 [INFO] [stdout] | [INFO] [stdout] 171 | let mut map = try!( serializer.serialize_map( Some( value.len() ) ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ecosystem/serde.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 173 | try!( map.serialize_key( &key ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ecosystem/serde.rs:174:25 [INFO] [stdout] | [INFO] [stdout] 174 | try!( map.serialize_value( &value ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ecosystem/serde.rs:179:31 [INFO] [stdout] | [INFO] [stdout] 179 | let map = try!( serializer.serialize_map( None ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/webcore/value.rs:869:75 [INFO] [stdout] | [INFO] [stdout] 869 | ConversionError::NumericConversionError( ref inner ) => inner.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/webcore/number.rs:36:23 [INFO] [stdout] | [INFO] [stdout] 36 | let message = error::Error::description( self ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 437 | untagged_boilerplate!( test_undefined, as_undefined, Tag::Undefined, SerializedUntaggedUndefined ); [INFO] [stdout] | --------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 438 | untagged_boilerplate!( test_null, as_null, Tag::Null, SerializedUntaggedNull ); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 439 | untagged_boilerplate!( test_i32, as_i32, Tag::I32, SerializedUntaggedI32 ); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 440 | untagged_boilerplate!( test_f64, as_f64, Tag::F64, SerializedUntaggedF64 ); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 441 | untagged_boilerplate!( test_true, as_true, Tag::True, SerializedUntaggedTrue ); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 442 | untagged_boilerplate!( test_false, as_false, Tag::False, SerializedUntaggedFalse ); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 443 | untagged_boilerplate!( test_object, as_object, Tag::Object, SerializedUntaggedObject ); [INFO] [stdout] | --------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 444 | untagged_boilerplate!( test_string, as_string, Tag::Str, SerializedUntaggedString ); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 445 | untagged_boilerplate!( test_array, as_array, Tag::Array, SerializedUntaggedArray ); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 446 | untagged_boilerplate!( test_symbol, as_symbol, Tag::Symbol, SerializedUntaggedSymbol ); [INFO] [stdout] | --------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 447 | untagged_boilerplate!( test_reference, as_reference, Tag::Reference, SerializedUntaggedReference ); [INFO] [stdout] | --------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 448 | untagged_boilerplate!( test_function, as_function, Tag::Function, SerializedUntaggedFunction ); [INFO] [stdout] | ----------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 449 | untagged_boilerplate!( test_function_mut, as_function_mut, Tag::FunctionMut, SerializedUntaggedFunctionMut ); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 450 | untagged_boilerplate!( test_function_once, as_function_once, Tag::FunctionOnce, SerializedUntaggedFunctionOnce ); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 451 | untagged_boilerplate!( test_unsafe_typed_array, as_unsafe_typed_array, Tag::UnsafeTypedArray, SerializedUntaggedUnsafeTypedArray ); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/webapi/error.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | assert_eq!(std::error::Error::description(&error), "Error"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/ecosystem/serde.rs:331:23 [INFO] [stdout] | [INFO] [stdout] 331 | let message = error::Error::description( self ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/webcore/value.rs:869:75 [INFO] [stdout] | [INFO] [stdout] 869 | ConversionError::NumericConversionError( ref inner ) => inner.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/ecosystem/serde.rs:340:78 [INFO] [stdout] | [INFO] [stdout] 340 | ConversionErrorKind::NumberConversionError( ref error ) => error.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/ecosystem/serde.rs:340:78 [INFO] [stdout] | [INFO] [stdout] 340 | ConversionErrorKind::NumberConversionError( ref error ) => error.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/webcore/type_name.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | let name = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/webcore/serialization.rs:1300:13 [INFO] [stdout] | [INFO] [stdout] 1300 | count += 1; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/webcore/promise.rs:315:19 [INFO] [stdout] | [INFO] [stdout] 315 | pub(crate) fn new( promise: Promise ) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a function [INFO] [stdout] --> src/webcore/ffi/emscripten.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn emscripten_asm_const_int( code: *const u8, ... ) -> i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | missing_docs, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `SerializedValue` does not permit being left uninitialized [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 437 | untagged_boilerplate!( test_undefined, as_undefined, Tag::Undefined, SerializedUntaggedUndefined ); [INFO] [stdout] | --------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] note: enums have to be initialized to a variant [INFO] [stdout] --> src/webcore/serialization.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / pub enum Tag { [INFO] [stdout] 35 | | Undefined = 0, [INFO] [stdout] 36 | | Null = 1, [INFO] [stdout] 37 | | I32 = 2, [INFO] [stdout] ... | [INFO] [stdout] 49 | | Symbol = 15 [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `SerializedValue` does not permit being left uninitialized [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 438 | untagged_boilerplate!( test_null, as_null, Tag::Null, SerializedUntaggedNull ); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: enums have to be initialized to a variant [INFO] [stdout] --> src/webcore/serialization.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / pub enum Tag { [INFO] [stdout] 35 | | Undefined = 0, [INFO] [stdout] 36 | | Null = 1, [INFO] [stdout] 37 | | I32 = 2, [INFO] [stdout] ... | [INFO] [stdout] 49 | | Symbol = 15 [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `SerializedValue` does not permit being left uninitialized [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 439 | untagged_boilerplate!( test_i32, as_i32, Tag::I32, SerializedUntaggedI32 ); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: enums have to be initialized to a variant [INFO] [stdout] --> src/webcore/serialization.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / pub enum Tag { [INFO] [stdout] 35 | | Undefined = 0, [INFO] [stdout] 36 | | Null = 1, [INFO] [stdout] 37 | | I32 = 2, [INFO] [stdout] ... | [INFO] [stdout] 49 | | Symbol = 15 [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `SerializedValue` does not permit being left uninitialized [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 440 | untagged_boilerplate!( test_f64, as_f64, Tag::F64, SerializedUntaggedF64 ); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: enums have to be initialized to a variant [INFO] [stdout] --> src/webcore/serialization.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / pub enum Tag { [INFO] [stdout] 35 | | Undefined = 0, [INFO] [stdout] 36 | | Null = 1, [INFO] [stdout] 37 | | I32 = 2, [INFO] [stdout] ... | [INFO] [stdout] 49 | | Symbol = 15 [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `SerializedValue` does not permit being left uninitialized [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 441 | untagged_boilerplate!( test_true, as_true, Tag::True, SerializedUntaggedTrue ); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: enums have to be initialized to a variant [INFO] [stdout] --> src/webcore/serialization.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / pub enum Tag { [INFO] [stdout] 35 | | Undefined = 0, [INFO] [stdout] 36 | | Null = 1, [INFO] [stdout] 37 | | I32 = 2, [INFO] [stdout] ... | [INFO] [stdout] 49 | | Symbol = 15 [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `SerializedValue` does not permit being left uninitialized [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 442 | untagged_boilerplate!( test_false, as_false, Tag::False, SerializedUntaggedFalse ); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: enums have to be initialized to a variant [INFO] [stdout] --> src/webcore/serialization.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / pub enum Tag { [INFO] [stdout] 35 | | Undefined = 0, [INFO] [stdout] 36 | | Null = 1, [INFO] [stdout] 37 | | I32 = 2, [INFO] [stdout] ... | [INFO] [stdout] 49 | | Symbol = 15 [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `SerializedValue` does not permit being left uninitialized [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 443 | untagged_boilerplate!( test_object, as_object, Tag::Object, SerializedUntaggedObject ); [INFO] [stdout] | --------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: enums have to be initialized to a variant [INFO] [stdout] --> src/webcore/serialization.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / pub enum Tag { [INFO] [stdout] 35 | | Undefined = 0, [INFO] [stdout] 36 | | Null = 1, [INFO] [stdout] 37 | | I32 = 2, [INFO] [stdout] ... | [INFO] [stdout] 49 | | Symbol = 15 [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `SerializedValue` does not permit being left uninitialized [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 444 | untagged_boilerplate!( test_string, as_string, Tag::Str, SerializedUntaggedString ); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: enums have to be initialized to a variant [INFO] [stdout] --> src/webcore/serialization.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / pub enum Tag { [INFO] [stdout] 35 | | Undefined = 0, [INFO] [stdout] 36 | | Null = 1, [INFO] [stdout] 37 | | I32 = 2, [INFO] [stdout] ... | [INFO] [stdout] 49 | | Symbol = 15 [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `SerializedValue` does not permit being left uninitialized [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 445 | untagged_boilerplate!( test_array, as_array, Tag::Array, SerializedUntaggedArray ); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: enums have to be initialized to a variant [INFO] [stdout] --> src/webcore/serialization.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / pub enum Tag { [INFO] [stdout] 35 | | Undefined = 0, [INFO] [stdout] 36 | | Null = 1, [INFO] [stdout] 37 | | I32 = 2, [INFO] [stdout] ... | [INFO] [stdout] 49 | | Symbol = 15 [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `SerializedValue` does not permit being left uninitialized [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 446 | untagged_boilerplate!( test_symbol, as_symbol, Tag::Symbol, SerializedUntaggedSymbol ); [INFO] [stdout] | --------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: enums have to be initialized to a variant [INFO] [stdout] --> src/webcore/serialization.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / pub enum Tag { [INFO] [stdout] 35 | | Undefined = 0, [INFO] [stdout] 36 | | Null = 1, [INFO] [stdout] 37 | | I32 = 2, [INFO] [stdout] ... | [INFO] [stdout] 49 | | Symbol = 15 [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `SerializedValue` does not permit being left uninitialized [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 447 | untagged_boilerplate!( test_reference, as_reference, Tag::Reference, SerializedUntaggedReference ); [INFO] [stdout] | --------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: enums have to be initialized to a variant [INFO] [stdout] --> src/webcore/serialization.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / pub enum Tag { [INFO] [stdout] 35 | | Undefined = 0, [INFO] [stdout] 36 | | Null = 1, [INFO] [stdout] 37 | | I32 = 2, [INFO] [stdout] ... | [INFO] [stdout] 49 | | Symbol = 15 [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `SerializedValue` does not permit being left uninitialized [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 448 | untagged_boilerplate!( test_function, as_function, Tag::Function, SerializedUntaggedFunction ); [INFO] [stdout] | ----------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: enums have to be initialized to a variant [INFO] [stdout] --> src/webcore/serialization.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / pub enum Tag { [INFO] [stdout] 35 | | Undefined = 0, [INFO] [stdout] 36 | | Null = 1, [INFO] [stdout] 37 | | I32 = 2, [INFO] [stdout] ... | [INFO] [stdout] 49 | | Symbol = 15 [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `SerializedValue` does not permit being left uninitialized [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 449 | untagged_boilerplate!( test_function_mut, as_function_mut, Tag::FunctionMut, SerializedUntaggedFunctionMut ); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: enums have to be initialized to a variant [INFO] [stdout] --> src/webcore/serialization.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / pub enum Tag { [INFO] [stdout] 35 | | Undefined = 0, [INFO] [stdout] 36 | | Null = 1, [INFO] [stdout] 37 | | I32 = 2, [INFO] [stdout] ... | [INFO] [stdout] 49 | | Symbol = 15 [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `SerializedValue` does not permit being left uninitialized [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 450 | untagged_boilerplate!( test_function_once, as_function_once, Tag::FunctionOnce, SerializedUntaggedFunctionOnce ); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: enums have to be initialized to a variant [INFO] [stdout] --> src/webcore/serialization.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / pub enum Tag { [INFO] [stdout] 35 | | Undefined = 0, [INFO] [stdout] 36 | | Null = 1, [INFO] [stdout] 37 | | I32 = 2, [INFO] [stdout] ... | [INFO] [stdout] 49 | | Symbol = 15 [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `SerializedValue` does not permit being left uninitialized [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 451 | untagged_boilerplate!( test_unsafe_typed_array, as_unsafe_typed_array, Tag::UnsafeTypedArray, SerializedUntaggedUnsafeTypedArray ); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: enums have to be initialized to a variant [INFO] [stdout] --> src/webcore/serialization.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / pub enum Tag { [INFO] [stdout] 35 | | Undefined = 0, [INFO] [stdout] 36 | | Null = 1, [INFO] [stdout] 37 | | I32 = 2, [INFO] [stdout] ... | [INFO] [stdout] 49 | | Symbol = 15 [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 48 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stdweb` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/webcore/type_name.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | let name = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/webcore/promise.rs:315:19 [INFO] [stdout] | [INFO] [stdout] 315 | pub(crate) fn new( promise: Promise ) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `serialization::SerializedValue` does not permit being left uninitialized [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 437 | untagged_boilerplate!( test_undefined, as_undefined, Tag::Undefined, SerializedUntaggedUndefined ); [INFO] [stdout] | --------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] note: enums have to be initialized to a variant [INFO] [stdout] --> src/webcore/serialization.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / pub enum Tag { [INFO] [stdout] 35 | | Undefined = 0, [INFO] [stdout] 36 | | Null = 1, [INFO] [stdout] 37 | | I32 = 2, [INFO] [stdout] ... | [INFO] [stdout] 49 | | Symbol = 15 [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `serialization::SerializedValue` does not permit being left uninitialized [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 438 | untagged_boilerplate!( test_null, as_null, Tag::Null, SerializedUntaggedNull ); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: enums have to be initialized to a variant [INFO] [stdout] --> src/webcore/serialization.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / pub enum Tag { [INFO] [stdout] 35 | | Undefined = 0, [INFO] [stdout] 36 | | Null = 1, [INFO] [stdout] 37 | | I32 = 2, [INFO] [stdout] ... | [INFO] [stdout] 49 | | Symbol = 15 [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `serialization::SerializedValue` does not permit being left uninitialized [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 439 | untagged_boilerplate!( test_i32, as_i32, Tag::I32, SerializedUntaggedI32 ); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: enums have to be initialized to a variant [INFO] [stdout] --> src/webcore/serialization.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / pub enum Tag { [INFO] [stdout] 35 | | Undefined = 0, [INFO] [stdout] 36 | | Null = 1, [INFO] [stdout] 37 | | I32 = 2, [INFO] [stdout] ... | [INFO] [stdout] 49 | | Symbol = 15 [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `serialization::SerializedValue` does not permit being left uninitialized [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 440 | untagged_boilerplate!( test_f64, as_f64, Tag::F64, SerializedUntaggedF64 ); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: enums have to be initialized to a variant [INFO] [stdout] --> src/webcore/serialization.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / pub enum Tag { [INFO] [stdout] 35 | | Undefined = 0, [INFO] [stdout] 36 | | Null = 1, [INFO] [stdout] 37 | | I32 = 2, [INFO] [stdout] ... | [INFO] [stdout] 49 | | Symbol = 15 [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `serialization::SerializedValue` does not permit being left uninitialized [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 441 | untagged_boilerplate!( test_true, as_true, Tag::True, SerializedUntaggedTrue ); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: enums have to be initialized to a variant [INFO] [stdout] --> src/webcore/serialization.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / pub enum Tag { [INFO] [stdout] 35 | | Undefined = 0, [INFO] [stdout] 36 | | Null = 1, [INFO] [stdout] 37 | | I32 = 2, [INFO] [stdout] ... | [INFO] [stdout] 49 | | Symbol = 15 [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `serialization::SerializedValue` does not permit being left uninitialized [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 442 | untagged_boilerplate!( test_false, as_false, Tag::False, SerializedUntaggedFalse ); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: enums have to be initialized to a variant [INFO] [stdout] --> src/webcore/serialization.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / pub enum Tag { [INFO] [stdout] 35 | | Undefined = 0, [INFO] [stdout] 36 | | Null = 1, [INFO] [stdout] 37 | | I32 = 2, [INFO] [stdout] ... | [INFO] [stdout] 49 | | Symbol = 15 [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `serialization::SerializedValue` does not permit being left uninitialized [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 443 | untagged_boilerplate!( test_object, as_object, Tag::Object, SerializedUntaggedObject ); [INFO] [stdout] | --------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: enums have to be initialized to a variant [INFO] [stdout] --> src/webcore/serialization.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / pub enum Tag { [INFO] [stdout] 35 | | Undefined = 0, [INFO] [stdout] 36 | | Null = 1, [INFO] [stdout] 37 | | I32 = 2, [INFO] [stdout] ... | [INFO] [stdout] 49 | | Symbol = 15 [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `serialization::SerializedValue` does not permit being left uninitialized [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 444 | untagged_boilerplate!( test_string, as_string, Tag::Str, SerializedUntaggedString ); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: enums have to be initialized to a variant [INFO] [stdout] --> src/webcore/serialization.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / pub enum Tag { [INFO] [stdout] 35 | | Undefined = 0, [INFO] [stdout] 36 | | Null = 1, [INFO] [stdout] 37 | | I32 = 2, [INFO] [stdout] ... | [INFO] [stdout] 49 | | Symbol = 15 [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `serialization::SerializedValue` does not permit being left uninitialized [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 445 | untagged_boilerplate!( test_array, as_array, Tag::Array, SerializedUntaggedArray ); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: enums have to be initialized to a variant [INFO] [stdout] --> src/webcore/serialization.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / pub enum Tag { [INFO] [stdout] 35 | | Undefined = 0, [INFO] [stdout] 36 | | Null = 1, [INFO] [stdout] 37 | | I32 = 2, [INFO] [stdout] ... | [INFO] [stdout] 49 | | Symbol = 15 [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `serialization::SerializedValue` does not permit being left uninitialized [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 446 | untagged_boilerplate!( test_symbol, as_symbol, Tag::Symbol, SerializedUntaggedSymbol ); [INFO] [stdout] | --------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: enums have to be initialized to a variant [INFO] [stdout] --> src/webcore/serialization.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / pub enum Tag { [INFO] [stdout] 35 | | Undefined = 0, [INFO] [stdout] 36 | | Null = 1, [INFO] [stdout] 37 | | I32 = 2, [INFO] [stdout] ... | [INFO] [stdout] 49 | | Symbol = 15 [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `serialization::SerializedValue` does not permit being left uninitialized [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 447 | untagged_boilerplate!( test_reference, as_reference, Tag::Reference, SerializedUntaggedReference ); [INFO] [stdout] | --------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: enums have to be initialized to a variant [INFO] [stdout] --> src/webcore/serialization.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / pub enum Tag { [INFO] [stdout] 35 | | Undefined = 0, [INFO] [stdout] 36 | | Null = 1, [INFO] [stdout] 37 | | I32 = 2, [INFO] [stdout] ... | [INFO] [stdout] 49 | | Symbol = 15 [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `serialization::SerializedValue` does not permit being left uninitialized [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 448 | untagged_boilerplate!( test_function, as_function, Tag::Function, SerializedUntaggedFunction ); [INFO] [stdout] | ----------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: enums have to be initialized to a variant [INFO] [stdout] --> src/webcore/serialization.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / pub enum Tag { [INFO] [stdout] 35 | | Undefined = 0, [INFO] [stdout] 36 | | Null = 1, [INFO] [stdout] 37 | | I32 = 2, [INFO] [stdout] ... | [INFO] [stdout] 49 | | Symbol = 15 [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `serialization::SerializedValue` does not permit being left uninitialized [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 449 | untagged_boilerplate!( test_function_mut, as_function_mut, Tag::FunctionMut, SerializedUntaggedFunctionMut ); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: enums have to be initialized to a variant [INFO] [stdout] --> src/webcore/serialization.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / pub enum Tag { [INFO] [stdout] 35 | | Undefined = 0, [INFO] [stdout] 36 | | Null = 1, [INFO] [stdout] 37 | | I32 = 2, [INFO] [stdout] ... | [INFO] [stdout] 49 | | Symbol = 15 [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `serialization::SerializedValue` does not permit being left uninitialized [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 450 | untagged_boilerplate!( test_function_once, as_function_once, Tag::FunctionOnce, SerializedUntaggedFunctionOnce ); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: enums have to be initialized to a variant [INFO] [stdout] --> src/webcore/serialization.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / pub enum Tag { [INFO] [stdout] 35 | | Undefined = 0, [INFO] [stdout] 36 | | Null = 1, [INFO] [stdout] 37 | | I32 = 2, [INFO] [stdout] ... | [INFO] [stdout] 49 | | Symbol = 15 [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `serialization::SerializedValue` does not permit being left uninitialized [INFO] [stdout] --> src/webcore/serialization.rs:415:54 [INFO] [stdout] | [INFO] [stdout] 415 | let mut value: SerializedValue = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 451 | untagged_boilerplate!( test_unsafe_typed_array, as_unsafe_typed_array, Tag::UnsafeTypedArray, SerializedUntaggedUnsafeTypedArray ); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: enums have to be initialized to a variant [INFO] [stdout] --> src/webcore/serialization.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / pub enum Tag { [INFO] [stdout] 35 | | Undefined = 0, [INFO] [stdout] 36 | | Null = 1, [INFO] [stdout] 37 | | I32 = 2, [INFO] [stdout] ... | [INFO] [stdout] 49 | | Symbol = 15 [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 50 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "33b3a891b2f0a061af6cf1d60f0157b31f0a2e92d058dea6e81bf00fa6234f74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33b3a891b2f0a061af6cf1d60f0157b31f0a2e92d058dea6e81bf00fa6234f74", kill_on_drop: false }` [INFO] [stdout] 33b3a891b2f0a061af6cf1d60f0157b31f0a2e92d058dea6e81bf00fa6234f74