[INFO] cloning repository https://github.com/susytech/swasmi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/susytech/swasmi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsusytech%2Fswasmi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsusytech%2Fswasmi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 942cc31094cb2c13c2b13a867b3ada5c4884cbff [INFO] testing susytech/swasmi against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsusytech%2Fswasmi" "/workspace/builds/worker-116/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-116/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/susytech/swasmi on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/susytech/swasmi [INFO] finished tweaking git repo https://github.com/susytech/swasmi [INFO] tweaked toml for git repo https://github.com/susytech/swasmi written to /workspace/builds/worker-116/source/Cargo.toml [INFO] crate git repo https://github.com/susytech/swasmi already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--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-116/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 477a39b53045d8c05b80e5b5f0911c0bce8f2a3d2d05af68e4eea8c545d08911 [INFO] running `Command { std: "docker" "start" "-a" "477a39b53045d8c05b80e5b5f0911c0bce8f2a3d2d05af68e4eea8c545d08911", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "477a39b53045d8c05b80e5b5f0911c0bce8f2a3d2d05af68e4eea8c545d08911", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "477a39b53045d8c05b80e5b5f0911c0bce8f2a3d2d05af68e4eea8c545d08911", kill_on_drop: false }` [INFO] [stdout] 477a39b53045d8c05b80e5b5f0911c0bce8f2a3d2d05af68e4eea8c545d08911 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb0fbf1fc114f1a2a44069de2c3622dd8c7224db82b42d18638ad2d2b1bde9d5 [INFO] running `Command { std: "docker" "start" "-a" "fb0fbf1fc114f1a2a44069de2c3622dd8c7224db82b42d18638ad2d2b1bde9d5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling memory_units v0.3.0 [INFO] [stderr] Compiling nan-preserving-float v0.1.0 [INFO] [stderr] Compiling swasm v0.31.3 [INFO] [stderr] Compiling swasmi v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Type` is imported redundantly [INFO] [stdout] --> src/validation/mod.rs:144:25 [INFO] [stdout] | [INFO] [stdout] 6 | ResizableLimits, TableType, ValueType, InitExpr, Type, [INFO] [stdout] | ---- the item `Type` is already imported here [INFO] [stdout] ... [INFO] [stdout] 144 | use swasm::elements::{Type, ValueType}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ValueType` is imported redundantly [INFO] [stdout] --> src/validation/mod.rs:144:31 [INFO] [stdout] | [INFO] [stdout] 6 | ResizableLimits, TableType, ValueType, InitExpr, Type, [INFO] [stdout] | --------- the item `ValueType` is already imported here [INFO] [stdout] ... [INFO] [stdout] 144 | use swasm::elements::{Type, ValueType}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/imports.rs:104:31 [INFO] [stdout] | [INFO] [stdout] 104 | modules: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 104 - modules: HashMap, [INFO] [stdout] 104 + modules: HashMap, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:221:11 [INFO] [stdout] | [INFO] [stdout] 221 | Host(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 221 - Host(Box), [INFO] [stdout] 221 + Host(Box), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:245:11 [INFO] [stdout] | [INFO] [stdout] 245 | Host(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 245 - Host(Box), [INFO] [stdout] 245 + Host(Box), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:257:41 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn as_host_error(&self) -> Option<&host::HostError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 257 - pub fn as_host_error(&self) -> Option<&host::HostError> { [INFO] [stdout] 257 + pub fn as_host_error(&self) -> Option<&dyn host::HostError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/host.rs:108:6 [INFO] [stdout] | [INFO] [stdout] 108 | impl HostError { [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 108 - impl HostError { [INFO] [stdout] 108 + impl dyn HostError { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/imports.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | resolver: &'a ModuleImportResolver, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 123 - resolver: &'a ModuleImportResolver, [INFO] [stdout] 123 + resolver: &'a dyn ModuleImportResolver, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/imports.rs:132:74 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn push_resolver>(&mut self, name: N, resolver: &'a ModuleImportResolver) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 132 - pub fn push_resolver>(&mut self, name: N, resolver: &'a ModuleImportResolver) { [INFO] [stdout] 132 + pub fn push_resolver>(&mut self, name: N, resolver: &'a dyn ModuleImportResolver) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/imports.rs:136:44 [INFO] [stdout] | [INFO] [stdout] 136 | fn resolver(&self, name: &str) -> Option<&ModuleImportResolver> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 136 - fn resolver(&self, name: &str) -> Option<&ModuleImportResolver> { [INFO] [stdout] 136 + fn resolver(&self, name: &str) -> Option<&dyn ModuleImportResolver> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/host.rs:112:36 [INFO] [stdout] | [INFO] [stdout] 112 | unsafe { Some(&*(self as *const HostError as *const T)) } [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 112 - unsafe { Some(&*(self as *const HostError as *const T)) } [INFO] [stdout] 112 + unsafe { Some(&*(self as *const dyn HostError as *const T)) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/host.rs:122:38 [INFO] [stdout] | [INFO] [stdout] 122 | unsafe { Some(&mut *(self as *mut HostError as *mut T)) } [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 122 - unsafe { Some(&mut *(self as *mut HostError as *mut T)) } [INFO] [stdout] 122 + unsafe { Some(&mut *(self as *mut dyn HostError as *mut T)) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `begin_position` [INFO] [stdout] --> src/validation/func.rs:25:2 [INFO] [stdout] | [INFO] [stdout] 25 | begin_position: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `BlockFrame` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/validation/func.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 17s [INFO] running `Command { std: "docker" "inspect" "fb0fbf1fc114f1a2a44069de2c3622dd8c7224db82b42d18638ad2d2b1bde9d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb0fbf1fc114f1a2a44069de2c3622dd8c7224db82b42d18638ad2d2b1bde9d5", kill_on_drop: false }` [INFO] [stdout] fb0fbf1fc114f1a2a44069de2c3622dd8c7224db82b42d18638ad2d2b1bde9d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54c446a34b19b5c764422b6ab1215c32b93a48040b238843d7234201516fa65d [INFO] running `Command { std: "docker" "start" "-a" "54c446a34b19b5c764422b6ab1215c32b93a48040b238843d7234201516fa65d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling assert_matches v1.3.0 [INFO] [stdout] warning: the item `Type` is imported redundantly [INFO] [stdout] --> src/validation/mod.rs:144:25 [INFO] [stdout] | [INFO] [stdout] 6 | ResizableLimits, TableType, ValueType, InitExpr, Type, [INFO] [stdout] | ---- the item `Type` is already imported here [INFO] [stdout] ... [INFO] [stdout] 144 | use swasm::elements::{Type, ValueType}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ValueType` is imported redundantly [INFO] [stdout] --> src/validation/mod.rs:144:31 [INFO] [stdout] | [INFO] [stdout] 6 | ResizableLimits, TableType, ValueType, InitExpr, Type, [INFO] [stdout] | --------- the item `ValueType` is already imported here [INFO] [stdout] ... [INFO] [stdout] 144 | use swasm::elements::{Type, ValueType}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/imports.rs:104:31 [INFO] [stdout] | [INFO] [stdout] 104 | modules: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 104 - modules: HashMap, [INFO] [stdout] 104 + modules: HashMap, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:221:11 [INFO] [stdout] | [INFO] [stdout] 221 | Host(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 221 - Host(Box), [INFO] [stdout] 221 + Host(Box), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:245:11 [INFO] [stdout] | [INFO] [stdout] 245 | Host(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 245 - Host(Box), [INFO] [stdout] 245 + Host(Box), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:257:41 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn as_host_error(&self) -> Option<&host::HostError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 257 - pub fn as_host_error(&self) -> Option<&host::HostError> { [INFO] [stdout] 257 + pub fn as_host_error(&self) -> Option<&dyn host::HostError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/host.rs:108:6 [INFO] [stdout] | [INFO] [stdout] 108 | impl HostError { [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 108 - impl HostError { [INFO] [stdout] 108 + impl dyn HostError { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/imports.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | resolver: &'a ModuleImportResolver, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 123 - resolver: &'a ModuleImportResolver, [INFO] [stdout] 123 + resolver: &'a dyn ModuleImportResolver, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/imports.rs:132:74 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn push_resolver>(&mut self, name: N, resolver: &'a ModuleImportResolver) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 132 - pub fn push_resolver>(&mut self, name: N, resolver: &'a ModuleImportResolver) { [INFO] [stdout] 132 + pub fn push_resolver>(&mut self, name: N, resolver: &'a dyn ModuleImportResolver) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/imports.rs:136:44 [INFO] [stdout] | [INFO] [stdout] 136 | fn resolver(&self, name: &str) -> Option<&ModuleImportResolver> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 136 - fn resolver(&self, name: &str) -> Option<&ModuleImportResolver> { [INFO] [stdout] 136 + fn resolver(&self, name: &str) -> Option<&dyn ModuleImportResolver> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/host.rs:112:36 [INFO] [stdout] | [INFO] [stdout] 112 | unsafe { Some(&*(self as *const HostError as *const T)) } [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 112 - unsafe { Some(&*(self as *const HostError as *const T)) } [INFO] [stdout] 112 + unsafe { Some(&*(self as *const dyn HostError as *const T)) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/host.rs:122:38 [INFO] [stdout] | [INFO] [stdout] 122 | unsafe { Some(&mut *(self as *mut HostError as *mut T)) } [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 122 - unsafe { Some(&mut *(self as *mut HostError as *mut T)) } [INFO] [stdout] 122 + unsafe { Some(&mut *(self as *mut dyn HostError as *mut T)) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `begin_position` [INFO] [stdout] --> src/validation/func.rs:25:2 [INFO] [stdout] | [INFO] [stdout] 25 | begin_position: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `BlockFrame` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/validation/func.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling swasmi v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `wabt` [INFO] [stdout] --> src/lib.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | extern crate wabt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Type` is imported redundantly [INFO] [stdout] --> src/validation/mod.rs:144:25 [INFO] [stdout] | [INFO] [stdout] 6 | ResizableLimits, TableType, ValueType, InitExpr, Type, [INFO] [stdout] | ---- the item `Type` is already imported here [INFO] [stdout] ... [INFO] [stdout] 144 | use swasm::elements::{Type, ValueType}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ValueType` is imported redundantly [INFO] [stdout] --> src/validation/mod.rs:144:31 [INFO] [stdout] | [INFO] [stdout] 6 | ResizableLimits, TableType, ValueType, InitExpr, Type, [INFO] [stdout] | --------- the item `ValueType` is already imported here [INFO] [stdout] ... [INFO] [stdout] 144 | use swasm::elements::{Type, ValueType}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/imports.rs:104:31 [INFO] [stdout] | [INFO] [stdout] 104 | modules: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 104 - modules: HashMap, [INFO] [stdout] 104 + modules: HashMap, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:221:11 [INFO] [stdout] | [INFO] [stdout] 221 | Host(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 221 - Host(Box), [INFO] [stdout] 221 + Host(Box), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:245:11 [INFO] [stdout] | [INFO] [stdout] 245 | Host(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 245 - Host(Box), [INFO] [stdout] 245 + Host(Box), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:257:41 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn as_host_error(&self) -> Option<&host::HostError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 257 - pub fn as_host_error(&self) -> Option<&host::HostError> { [INFO] [stdout] 257 + pub fn as_host_error(&self) -> Option<&dyn host::HostError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/host.rs:108:6 [INFO] [stdout] | [INFO] [stdout] 108 | impl HostError { [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 108 - impl HostError { [INFO] [stdout] 108 + impl dyn HostError { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/imports.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | resolver: &'a ModuleImportResolver, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 123 - resolver: &'a ModuleImportResolver, [INFO] [stdout] 123 + resolver: &'a dyn ModuleImportResolver, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/imports.rs:132:74 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn push_resolver>(&mut self, name: N, resolver: &'a ModuleImportResolver) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 132 - pub fn push_resolver>(&mut self, name: N, resolver: &'a ModuleImportResolver) { [INFO] [stdout] 132 + pub fn push_resolver>(&mut self, name: N, resolver: &'a dyn ModuleImportResolver) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/imports.rs:136:44 [INFO] [stdout] | [INFO] [stdout] 136 | fn resolver(&self, name: &str) -> Option<&ModuleImportResolver> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 136 - fn resolver(&self, name: &str) -> Option<&ModuleImportResolver> { [INFO] [stdout] 136 + fn resolver(&self, name: &str) -> Option<&dyn ModuleImportResolver> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/host.rs:245:36 [INFO] [stdout] | [INFO] [stdout] 245 | fn _host_error_is_object_safe(_: &HostError) { [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 245 - fn _host_error_is_object_safe(_: &HostError) { [INFO] [stdout] 245 + fn _host_error_is_object_safe(_: &dyn HostError) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/host.rs:112:36 [INFO] [stdout] | [INFO] [stdout] 112 | unsafe { Some(&*(self as *const HostError as *const T)) } [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 112 - unsafe { Some(&*(self as *const HostError as *const T)) } [INFO] [stdout] 112 + unsafe { Some(&*(self as *const dyn HostError as *const T)) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/host.rs:122:38 [INFO] [stdout] | [INFO] [stdout] 122 | unsafe { Some(&mut *(self as *mut HostError as *mut T)) } [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 122 - unsafe { Some(&mut *(self as *mut HostError as *mut T)) } [INFO] [stdout] 122 + unsafe { Some(&mut *(self as *mut dyn HostError as *mut T)) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `swasmi` due to 2 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "54c446a34b19b5c764422b6ab1215c32b93a48040b238843d7234201516fa65d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54c446a34b19b5c764422b6ab1215c32b93a48040b238843d7234201516fa65d", kill_on_drop: false }` [INFO] [stdout] 54c446a34b19b5c764422b6ab1215c32b93a48040b238843d7234201516fa65d