[INFO] fetching crate sophon-wasm 0.18.1... [INFO] checking sophon-wasm-0.18.1 against try#b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b for pr-82781 [INFO] extracting crate sophon-wasm 0.18.1 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate sophon-wasm 0.18.1 on toolchain b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sophon-wasm 0.18.1 [INFO] finished tweaking crates.io crate sophon-wasm 0.18.1 [INFO] tweaked toml for crates.io crate sophon-wasm 0.18.1 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd54743a09ddfd5a108832f8752302dc82057bb4e87f172ce71533ff8f59282e [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" "cd54743a09ddfd5a108832f8752302dc82057bb4e87f172ce71533ff8f59282e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd54743a09ddfd5a108832f8752302dc82057bb4e87f172ce71533ff8f59282e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd54743a09ddfd5a108832f8752302dc82057bb4e87f172ce71533ff8f59282e", kill_on_drop: false }` [INFO] [stdout] cd54743a09ddfd5a108832f8752302dc82057bb4e87f172ce71533ff8f59282e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34343279dd2a09d10bb4d4d061e82b15d1d6a7fdbb335b6a4a66ef3d343fa2cc [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" "34343279dd2a09d10bb4d4d061e82b15d1d6a7fdbb335b6a4a66ef3d343fa2cc", kill_on_drop: false }` [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling libc v0.2.89 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking parking_lot_core v0.2.14 [INFO] [stderr] Checking parking_lot v0.4.8 [INFO] [stderr] Checking sophon-wasm v0.18.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `BlockType` is imported redundantly [INFO] [stdout] --> src/elements/ops.rs:927:13 [INFO] [stdout] | [INFO] [stdout] 4 | VarUint1, VarUint32, CountedList, BlockType, [INFO] [stdout] | --------- the item `BlockType` is already imported here [INFO] [stdout] ... [INFO] [stdout] 927 | use super::BlockType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/mod.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | impl UserError { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn UserError` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/mod.rs:19:36 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { Some(&*(self as *const UserError as *const T)) } [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn UserError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/mod.rs:29:38 [INFO] [stdout] | [INFO] [stdout] 29 | unsafe { Some(&mut *(self as *mut UserError as *mut T)) } [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn UserError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/mod.rs:68:11 [INFO] [stdout] | [INFO] [stdout] 68 | User(Box), [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn UserError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/validator.rs:19:44 [INFO] [stdout] | [INFO] [stdout] 19 | externals: Option<&'a HashMap>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/validator.rs:581:45 [INFO] [stdout] | [INFO] [stdout] 581 | externals: Option<&'a HashMap>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/native.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | base: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/native.rs:99:23 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn new(base: Arc, elements: UserDefinedElements) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/native.rs:189:127 [INFO] [stdout] | [INFO] [stdout] 189 | ...on<&'b HashMap>>) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/native.rs:224:95 [INFO] [stdout] | [INFO] [stdout] 224 | ...on<&'b HashMap>>) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/native.rs:228:132 [INFO] [stdout] | [INFO] [stdout] 228 | ...on<&'b HashMap>>) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/native.rs:283:66 [INFO] [stdout] | [INFO] [stdout] 283 | ...unctionExecutor + 'a>(base: Arc, user_elements: UserDefinedElements) -> Result src/interpreter/native.rs:283:145 [INFO] [stdout] | [INFO] [stdout] 283 | ...Elements) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/imports.rs:107:69 [INFO] [stdout] | [INFO] [stdout] 107 | ...on<&'a HashMap>>, name: &str) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/imports.rs:107:128 [INFO] [stdout] | [INFO] [stdout] 107 | ... name: &str) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/imports.rs:121:71 [INFO] [stdout] | [INFO] [stdout] 121 | ...on<&'a HashMap>>, import: &ImportEntry, required_type: Option) -> Result<... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/imports.rs:131:68 [INFO] [stdout] | [INFO] [stdout] 131 | ...on<&'a HashMap>>, import: &ImportEntry) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/imports.rs:141:69 [INFO] [stdout] | [INFO] [stdout] 141 | ...on<&'a HashMap>>, import: &ImportEntry) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/imports.rs:151:69 [INFO] [stdout] | [INFO] [stdout] 151 | ...on<&'a HashMap>>, import: &ImportEntry, required_type: Option) -> Result src/interpreter/imports.rs:160:74 [INFO] [stdout] | [INFO] [stdout] 160 | ...on<&'a HashMap>>, import: &ImportEntry, required_type: &ExportEntryType) -> Result<(Arc src/interpreter/imports.rs:160:177 [INFO] [stdout] | [INFO] [stdout] 160 | ...tEntryType) -> Result<(Arc, Internal), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/module.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | pub externals: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/module.rs:65:120 [INFO] [stdout] | [INFO] [stdout] 65 | ...on<&'a HashMap>>) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/module.rs:71:95 [INFO] [stdout] | [INFO] [stdout] 71 | ...on<&'a HashMap>>) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/module.rs:73:132 [INFO] [stdout] | [INFO] [stdout] 73 | ...on<&'a HashMap>>) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/module.rs:120:41 [INFO] [stdout] | [INFO] [stdout] 120 | pub externals: &'a HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/module.rs:127:18 [INFO] [stdout] | [INFO] [stdout] 127 | pub module: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/module.rs:150:49 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn with_external(name: String, module: Arc) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/module.rs:234:78 [INFO] [stdout] | [INFO] [stdout] 234 | pub fn instantiate<'a>(&mut self, externals: Option<&'a HashMap>>) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/module.rs:446:67 [INFO] [stdout] | [INFO] [stdout] 446 | ...on<&'a HashMap>>) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/module.rs:446:114 [INFO] [stdout] | [INFO] [stdout] 446 | ...ace + 'a>>>) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/module.rs:544:120 [INFO] [stdout] | [INFO] [stdout] 544 | ...on<&'a HashMap>>) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/module.rs:583:95 [INFO] [stdout] | [INFO] [stdout] 583 | ...on<&'a HashMap>>) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/module.rs:605:132 [INFO] [stdout] | [INFO] [stdout] 605 | ...on<&'a HashMap>>) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/module.rs:652:96 [INFO] [stdout] | [INFO] [stdout] 652 | pub fn topmost(args: &'a mut StackWithLimit, externals: &'a HashMap>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/program.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | modules: RwLock>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/program.rs:29:101 [INFO] [stdout] | [INFO] [stdout] 29 | ...on<&'a HashMap>>) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/program.rs:40:70 [INFO] [stdout] | [INFO] [stdout] 40 | ...ame: &str, module_instance: Arc) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/program.rs:40:110 [INFO] [stdout] | [INFO] [stdout] 40 | ...stanceInterface>) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/program.rs:47:49 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn module(&self, name: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/program.rs:61:49 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn module(&self, name: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/runner.rs:29:41 [INFO] [stdout] | [INFO] [stdout] 29 | pub externals: &'a HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/runner.rs:967:89 [INFO] [stdout] | [INFO] [stdout] 967 | ...s: &'a HashMap>, value_stack_limit: usize, frame_stack_limit: usize, function_type: &Functio... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/runner.rs:1016:31 [INFO] [stdout] | [INFO] [stdout] 1016 | pub fn module(&self) -> &Arc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/runner.rs:1020:50 [INFO] [stdout] | [INFO] [stdout] 1020 | pub fn externals(&self) -> &HashMap> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/variable.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | External(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ExternalVariableValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/variable.rs:76:87 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn new_external_global(is_mutable: bool, variable_type: VariableType, value: Box) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ExternalVariableValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BlockType` is imported redundantly [INFO] [stdout] --> src/elements/ops.rs:927:13 [INFO] [stdout] | [INFO] [stdout] 4 | VarUint1, VarUint32, CountedList, BlockType, [INFO] [stdout] | --------- the item `BlockType` is already imported here [INFO] [stdout] ... [INFO] [stdout] 927 | use super::BlockType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/mod.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | impl UserError { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn UserError` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/mod.rs:19:36 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { Some(&*(self as *const UserError as *const T)) } [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn UserError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/mod.rs:29:38 [INFO] [stdout] | [INFO] [stdout] 29 | unsafe { Some(&mut *(self as *mut UserError as *mut T)) } [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn UserError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/mod.rs:68:11 [INFO] [stdout] | [INFO] [stdout] 68 | User(Box), [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn UserError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/validator.rs:19:44 [INFO] [stdout] | [INFO] [stdout] 19 | externals: Option<&'a HashMap>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/validator.rs:581:45 [INFO] [stdout] | [INFO] [stdout] 581 | externals: Option<&'a HashMap>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/native.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | base: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/native.rs:99:23 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn new(base: Arc, elements: UserDefinedElements) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/native.rs:189:127 [INFO] [stdout] | [INFO] [stdout] 189 | ...on<&'b HashMap>>) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/native.rs:224:95 [INFO] [stdout] | [INFO] [stdout] 224 | ...on<&'b HashMap>>) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/native.rs:228:132 [INFO] [stdout] | [INFO] [stdout] 228 | ...on<&'b HashMap>>) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/native.rs:283:66 [INFO] [stdout] | [INFO] [stdout] 283 | ...unctionExecutor + 'a>(base: Arc, user_elements: UserDefinedElements) -> Result src/interpreter/native.rs:283:145 [INFO] [stdout] | [INFO] [stdout] 283 | ...Elements) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/imports.rs:107:69 [INFO] [stdout] | [INFO] [stdout] 107 | ...on<&'a HashMap>>, name: &str) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/imports.rs:107:128 [INFO] [stdout] | [INFO] [stdout] 107 | ... name: &str) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/imports.rs:121:71 [INFO] [stdout] | [INFO] [stdout] 121 | ...on<&'a HashMap>>, import: &ImportEntry, required_type: Option) -> Result<... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/imports.rs:131:68 [INFO] [stdout] | [INFO] [stdout] 131 | ...on<&'a HashMap>>, import: &ImportEntry) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/imports.rs:141:69 [INFO] [stdout] | [INFO] [stdout] 141 | ...on<&'a HashMap>>, import: &ImportEntry) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/imports.rs:151:69 [INFO] [stdout] | [INFO] [stdout] 151 | ...on<&'a HashMap>>, import: &ImportEntry, required_type: Option) -> Result src/interpreter/imports.rs:160:74 [INFO] [stdout] | [INFO] [stdout] 160 | ...on<&'a HashMap>>, import: &ImportEntry, required_type: &ExportEntryType) -> Result<(Arc src/interpreter/imports.rs:160:177 [INFO] [stdout] | [INFO] [stdout] 160 | ...tEntryType) -> Result<(Arc, Internal), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/module.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | pub externals: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/module.rs:65:120 [INFO] [stdout] | [INFO] [stdout] 65 | ...on<&'a HashMap>>) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/module.rs:71:95 [INFO] [stdout] | [INFO] [stdout] 71 | ...on<&'a HashMap>>) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/module.rs:73:132 [INFO] [stdout] | [INFO] [stdout] 73 | ...on<&'a HashMap>>) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/module.rs:120:41 [INFO] [stdout] | [INFO] [stdout] 120 | pub externals: &'a HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/module.rs:127:18 [INFO] [stdout] | [INFO] [stdout] 127 | pub module: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/module.rs:150:49 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn with_external(name: String, module: Arc) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/module.rs:234:78 [INFO] [stdout] | [INFO] [stdout] 234 | pub fn instantiate<'a>(&mut self, externals: Option<&'a HashMap>>) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/module.rs:446:67 [INFO] [stdout] | [INFO] [stdout] 446 | ...on<&'a HashMap>>) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/module.rs:446:114 [INFO] [stdout] | [INFO] [stdout] 446 | ...ace + 'a>>>) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/module.rs:544:120 [INFO] [stdout] | [INFO] [stdout] 544 | ...on<&'a HashMap>>) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/module.rs:583:95 [INFO] [stdout] | [INFO] [stdout] 583 | ...on<&'a HashMap>>) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/module.rs:605:132 [INFO] [stdout] | [INFO] [stdout] 605 | ...on<&'a HashMap>>) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/module.rs:652:96 [INFO] [stdout] | [INFO] [stdout] 652 | pub fn topmost(args: &'a mut StackWithLimit, externals: &'a HashMap>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/program.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | modules: RwLock>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/program.rs:29:101 [INFO] [stdout] | [INFO] [stdout] 29 | ...on<&'a HashMap>>) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/program.rs:40:70 [INFO] [stdout] | [INFO] [stdout] 40 | ...ame: &str, module_instance: Arc) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/program.rs:40:110 [INFO] [stdout] | [INFO] [stdout] 40 | ...stanceInterface>) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/program.rs:47:49 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn module(&self, name: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/program.rs:61:49 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn module(&self, name: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/runner.rs:29:41 [INFO] [stdout] | [INFO] [stdout] 29 | pub externals: &'a HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/runner.rs:967:89 [INFO] [stdout] | [INFO] [stdout] 967 | ...s: &'a HashMap>, value_stack_limit: usize, frame_stack_limit: usize, function_type: &Functio... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/runner.rs:1016:31 [INFO] [stdout] | [INFO] [stdout] 1016 | pub fn module(&self) -> &Arc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/runner.rs:1020:50 [INFO] [stdout] | [INFO] [stdout] 1020 | pub fn externals(&self) -> &HashMap> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/variable.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | External(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ExternalVariableValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/variable.rs:76:87 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn new_external_global(is_mutable: bool, variable_type: VariableType, value: Box) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ExternalVariableValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/interpreter/tests/basics.rs:507:41 [INFO] [stdout] | [INFO] [stdout] 507 | enum MaximumError { ValueMismatch, Ok }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/interpreter/tests/basics.rs:575:41 [INFO] [stdout] | [INFO] [stdout] 575 | enum MaximumError { ValueMismatch, Ok }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/tests/wabt.rs:9:62 [INFO] [stdout] | [INFO] [stdout] 9 | fn make_function_i32(body: Opcodes) -> (ProgramInstance, Arc) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interpreter/tests/wabt.rs:25:34 [INFO] [stdout] | [INFO] [stdout] 25 | fn run_function_i32(module: &Arc, arg: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModuleInstanceInterface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/interpreter/module.rs:411:111 [INFO] [stdout] | [INFO] [stdout] 411 | let offset: u32 = get_initializer(data_segment.offset(), &self.module, &self.imports, VariableType::I32)?.try_into()?; [INFO] [stdout] | ^^^^^^^^ multiple `try_into` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `std::convert::TryInto` for the type `T` [INFO] [stdout] note: candidate #2 is defined in the trait `value::TryInto` [INFO] [stdout] --> src/interpreter/value.rs:27:2 [INFO] [stdout] | [INFO] [stdout] 27 | fn try_into(self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 411 | let offset: u32 = std::convert::TryInto::try_into(get_initializer(data_segment.offset(), &self.module, &self.imports, VariableType::I32)?)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 411 | let offset: u32 = value::TryInto::try_into(get_initializer(data_segment.offset(), &self.module, &self.imports, VariableType::I32)?)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/interpreter/module.rs:422:114 [INFO] [stdout] | [INFO] [stdout] 422 | let offset: u32 = get_initializer(element_segment.offset(), &self.module, &self.imports, VariableType::I32)?.try_into()?; [INFO] [stdout] | ^^^^^^^^ multiple `try_into` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `std::convert::TryInto` for the type `T` [INFO] [stdout] note: candidate #2 is defined in the trait `value::TryInto` [INFO] [stdout] --> src/interpreter/value.rs:27:2 [INFO] [stdout] | [INFO] [stdout] 27 | fn try_into(self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 422 | let offset: u32 = std::convert::TryInto::try_into(get_initializer(element_segment.offset(), &self.module, &self.imports, VariableType::I32)?)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 422 | let offset: u32 = value::TryInto::try_into(get_initializer(element_segment.offset(), &self.module, &self.imports, VariableType::I32)?)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/interpreter/module.rs:411:111 [INFO] [stdout] | [INFO] [stdout] 411 | let offset: u32 = get_initializer(data_segment.offset(), &self.module, &self.imports, VariableType::I32)?.try_into()?; [INFO] [stdout] | ^^^^^^^^ multiple `try_into` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `std::convert::TryInto` for the type `T` [INFO] [stdout] note: candidate #2 is defined in the trait `value::TryInto` [INFO] [stdout] --> src/interpreter/value.rs:27:2 [INFO] [stdout] | [INFO] [stdout] 27 | fn try_into(self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 411 | let offset: u32 = std::convert::TryInto::try_into(get_initializer(data_segment.offset(), &self.module, &self.imports, VariableType::I32)?)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 411 | let offset: u32 = value::TryInto::try_into(get_initializer(data_segment.offset(), &self.module, &self.imports, VariableType::I32)?)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/interpreter/module.rs:422:114 [INFO] [stdout] | [INFO] [stdout] 422 | let offset: u32 = get_initializer(element_segment.offset(), &self.module, &self.imports, VariableType::I32)?.try_into()?; [INFO] [stdout] | ^^^^^^^^ multiple `try_into` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `std::convert::TryInto` for the type `T` [INFO] [stdout] note: candidate #2 is defined in the trait `value::TryInto` [INFO] [stdout] --> src/interpreter/value.rs:27:2 [INFO] [stdout] | [INFO] [stdout] 27 | fn try_into(self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 422 | let offset: u32 = std::convert::TryInto::try_into(get_initializer(element_segment.offset(), &self.module, &self.imports, VariableType::I32)?)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 422 | let offset: u32 = value::TryInto::try_into(get_initializer(element_segment.offset(), &self.module, &self.imports, VariableType::I32)?)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/interpreter/runner.rs:446:41 [INFO] [stdout] | [INFO] [stdout] 446 | let right: Result<_, Error> = right.try_into(); [INFO] [stdout] | ^^^^^^^^ multiple `try_into` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `std::convert::TryInto` for the type `T` [INFO] [stdout] note: candidate #2 is defined in the trait `value::TryInto` [INFO] [stdout] --> src/interpreter/value.rs:27:2 [INFO] [stdout] | [INFO] [stdout] 27 | fn try_into(self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 446 | let right: Result<_, Error> = std::convert::TryInto::try_into(right); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 446 | let right: Result<_, Error> = value::TryInto::try_into(right); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/interpreter/runner.rs:446:41 [INFO] [stdout] | [INFO] [stdout] 446 | let right: Result<_, Error> = right.try_into(); [INFO] [stdout] | ^^^^^^^^ multiple `try_into` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `std::convert::TryInto` for the type `T` [INFO] [stdout] note: candidate #2 is defined in the trait `value::TryInto` [INFO] [stdout] --> src/interpreter/value.rs:27:2 [INFO] [stdout] | [INFO] [stdout] 27 | fn try_into(self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 446 | let right: Result<_, Error> = std::convert::TryInto::try_into(right); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 446 | let right: Result<_, Error> = value::TryInto::try_into(right); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/interpreter/runner.rs:544:20 [INFO] [stdout] | [INFO] [stdout] 544 | .and_then(|v| v.try_into())?; [INFO] [stdout] | ^^^^^^^^ multiple `try_into` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `std::convert::TryInto` for the type `T` [INFO] [stdout] note: candidate #2 is defined in the trait `value::TryInto` [INFO] [stdout] --> src/interpreter/value.rs:27:2 [INFO] [stdout] | [INFO] [stdout] 27 | fn try_into(self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 544 | .and_then(|v| std::convert::TryInto::try_into(v))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 544 | .and_then(|v| value::TryInto::try_into(v))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/interpreter/runner.rs:544:20 [INFO] [stdout] | [INFO] [stdout] 544 | .and_then(|v| v.try_into())?; [INFO] [stdout] | ^^^^^^^^ multiple `try_into` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `std::convert::TryInto` for the type `T` [INFO] [stdout] note: candidate #2 is defined in the trait `value::TryInto` [INFO] [stdout] --> src/interpreter/value.rs:27:2 [INFO] [stdout] | [INFO] [stdout] 27 | fn try_into(self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 544 | .and_then(|v| std::convert::TryInto::try_into(v))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 544 | .and_then(|v| value::TryInto::try_into(v))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/interpreter/tests/basics.rs:138:18 [INFO] [stdout] | [INFO] [stdout] 138 | self.val = val.try_into()?; [INFO] [stdout] | ^^^^^^^^ multiple `try_into` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `std::convert::TryInto` for the type `T` [INFO] [stdout] note: candidate #2 is defined in the trait `value::TryInto` [INFO] [stdout] --> src/interpreter/value.rs:27:2 [INFO] [stdout] | [INFO] [stdout] 27 | fn try_into(self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 138 | self.val = std::convert::TryInto::try_into(val)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 138 | self.val = value::TryInto::try_into(val)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryInto` [INFO] [stdout] --> src/interpreter/module.rs:14:40 [INFO] [stdout] | [INFO] [stdout] 14 | use interpreter::value::{RuntimeValue, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/interpreter/tests/wabt.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | .and_then(|r| r.unwrap().try_into()) [INFO] [stdout] | ^^^^^^^^ multiple `try_into` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `std::convert::TryInto` for the type `T` [INFO] [stdout] note: candidate #2 is defined in the trait `value::TryInto` [INFO] [stdout] --> src/interpreter/value.rs:27:2 [INFO] [stdout] | [INFO] [stdout] 27 | fn try_into(self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 28 | .and_then(|r| std::convert::TryInto::try_into(r.unwrap())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 28 | .and_then(|r| value::TryInto::try_into(r.unwrap())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 49 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sophon-wasm` [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: unused import: `TryInto` [INFO] [stdout] --> src/interpreter/module.rs:14:40 [INFO] [stdout] | [INFO] [stdout] 14 | use interpreter::value::{RuntimeValue, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryInto` [INFO] [stdout] --> src/interpreter/tests/basics.rs:13:40 [INFO] [stdout] | [INFO] [stdout] 13 | use interpreter::value::{RuntimeValue, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryInto` [INFO] [stdout] --> src/interpreter/tests/wabt.rs:7:40 [INFO] [stdout] | [INFO] [stdout] 7 | use interpreter::value::{RuntimeValue, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 55 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "34343279dd2a09d10bb4d4d061e82b15d1d6a7fdbb335b6a4a66ef3d343fa2cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34343279dd2a09d10bb4d4d061e82b15d1d6a7fdbb335b6a4a66ef3d343fa2cc", kill_on_drop: false }` [INFO] [stdout] 34343279dd2a09d10bb4d4d061e82b15d1d6a7fdbb335b6a4a66ef3d343fa2cc