[INFO] fetching crate wasm_val 0.3.5... [INFO] testing wasm_val-0.3.5 against try#8262275854dc0e5381c9d42d56257d94932c5a87 for pr-90799 [INFO] extracting crate wasm_val 0.3.5 into /workspace/builds/worker-78/source [INFO] validating manifest of crates.io crate wasm_val 0.3.5 on toolchain 8262275854dc0e5381c9d42d56257d94932c5a87 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wasm_val 0.3.5 [INFO] finished tweaking crates.io crate wasm_val 0.3.5 [INFO] tweaked toml for crates.io crate wasm_val 0.3.5 written to /workspace/builds/worker-78/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-78/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-78/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 065951c0cd023e0fecd6ac4683ef5c0066138298e49098e64b1b7dc8f5b3add0 [INFO] running `Command { std: "docker" "start" "-a" "065951c0cd023e0fecd6ac4683ef5c0066138298e49098e64b1b7dc8f5b3add0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "065951c0cd023e0fecd6ac4683ef5c0066138298e49098e64b1b7dc8f5b3add0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "065951c0cd023e0fecd6ac4683ef5c0066138298e49098e64b1b7dc8f5b3add0", kill_on_drop: false }` [INFO] [stdout] 065951c0cd023e0fecd6ac4683ef5c0066138298e49098e64b1b7dc8f5b3add0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-78/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-78/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13e1d9c2ab8f1923739cab4002dd2981c207e29a589a571edc14db31718b9ce7 [INFO] running `Command { std: "docker" "start" "-a" "13e1d9c2ab8f1923739cab4002dd2981c207e29a589a571edc14db31718b9ce7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling wasm_val v0.3.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/js_ser/mod.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | impl JsSerializable for &'static Fn() -> () { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> ()` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/js_ser/mod.rs:67:34 [INFO] [stdout] | [INFO] [stdout] 67 | impl JsSerializable for &'static Fn() -> (Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> (Box)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/js_ser/mod.rs:67:42 [INFO] [stdout] | [INFO] [stdout] 67 | impl JsSerializable for &'static Fn() -> (Box) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 67 - impl JsSerializable for &'static Fn() -> (Box) { [INFO] [stdout] 67 + impl JsSerializable for &'static Fn() -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/js_ser/mod.rs:67:47 [INFO] [stdout] | [INFO] [stdout] 67 | impl JsSerializable for &'static Fn() -> (Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn JsSerializable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/js_ser/mod.rs:78:34 [INFO] [stdout] | [INFO] [stdout] 78 | impl JsSerializable for &'static Fn(JsValue) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(JsValue) -> ()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/js_ser/mod.rs:89:34 [INFO] [stdout] | [INFO] [stdout] 89 | impl JsSerializable for &'static Fn(JsValue) -> (Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(JsValue) -> (Box)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/js_ser/mod.rs:89:49 [INFO] [stdout] | [INFO] [stdout] 89 | impl JsSerializable for &'static Fn(JsValue) -> (Box) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 89 - impl JsSerializable for &'static Fn(JsValue) -> (Box) { [INFO] [stdout] 89 + impl JsSerializable for &'static Fn(JsValue) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/js_ser/mod.rs:89:54 [INFO] [stdout] | [INFO] [stdout] 89 | impl JsSerializable for &'static Fn(JsValue) -> (Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn JsSerializable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/js_val_impl/call.rs:36:43 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn call_with_args(&self, args: &[&JsSerializable]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn JsSerializable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/js_val_impl/call.rs:78:62 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn call_method_with_args(&self, name: &str, args: &[&JsSerializable]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn JsSerializable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/js_val_impl/new.rs:36:42 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new_with_args(&self, args: &[&JsSerializable]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn JsSerializable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/js_val_impl/mod.rs:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn ser_single_val(val: &JsSerializable) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn JsSerializable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:52:67 [INFO] [stdout] | [INFO] [stdout] 52 | static CALLBACKS_RET_KEY: RefCell (Box) >>> = RefCell::new(HashMap::new()); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 52 - static CALLBACKS_RET_KEY: RefCell (Box) >>> = RefCell::new(HashMap::new()); [INFO] [stdout] 52 + static CALLBACKS_RET_KEY: RefCell Box >>> = RefCell::new(HashMap::new()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:52:72 [INFO] [stdout] | [INFO] [stdout] 52 | static CALLBACKS_RET_KEY: RefCell (Box) >>> = RefCell::new(HashMap::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn JsSerializable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:54:78 [INFO] [stdout] | [INFO] [stdout] 54 | static CALLBACKS_ARG_RET_KEY: RefCell (Box) >>> = RefCell::new(HashMap::new()); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 54 - static CALLBACKS_ARG_RET_KEY: RefCell (Box) >>> = RefCell::new(HashMap::new()); [INFO] [stdout] 54 + static CALLBACKS_ARG_RET_KEY: RefCell Box >>> = RefCell::new(HashMap::new()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:54:83 [INFO] [stdout] | [INFO] [stdout] 54 | static CALLBACKS_ARG_RET_KEY: RefCell (Box) >>> = RefCell::new(HashMap::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn JsSerializable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:70:70 [INFO] [stdout] | [INFO] [stdout] 70 | pub extern "C" fn wasm_val_call_registered_callback_ret(key: u32) -> (*mut u8) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 70 - pub extern "C" fn wasm_val_call_registered_callback_ret(key: u32) -> (*mut u8) { [INFO] [stdout] 70 + pub extern "C" fn wasm_val_call_registered_callback_ret(key: u32) -> *mut u8 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:101:88 [INFO] [stdout] | [INFO] [stdout] 101 | pub extern "C" fn wasm_val_call_registered_callback_arg_ret(key: u32, ptr: *mut u8) -> (*mut u8) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 101 - pub extern "C" fn wasm_val_call_registered_callback_arg_ret(key: u32, ptr: *mut u8) -> (*mut u8) { [INFO] [stdout] 101 + pub extern "C" fn wasm_val_call_registered_callback_arg_ret(key: u32, ptr: *mut u8) -> *mut u8 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:130:42 [INFO] [stdout] | [INFO] [stdout] 130 | fn register_callback(callback: &'static Fn() -> ()) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> ()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:139:45 [INFO] [stdout] | [INFO] [stdout] 139 | fn register_callback_ret(callback: &'static Fn() -> (Box)) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> (Box)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:139:53 [INFO] [stdout] | [INFO] [stdout] 139 | fn register_callback_ret(callback: &'static Fn() -> (Box)) -> u32 { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 139 - fn register_callback_ret(callback: &'static Fn() -> (Box)) -> u32 { [INFO] [stdout] 139 + fn register_callback_ret(callback: &'static Fn() -> Box) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:139:58 [INFO] [stdout] | [INFO] [stdout] 139 | fn register_callback_ret(callback: &'static Fn() -> (Box)) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn JsSerializable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:148:46 [INFO] [stdout] | [INFO] [stdout] 148 | fn register_callback_arg(callback: &'static Fn(JsValue) -> ()) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(JsValue) -> ()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:157:50 [INFO] [stdout] | [INFO] [stdout] 157 | fn register_callback_ret_arg(callback: &'static Fn(JsValue) -> (Box)) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(JsValue) -> (Box)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:157:65 [INFO] [stdout] | [INFO] [stdout] 157 | fn register_callback_ret_arg(callback: &'static Fn(JsValue) -> (Box)) -> u32 { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 157 - fn register_callback_ret_arg(callback: &'static Fn(JsValue) -> (Box)) -> u32 { [INFO] [stdout] 157 + fn register_callback_ret_arg(callback: &'static Fn(JsValue) -> Box) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:157:70 [INFO] [stdout] | [INFO] [stdout] 157 | fn register_callback_ret_arg(callback: &'static Fn(JsValue) -> (Box)) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn JsSerializable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/js_val_impl/new.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | let mut vec = Vec::with_capacity(alloc_size as usize); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.26s [INFO] running `Command { std: "docker" "inspect" "13e1d9c2ab8f1923739cab4002dd2981c207e29a589a571edc14db31718b9ce7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13e1d9c2ab8f1923739cab4002dd2981c207e29a589a571edc14db31718b9ce7", kill_on_drop: false }` [INFO] [stdout] 13e1d9c2ab8f1923739cab4002dd2981c207e29a589a571edc14db31718b9ce7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-78/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-78/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c37a33d1057742e14c681e3ca6b5781c0bc2b56477fa70859d65ae099da797cb [INFO] running `Command { std: "docker" "start" "-a" "c37a33d1057742e14c681e3ca6b5781c0bc2b56477fa70859d65ae099da797cb", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/js_ser/mod.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | impl JsSerializable for &'static Fn() -> () { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> ()` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/js_ser/mod.rs:67:34 [INFO] [stdout] | [INFO] [stdout] 67 | impl JsSerializable for &'static Fn() -> (Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> (Box)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/js_ser/mod.rs:67:42 [INFO] [stdout] | [INFO] [stdout] 67 | impl JsSerializable for &'static Fn() -> (Box) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 67 - impl JsSerializable for &'static Fn() -> (Box) { [INFO] [stdout] 67 + impl JsSerializable for &'static Fn() -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/js_ser/mod.rs:67:47 [INFO] [stdout] | [INFO] [stdout] 67 | impl JsSerializable for &'static Fn() -> (Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn JsSerializable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/js_ser/mod.rs:78:34 [INFO] [stdout] | [INFO] [stdout] 78 | impl JsSerializable for &'static Fn(JsValue) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(JsValue) -> ()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/js_ser/mod.rs:89:34 [INFO] [stdout] | [INFO] [stdout] 89 | impl JsSerializable for &'static Fn(JsValue) -> (Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(JsValue) -> (Box)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/js_ser/mod.rs:89:49 [INFO] [stdout] | [INFO] [stdout] 89 | impl JsSerializable for &'static Fn(JsValue) -> (Box) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 89 - impl JsSerializable for &'static Fn(JsValue) -> (Box) { [INFO] [stdout] 89 + impl JsSerializable for &'static Fn(JsValue) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wasm_val v0.3.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/js_ser/mod.rs:89:54 [INFO] [stdout] | [INFO] [stdout] 89 | impl JsSerializable for &'static Fn(JsValue) -> (Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn JsSerializable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/js_val_impl/call.rs:36:43 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn call_with_args(&self, args: &[&JsSerializable]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn JsSerializable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/js_val_impl/call.rs:78:62 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn call_method_with_args(&self, name: &str, args: &[&JsSerializable]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn JsSerializable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/js_val_impl/new.rs:36:42 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new_with_args(&self, args: &[&JsSerializable]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn JsSerializable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/js_val_impl/mod.rs:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn ser_single_val(val: &JsSerializable) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn JsSerializable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:52:67 [INFO] [stdout] | [INFO] [stdout] 52 | static CALLBACKS_RET_KEY: RefCell (Box) >>> = RefCell::new(HashMap::new()); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 52 - static CALLBACKS_RET_KEY: RefCell (Box) >>> = RefCell::new(HashMap::new()); [INFO] [stdout] 52 + static CALLBACKS_RET_KEY: RefCell Box >>> = RefCell::new(HashMap::new()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:52:72 [INFO] [stdout] | [INFO] [stdout] 52 | static CALLBACKS_RET_KEY: RefCell (Box) >>> = RefCell::new(HashMap::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn JsSerializable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:54:78 [INFO] [stdout] | [INFO] [stdout] 54 | static CALLBACKS_ARG_RET_KEY: RefCell (Box) >>> = RefCell::new(HashMap::new()); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 54 - static CALLBACKS_ARG_RET_KEY: RefCell (Box) >>> = RefCell::new(HashMap::new()); [INFO] [stdout] 54 + static CALLBACKS_ARG_RET_KEY: RefCell Box >>> = RefCell::new(HashMap::new()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:54:83 [INFO] [stdout] | [INFO] [stdout] 54 | static CALLBACKS_ARG_RET_KEY: RefCell (Box) >>> = RefCell::new(HashMap::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn JsSerializable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:70:70 [INFO] [stdout] | [INFO] [stdout] 70 | pub extern "C" fn wasm_val_call_registered_callback_ret(key: u32) -> (*mut u8) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 70 - pub extern "C" fn wasm_val_call_registered_callback_ret(key: u32) -> (*mut u8) { [INFO] [stdout] 70 + pub extern "C" fn wasm_val_call_registered_callback_ret(key: u32) -> *mut u8 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:101:88 [INFO] [stdout] | [INFO] [stdout] 101 | pub extern "C" fn wasm_val_call_registered_callback_arg_ret(key: u32, ptr: *mut u8) -> (*mut u8) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 101 - pub extern "C" fn wasm_val_call_registered_callback_arg_ret(key: u32, ptr: *mut u8) -> (*mut u8) { [INFO] [stdout] 101 + pub extern "C" fn wasm_val_call_registered_callback_arg_ret(key: u32, ptr: *mut u8) -> *mut u8 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:130:42 [INFO] [stdout] | [INFO] [stdout] 130 | fn register_callback(callback: &'static Fn() -> ()) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> ()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:139:45 [INFO] [stdout] | [INFO] [stdout] 139 | fn register_callback_ret(callback: &'static Fn() -> (Box)) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> (Box)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:139:53 [INFO] [stdout] | [INFO] [stdout] 139 | fn register_callback_ret(callback: &'static Fn() -> (Box)) -> u32 { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 139 - fn register_callback_ret(callback: &'static Fn() -> (Box)) -> u32 { [INFO] [stdout] 139 + fn register_callback_ret(callback: &'static Fn() -> Box) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:139:58 [INFO] [stdout] | [INFO] [stdout] 139 | fn register_callback_ret(callback: &'static Fn() -> (Box)) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn JsSerializable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:148:46 [INFO] [stdout] | [INFO] [stdout] 148 | fn register_callback_arg(callback: &'static Fn(JsValue) -> ()) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(JsValue) -> ()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:157:50 [INFO] [stdout] | [INFO] [stdout] 157 | fn register_callback_ret_arg(callback: &'static Fn(JsValue) -> (Box)) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(JsValue) -> (Box)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:157:65 [INFO] [stdout] | [INFO] [stdout] 157 | fn register_callback_ret_arg(callback: &'static Fn(JsValue) -> (Box)) -> u32 { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 157 - fn register_callback_ret_arg(callback: &'static Fn(JsValue) -> (Box)) -> u32 { [INFO] [stdout] 157 + fn register_callback_ret_arg(callback: &'static Fn(JsValue) -> Box) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:157:70 [INFO] [stdout] | [INFO] [stdout] 157 | fn register_callback_ret_arg(callback: &'static Fn(JsValue) -> (Box)) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn JsSerializable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/js_val_impl/new.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | let mut vec = Vec::with_capacity(alloc_size as usize); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/js_ser/mod.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | impl JsSerializable for &'static Fn() -> () { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> ()` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/js_ser/mod.rs:67:34 [INFO] [stdout] | [INFO] [stdout] 67 | impl JsSerializable for &'static Fn() -> (Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> (Box)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/js_ser/mod.rs:67:42 [INFO] [stdout] | [INFO] [stdout] 67 | impl JsSerializable for &'static Fn() -> (Box) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 67 - impl JsSerializable for &'static Fn() -> (Box) { [INFO] [stdout] 67 + impl JsSerializable for &'static Fn() -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/js_ser/mod.rs:67:47 [INFO] [stdout] | [INFO] [stdout] 67 | impl JsSerializable for &'static Fn() -> (Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn JsSerializable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/js_ser/mod.rs:78:34 [INFO] [stdout] | [INFO] [stdout] 78 | impl JsSerializable for &'static Fn(JsValue) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(JsValue) -> ()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/js_ser/mod.rs:89:34 [INFO] [stdout] | [INFO] [stdout] 89 | impl JsSerializable for &'static Fn(JsValue) -> (Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(JsValue) -> (Box)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/js_ser/mod.rs:89:49 [INFO] [stdout] | [INFO] [stdout] 89 | impl JsSerializable for &'static Fn(JsValue) -> (Box) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 89 - impl JsSerializable for &'static Fn(JsValue) -> (Box) { [INFO] [stdout] 89 + impl JsSerializable for &'static Fn(JsValue) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/js_ser/mod.rs:89:54 [INFO] [stdout] | [INFO] [stdout] 89 | impl JsSerializable for &'static Fn(JsValue) -> (Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn JsSerializable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/js_val_impl/call.rs:36:43 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn call_with_args(&self, args: &[&JsSerializable]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn JsSerializable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/js_val_impl/call.rs:78:62 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn call_method_with_args(&self, name: &str, args: &[&JsSerializable]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn JsSerializable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/js_val_impl/new.rs:36:42 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new_with_args(&self, args: &[&JsSerializable]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn JsSerializable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/js_val_impl/mod.rs:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn ser_single_val(val: &JsSerializable) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn JsSerializable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:52:67 [INFO] [stdout] | [INFO] [stdout] 52 | static CALLBACKS_RET_KEY: RefCell (Box) >>> = RefCell::new(HashMap::new()); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 52 - static CALLBACKS_RET_KEY: RefCell (Box) >>> = RefCell::new(HashMap::new()); [INFO] [stdout] 52 + static CALLBACKS_RET_KEY: RefCell Box >>> = RefCell::new(HashMap::new()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:52:72 [INFO] [stdout] | [INFO] [stdout] 52 | static CALLBACKS_RET_KEY: RefCell (Box) >>> = RefCell::new(HashMap::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn JsSerializable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:54:78 [INFO] [stdout] | [INFO] [stdout] 54 | static CALLBACKS_ARG_RET_KEY: RefCell (Box) >>> = RefCell::new(HashMap::new()); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 54 - static CALLBACKS_ARG_RET_KEY: RefCell (Box) >>> = RefCell::new(HashMap::new()); [INFO] [stdout] 54 + static CALLBACKS_ARG_RET_KEY: RefCell Box >>> = RefCell::new(HashMap::new()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:54:83 [INFO] [stdout] | [INFO] [stdout] 54 | static CALLBACKS_ARG_RET_KEY: RefCell (Box) >>> = RefCell::new(HashMap::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn JsSerializable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:70:70 [INFO] [stdout] | [INFO] [stdout] 70 | pub extern "C" fn wasm_val_call_registered_callback_ret(key: u32) -> (*mut u8) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 70 - pub extern "C" fn wasm_val_call_registered_callback_ret(key: u32) -> (*mut u8) { [INFO] [stdout] 70 + pub extern "C" fn wasm_val_call_registered_callback_ret(key: u32) -> *mut u8 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:101:88 [INFO] [stdout] | [INFO] [stdout] 101 | pub extern "C" fn wasm_val_call_registered_callback_arg_ret(key: u32, ptr: *mut u8) -> (*mut u8) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 101 - pub extern "C" fn wasm_val_call_registered_callback_arg_ret(key: u32, ptr: *mut u8) -> (*mut u8) { [INFO] [stdout] 101 + pub extern "C" fn wasm_val_call_registered_callback_arg_ret(key: u32, ptr: *mut u8) -> *mut u8 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:130:42 [INFO] [stdout] | [INFO] [stdout] 130 | fn register_callback(callback: &'static Fn() -> ()) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> ()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:139:45 [INFO] [stdout] | [INFO] [stdout] 139 | fn register_callback_ret(callback: &'static Fn() -> (Box)) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> (Box)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:139:53 [INFO] [stdout] | [INFO] [stdout] 139 | fn register_callback_ret(callback: &'static Fn() -> (Box)) -> u32 { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 139 - fn register_callback_ret(callback: &'static Fn() -> (Box)) -> u32 { [INFO] [stdout] 139 + fn register_callback_ret(callback: &'static Fn() -> Box) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:139:58 [INFO] [stdout] | [INFO] [stdout] 139 | fn register_callback_ret(callback: &'static Fn() -> (Box)) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn JsSerializable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:148:46 [INFO] [stdout] | [INFO] [stdout] 148 | fn register_callback_arg(callback: &'static Fn(JsValue) -> ()) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(JsValue) -> ()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:157:50 [INFO] [stdout] | [INFO] [stdout] 157 | fn register_callback_ret_arg(callback: &'static Fn(JsValue) -> (Box)) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(JsValue) -> (Box)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:157:65 [INFO] [stdout] | [INFO] [stdout] 157 | fn register_callback_ret_arg(callback: &'static Fn(JsValue) -> (Box)) -> u32 { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 157 - fn register_callback_ret_arg(callback: &'static Fn(JsValue) -> (Box)) -> u32 { [INFO] [stdout] 157 + fn register_callback_ret_arg(callback: &'static Fn(JsValue) -> Box) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:157:70 [INFO] [stdout] | [INFO] [stdout] 157 | fn register_callback_ret_arg(callback: &'static Fn(JsValue) -> (Box)) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn JsSerializable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/js_val_impl/new.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | let mut vec = Vec::with_capacity(alloc_size as usize); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.06s [INFO] running `Command { std: "docker" "inspect" "c37a33d1057742e14c681e3ca6b5781c0bc2b56477fa70859d65ae099da797cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c37a33d1057742e14c681e3ca6b5781c0bc2b56477fa70859d65ae099da797cb", kill_on_drop: false }` [INFO] [stdout] c37a33d1057742e14c681e3ca6b5781c0bc2b56477fa70859d65ae099da797cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-78/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-78/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 106125d5de3f63113011505d229e3f4472ca0ea9dbdd15aaa3c1d5b8b27c89bf [INFO] running `Command { std: "docker" "start" "-a" "106125d5de3f63113011505d229e3f4472ca0ea9dbdd15aaa3c1d5b8b27c89bf", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/js_ser/mod.rs:56:34 [INFO] [stderr] | [INFO] [stderr] 56 | impl JsSerializable for &'static Fn() -> () { [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> ()` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/js_ser/mod.rs:67:34 [INFO] [stderr] | [INFO] [stderr] 67 | impl JsSerializable for &'static Fn() -> (Box) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> (Box)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/js_ser/mod.rs:67:42 [INFO] [stderr] | [INFO] [stderr] 67 | impl JsSerializable for &'static Fn() -> (Box) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 67 - impl JsSerializable for &'static Fn() -> (Box) { [INFO] [stderr] 67 + impl JsSerializable for &'static Fn() -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/js_ser/mod.rs:67:47 [INFO] [stderr] | [INFO] [stderr] 67 | impl JsSerializable for &'static Fn() -> (Box) { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn JsSerializable` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/js_ser/mod.rs:78:34 [INFO] [stderr] | [INFO] [stderr] 78 | impl JsSerializable for &'static Fn(JsValue) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(JsValue) -> ()` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/js_ser/mod.rs:89:34 [INFO] [stderr] | [INFO] [stderr] 89 | impl JsSerializable for &'static Fn(JsValue) -> (Box) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(JsValue) -> (Box)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/js_ser/mod.rs:89:49 [INFO] [stderr] | [INFO] [stderr] 89 | impl JsSerializable for &'static Fn(JsValue) -> (Box) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 89 - impl JsSerializable for &'static Fn(JsValue) -> (Box) { [INFO] [stderr] 89 + impl JsSerializable for &'static Fn(JsValue) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/js_ser/mod.rs:89:54 [INFO] [stderr] | [INFO] [stderr] 89 | impl JsSerializable for &'static Fn(JsValue) -> (Box) { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn JsSerializable` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/js_val_impl/call.rs:36:43 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn call_with_args(&self, args: &[&JsSerializable]) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn JsSerializable` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/js_val_impl/call.rs:78:62 [INFO] [stderr] | [INFO] [stderr] 78 | pub fn call_method_with_args(&self, name: &str, args: &[&JsSerializable]) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn JsSerializable` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/js_val_impl/new.rs:36:42 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn new_with_args(&self, args: &[&JsSerializable]) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn JsSerializable` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/js_val_impl/mod.rs:64:33 [INFO] [stderr] | [INFO] [stderr] 64 | pub fn ser_single_val(val: &JsSerializable) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn JsSerializable` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/lib.rs:52:67 [INFO] [stderr] | [INFO] [stderr] 52 | static CALLBACKS_RET_KEY: RefCell (Box) >>> = RefCell::new(HashMap::new()); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 52 - static CALLBACKS_RET_KEY: RefCell (Box) >>> = RefCell::new(HashMap::new()); [INFO] [stderr] 52 + static CALLBACKS_RET_KEY: RefCell Box >>> = RefCell::new(HashMap::new()); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:52:72 [INFO] [stderr] | [INFO] [stderr] 52 | static CALLBACKS_RET_KEY: RefCell (Box) >>> = RefCell::new(HashMap::new()); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn JsSerializable` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/lib.rs:54:78 [INFO] [stderr] | [INFO] [stderr] 54 | static CALLBACKS_ARG_RET_KEY: RefCell (Box) >>> = RefCell::new(HashMap::new()); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 54 - static CALLBACKS_ARG_RET_KEY: RefCell (Box) >>> = RefCell::new(HashMap::new()); [INFO] [stderr] 54 + static CALLBACKS_ARG_RET_KEY: RefCell Box >>> = RefCell::new(HashMap::new()); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:54:83 [INFO] [stderr] | [INFO] [stderr] 54 | static CALLBACKS_ARG_RET_KEY: RefCell (Box) >>> = RefCell::new(HashMap::new()); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn JsSerializable` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/lib.rs:70:70 [INFO] [stderr] | [INFO] [stderr] 70 | pub extern "C" fn wasm_val_call_registered_callback_ret(key: u32) -> (*mut u8) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 70 - pub extern "C" fn wasm_val_call_registered_callback_ret(key: u32) -> (*mut u8) { [INFO] [stderr] 70 + pub extern "C" fn wasm_val_call_registered_callback_ret(key: u32) -> *mut u8 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/lib.rs:101:88 [INFO] [stderr] | [INFO] [stderr] 101 | pub extern "C" fn wasm_val_call_registered_callback_arg_ret(key: u32, ptr: *mut u8) -> (*mut u8) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 101 - pub extern "C" fn wasm_val_call_registered_callback_arg_ret(key: u32, ptr: *mut u8) -> (*mut u8) { [INFO] [stderr] 101 + pub extern "C" fn wasm_val_call_registered_callback_arg_ret(key: u32, ptr: *mut u8) -> *mut u8 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:130:42 [INFO] [stderr] | [INFO] [stderr] 130 | fn register_callback(callback: &'static Fn() -> ()) -> u32 { [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> ()` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:139:45 [INFO] [stderr] | [INFO] [stderr] 139 | fn register_callback_ret(callback: &'static Fn() -> (Box)) -> u32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> (Box)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/lib.rs:139:53 [INFO] [stderr] | [INFO] [stderr] 139 | fn register_callback_ret(callback: &'static Fn() -> (Box)) -> u32 { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 139 - fn register_callback_ret(callback: &'static Fn() -> (Box)) -> u32 { [INFO] [stderr] 139 + fn register_callback_ret(callback: &'static Fn() -> Box) -> u32 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:139:58 [INFO] [stderr] | [INFO] [stderr] 139 | fn register_callback_ret(callback: &'static Fn() -> (Box)) -> u32 { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn JsSerializable` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:148:46 [INFO] [stderr] | [INFO] [stderr] 148 | fn register_callback_arg(callback: &'static Fn(JsValue) -> ()) -> u32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(JsValue) -> ()` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:157:50 [INFO] [stderr] | [INFO] [stderr] 157 | fn register_callback_ret_arg(callback: &'static Fn(JsValue) -> (Box)) -> u32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(JsValue) -> (Box)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/lib.rs:157:65 [INFO] [stderr] | [INFO] [stderr] 157 | fn register_callback_ret_arg(callback: &'static Fn(JsValue) -> (Box)) -> u32 { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 157 - fn register_callback_ret_arg(callback: &'static Fn(JsValue) -> (Box)) -> u32 { [INFO] [stderr] 157 + fn register_callback_ret_arg(callback: &'static Fn(JsValue) -> Box) -> u32 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:157:70 [INFO] [stderr] | [INFO] [stderr] 157 | fn register_callback_ret_arg(callback: &'static Fn(JsValue) -> (Box)) -> u32 { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn JsSerializable` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/js_val_impl/new.rs:40:21 [INFO] [stderr] | [INFO] [stderr] 40 | let mut vec = Vec::with_capacity(alloc_size as usize); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `wasm_val` (lib) generated 27 warnings [INFO] [stderr] warning: `wasm_val` (lib test) generated 27 warnings (27 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/wasm_val-67a6311a8118ea40) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests wasm_val [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> /opt/rustwide/workdir/src/js_ser/mod.rs:67:42 [INFO] [stderr] | [INFO] [stderr] 67 | impl JsSerializable for &'static Fn() -> (Box) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 67 - impl JsSerializable for &'static Fn() -> (Box) { [INFO] [stderr] 67 + impl JsSerializable for &'static Fn() -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> /opt/rustwide/workdir/src/js_ser/mod.rs:89:49 [INFO] [stderr] | [INFO] [stderr] 89 | impl JsSerializable for &'static Fn(JsValue) -> (Box) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 89 - impl JsSerializable for &'static Fn(JsValue) -> (Box) { [INFO] [stderr] 89 + impl JsSerializable for &'static Fn(JsValue) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:52:67 [INFO] [stderr] | [INFO] [stderr] 52 | static CALLBACKS_RET_KEY: RefCell (Box) >>> = RefCell::new(HashMap::new()); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 52 - static CALLBACKS_RET_KEY: RefCell (Box) >>> = RefCell::new(HashMap::new()); [INFO] [stderr] 52 + static CALLBACKS_RET_KEY: RefCell Box >>> = RefCell::new(HashMap::new()); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:54:78 [INFO] [stderr] | [INFO] [stderr] 54 | static CALLBACKS_ARG_RET_KEY: RefCell (Box) >>> = RefCell::new(HashMap::new()); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 54 - static CALLBACKS_ARG_RET_KEY: RefCell (Box) >>> = RefCell::new(HashMap::new()); [INFO] [stderr] 54 + static CALLBACKS_ARG_RET_KEY: RefCell Box >>> = RefCell::new(HashMap::new()); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:70:70 [INFO] [stderr] | [INFO] [stderr] 70 | pub extern "C" fn wasm_val_call_registered_callback_ret(key: u32) -> (*mut u8) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 70 - pub extern "C" fn wasm_val_call_registered_callback_ret(key: u32) -> (*mut u8) { [INFO] [stderr] 70 + pub extern "C" fn wasm_val_call_registered_callback_ret(key: u32) -> *mut u8 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:101:88 [INFO] [stderr] | [INFO] [stderr] 101 | pub extern "C" fn wasm_val_call_registered_callback_arg_ret(key: u32, ptr: *mut u8) -> (*mut u8) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 101 - pub extern "C" fn wasm_val_call_registered_callback_arg_ret(key: u32, ptr: *mut u8) -> (*mut u8) { [INFO] [stderr] 101 + pub extern "C" fn wasm_val_call_registered_callback_arg_ret(key: u32, ptr: *mut u8) -> *mut u8 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:139:53 [INFO] [stderr] | [INFO] [stderr] 139 | fn register_callback_ret(callback: &'static Fn() -> (Box)) -> u32 { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 139 - fn register_callback_ret(callback: &'static Fn() -> (Box)) -> u32 { [INFO] [stderr] 139 + fn register_callback_ret(callback: &'static Fn() -> Box) -> u32 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:157:65 [INFO] [stderr] | [INFO] [stderr] 157 | fn register_callback_ret_arg(callback: &'static Fn(JsValue) -> (Box)) -> u32 { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 157 - fn register_callback_ret_arg(callback: &'static Fn(JsValue) -> (Box)) -> u32 { [INFO] [stderr] 157 + fn register_callback_ret_arg(callback: &'static Fn(JsValue) -> Box) -> u32 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] warning: 8 warnings emitted [INFO] [stdout] running 0 tests [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "106125d5de3f63113011505d229e3f4472ca0ea9dbdd15aaa3c1d5b8b27c89bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "106125d5de3f63113011505d229e3f4472ca0ea9dbdd15aaa3c1d5b8b27c89bf", kill_on_drop: false }` [INFO] [stdout] 106125d5de3f63113011505d229e3f4472ca0ea9dbdd15aaa3c1d5b8b27c89bf