[INFO] fetching crate lucet-wasi 0.6.1... [INFO] checking lucet-wasi-0.6.1 against try#742889a08e10036dc30b8a7308f2a2a15b706883 for pr-103450-1 [INFO] extracting crate lucet-wasi 0.6.1 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate lucet-wasi 0.6.1 on toolchain 742889a08e10036dc30b8a7308f2a2a15b706883 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+742889a08e10036dc30b8a7308f2a2a15b706883" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate lucet-wasi 0.6.1 [INFO] finished tweaking crates.io crate lucet-wasi 0.6.1 [INFO] tweaked toml for crates.io crate lucet-wasi 0.6.1 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate crates.io crate lucet-wasi 0.6.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+742889a08e10036dc30b8a7308f2a2a15b706883" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:83125433e4fff17b1ac56874832f668d9df75ee638575aca552b68e127bedee9" "/opt/rustwide/cargo-home/bin/cargo" "+742889a08e10036dc30b8a7308f2a2a15b706883" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0190e7f77a38e303545490add6e67326d42853203827324b7dda0692a54cc897 [INFO] running `Command { std: "docker" "start" "-a" "0190e7f77a38e303545490add6e67326d42853203827324b7dda0692a54cc897", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0190e7f77a38e303545490add6e67326d42853203827324b7dda0692a54cc897", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0190e7f77a38e303545490add6e67326d42853203827324b7dda0692a54cc897", kill_on_drop: false }` [INFO] [stdout] 0190e7f77a38e303545490add6e67326d42853203827324b7dda0692a54cc897 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:83125433e4fff17b1ac56874832f668d9df75ee638575aca552b68e127bedee9" "/opt/rustwide/cargo-home/bin/cargo" "+742889a08e10036dc30b8a7308f2a2a15b706883" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7bd130ff3dc12c7c89ad282f52cdb224644bd9865e05a137c4f0e9b53be6534c [INFO] running `Command { std: "docker" "start" "-a" "7bd130ff3dc12c7c89ad282f52cdb224644bd9865e05a137c4f0e9b53be6534c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling packed_struct v0.3.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking cranelift-entity v0.51.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling scroll v0.9.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling target-lexicon v0.9.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Compiling anyhow v1.0.26 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking getrandom v0.1.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling serde-big-array v0.2.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking flate2 v1.0.13 [INFO] [stderr] Checking rpassword v4.0.5 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling raw-cpuid v6.1.0 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking cranelift-bforest v0.51.0 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking parity-wasm v0.40.3 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking sha2 v0.8.1 [INFO] [stderr] Checking pbkdf2 v0.3.0 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking smallvec v1.2.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking scrypt v0.2.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Checking minisign v0.5.14 [INFO] [stderr] Compiling memchr v2.3.2 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling cmake v0.1.42 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling leb128 v0.2.4 [INFO] [stderr] Checking backtrace v0.3.44 [INFO] [stderr] Compiling wast v3.0.4 [INFO] [stderr] Compiling lucet-runtime-internals v0.6.1 [INFO] [stderr] Compiling raw-cpuid v7.0.3 [INFO] [stderr] Compiling wabt-sys v0.7.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Checking aho-corasick v0.7.8 [INFO] [stderr] Compiling lucet-runtime v0.6.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking human-size v0.4.0 [INFO] [stderr] Checking regex-syntax v0.6.14 [INFO] [stderr] Checking wasmparser v0.39.3 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking filetime v0.2.8 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking parity-wasm v0.41.0 [INFO] [stderr] Checking xfailure v0.1.0 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Compiling lucetc v0.6.1 [INFO] [stderr] Checking siphasher v0.3.1 [INFO] [stderr] Compiling lucet-wasi v0.6.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking bimap v0.2.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling scroll_derive v0.9.5 [INFO] [stderr] Compiling derivative v1.0.3 [INFO] [stderr] Checking regex v1.3.4 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking goblin v0.0.24 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling thiserror-impl v1.0.11 [INFO] [stderr] Compiling num-derive v0.3.0 [INFO] [stderr] Compiling scroll_derive v0.10.1 [INFO] [stderr] Compiling lucet-runtime-macros v0.6.1 [INFO] [stderr] Compiling wasi-common-cbindgen v0.7.0 [INFO] [stderr] Checking scroll v0.10.1 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Compiling witx v0.4.0 [INFO] [stderr] Checking goblin v0.1.3 [INFO] [stderr] Checking thiserror v1.0.11 [INFO] [stderr] Checking witx v0.6.0 [INFO] [stderr] Checking lucet-validate v0.6.1 [INFO] [stderr] Compiling wig v0.7.0 [INFO] [stderr] Checking wasi-common v0.7.0 [INFO] [stderr] Checking serde_json v1.0.48 [INFO] [stderr] Checking bincode v1.2.1 [INFO] [stderr] Checking string-interner v0.7.1 [INFO] [stderr] Checking faerie v0.12.0 [INFO] [stderr] Checking wasmonkey v0.1.9 [INFO] [stderr] Checking wabt v0.9.2 [INFO] [stderr] Compiling target-lexicon v0.8.1 [INFO] [stderr] Compiling packed_struct_codegen v0.3.0 [INFO] [stderr] Checking object v0.14.1 [INFO] [stderr] Checking lucet-module v0.6.1 [INFO] [stderr] Compiling cranelift-codegen-shared v0.51.0 [INFO] [stderr] Compiling cranelift-codegen-meta v0.51.0 [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/c_api.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | Box::from_raw(wasi_ctx as *mut WasiCtxBuilder); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Arc::::into_raw` that must be used [INFO] [stdout] --> src/c_api.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | / with_ffi_arcs!([region: dyn Region, module: DlModule], { [INFO] [stdout] 81 | | let wasi_ctx = *Box::from_raw(wasi_ctx as *mut WasiCtxBuilder); [INFO] [stdout] 82 | | region [INFO] [stdout] 83 | | .new_instance_builder(module.clone() as Arc) [INFO] [stdout] ... | [INFO] [stdout] 90 | | .unwrap_or_else(|e| e.into()) [INFO] [stdout] 91 | | }) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: losing the pointer will leak memory [INFO] [stdout] = note: this warning originates in the macro `with_ffi_arcs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Arc::::into_raw` that must be used [INFO] [stdout] --> src/c_api.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | / with_ffi_arcs!([region: dyn Region, module: DlModule], { [INFO] [stdout] 81 | | let wasi_ctx = *Box::from_raw(wasi_ctx as *mut WasiCtxBuilder); [INFO] [stdout] 82 | | region [INFO] [stdout] 83 | | .new_instance_builder(module.clone() as Arc) [INFO] [stdout] ... | [INFO] [stdout] 90 | | .unwrap_or_else(|e| e.into()) [INFO] [stdout] 91 | | }) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: losing the pointer will leak memory [INFO] [stdout] = note: this warning originates in the macro `with_ffi_arcs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cranelift-codegen v0.51.0 [INFO] [stderr] Checking cranelift-module v0.51.0 [INFO] [stderr] Checking cranelift-frontend v0.51.0 [INFO] [stderr] Checking cranelift-native v0.51.0 [INFO] [stderr] Checking cranelift-faerie v0.51.0 [INFO] [stderr] Checking cranelift-wasm v0.51.0 [INFO] [stderr] Checking lucet-wasi-sdk v0.6.1 [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> tests/tests.rs:21:52 [INFO] [stdout] | [INFO] [stdout] 21 | let ctx = WasiCtxBuilder::new().args(["hello"].into_iter()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 21 | let ctx = WasiCtxBuilder::new().args(["hello"].iter()); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 21 | let ctx = WasiCtxBuilder::new().args(IntoIterator::into_iter(["hello"])); [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> tests/tests.rs:35:66 [INFO] [stdout] | [INFO] [stdout] 35 | let ctx = WasiCtxBuilder::new().args(["hello", "test suite"].into_iter()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 35 | let ctx = WasiCtxBuilder::new().args(["hello", "test suite"].iter()); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 35 | let ctx = WasiCtxBuilder::new().args(IntoIterator::into_iter(["hello", "test suite"])); [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> tests/tests.rs:50:39 [INFO] [stdout] | [INFO] [stdout] 50 | .args(["hello", "test suite"].into_iter()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 50 | .args(["hello", "test suite"].iter()) [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 50 | .args(IntoIterator::into_iter(["hello", "test suite"])) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> tests/tests.rs:65:41 [INFO] [stdout] | [INFO] [stdout] 65 | let ctx = WasiCtx::new(["exitcode"].into_iter()).unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 65 | let ctx = WasiCtx::new(["exitcode"].iter()).unwrap(); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 65 | let ctx = WasiCtx::new(IntoIterator::into_iter(["exitcode"])).unwrap(); [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> tests/tests.rs:74:45 [INFO] [stdout] | [INFO] [stdout] 74 | let ctx = WasiCtx::new(["clock_getres"].into_iter()).unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 74 | let ctx = WasiCtx::new(["clock_getres"].iter()).unwrap(); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 74 | let ctx = WasiCtx::new(IntoIterator::into_iter(["clock_getres"])).unwrap(); [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> tests/tests.rs:83:42 [INFO] [stdout] | [INFO] [stdout] 83 | let ctx = WasiCtx::new(["getrusage"].into_iter()).unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 83 | let ctx = WasiCtx::new(["getrusage"].iter()).unwrap(); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 83 | let ctx = WasiCtx::new(IntoIterator::into_iter(["getrusage"])).unwrap(); [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> tests/tests.rs:92:45 [INFO] [stdout] | [INFO] [stdout] 92 | let ctx = WasiCtx::new(["gettimeofday"].into_iter()).unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 92 | let ctx = WasiCtx::new(["gettimeofday"].iter()).unwrap(); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 92 | let ctx = WasiCtx::new(IntoIterator::into_iter(["gettimeofday"])).unwrap(); [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> tests/tests.rs:101:43 [INFO] [stdout] | [INFO] [stdout] 101 | let ctx = WasiCtx::new(["getentropy"].into_iter()).unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 101 | let ctx = WasiCtx::new(["getentropy"].iter()).unwrap(); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 101 | let ctx = WasiCtx::new(IntoIterator::into_iter(["getentropy"])).unwrap(); [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> tests/tests.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | .args(["stdin"].into_iter()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 120 | .args(["stdin"].iter()) [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 120 | .args(IntoIterator::into_iter(["stdin"])) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> tests/tests.rs:137:37 [INFO] [stdout] | [INFO] [stdout] 137 | .args(["preopen_populates"].into_iter()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 137 | .args(["preopen_populates"].iter()) [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 137 | .args(IntoIterator::into_iter(["preopen_populates"])) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> tests/tests.rs:157:30 [INFO] [stdout] | [INFO] [stdout] 157 | .args(["write_file"].into_iter()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 157 | .args(["write_file"].iter()) [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 157 | .args(IntoIterator::into_iter(["write_file"])) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> tests/tests.rs:184:29 [INFO] [stdout] | [INFO] [stdout] 184 | .args(["read_file"].into_iter()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 184 | .args(["read_file"].iter()) [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 184 | .args(IntoIterator::into_iter(["read_file"])) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> tests/tests.rs:207:35 [INFO] [stdout] | [INFO] [stdout] 207 | .args(["read_file_twice"].into_iter()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 207 | .args(["read_file_twice"].iter()) [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 207 | .args(IntoIterator::into_iter(["read_file_twice"])) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> tests/tests.rs:235:31 [INFO] [stdout] | [INFO] [stdout] 235 | .args(["cant_dotdot"].into_iter()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 235 | .args(["cant_dotdot"].iter()) [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 235 | .args(IntoIterator::into_iter(["cant_dotdot"])) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> tests/tests.rs:259:26 [INFO] [stdout] | [INFO] [stdout] 259 | .args(["notdir"].into_iter()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 259 | .args(["notdir"].iter()) [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 259 | .args(IntoIterator::into_iter(["notdir"])) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> tests/tests.rs:288:34 [INFO] [stdout] | [INFO] [stdout] 288 | .args(["follow_symlink"].into_iter()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 288 | .args(["follow_symlink"].iter()) [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 288 | .args(IntoIterator::into_iter(["follow_symlink"])) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> tests/tests.rs:313:32 [INFO] [stdout] | [INFO] [stdout] 313 | .args(["symlink_loop"].into_iter()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 313 | .args(["symlink_loop"].iter()) [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 313 | .args(IntoIterator::into_iter(["symlink_loop"])) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> tests/tests.rs:343:34 [INFO] [stdout] | [INFO] [stdout] 343 | .args(["symlink_escape"].into_iter()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 343 | .args(["symlink_escape"].iter()) [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 343 | .args(IntoIterator::into_iter(["symlink_escape"])) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> tests/tests.rs:360:31 [INFO] [stdout] | [INFO] [stdout] 360 | .args(["pseudoquine"].into_iter()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 360 | .args(["pseudoquine"].iter()) [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 360 | .args(IntoIterator::into_iter(["pseudoquine"])) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> tests/tests.rs:377:51 [INFO] [stdout] | [INFO] [stdout] 377 | let ctx = WasiCtxBuilder::new().args(["poll"].into_iter()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 377 | let ctx = WasiCtxBuilder::new().args(["poll"].iter()); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 377 | let ctx = WasiCtxBuilder::new().args(IntoIterator::into_iter(["poll"])); [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> tests/tests.rs:389:24 [INFO] [stdout] | [INFO] [stdout] 389 | .args(["stat"].into_iter()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 389 | .args(["stat"].iter()) [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 389 | .args(IntoIterator::into_iter(["stat"])) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> tests/tests.rs:404:24 [INFO] [stdout] | [INFO] [stdout] 404 | .args(["stat"].into_iter()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 404 | .args(["stat"].iter()) [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 404 | .args(IntoIterator::into_iter(["stat"])) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/c_api.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | Box::from_raw(wasi_ctx as *mut WasiCtxBuilder); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Arc::::into_raw` that must be used [INFO] [stdout] --> src/c_api.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | / with_ffi_arcs!([region: dyn Region, module: DlModule], { [INFO] [stdout] 81 | | let wasi_ctx = *Box::from_raw(wasi_ctx as *mut WasiCtxBuilder); [INFO] [stdout] 82 | | region [INFO] [stdout] 83 | | .new_instance_builder(module.clone() as Arc) [INFO] [stdout] ... | [INFO] [stdout] 90 | | .unwrap_or_else(|e| e.into()) [INFO] [stdout] 91 | | }) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: losing the pointer will leak memory [INFO] [stdout] = note: this warning originates in the macro `with_ffi_arcs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Arc::::into_raw` that must be used [INFO] [stdout] --> src/c_api.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | / with_ffi_arcs!([region: dyn Region, module: DlModule], { [INFO] [stdout] 81 | | let wasi_ctx = *Box::from_raw(wasi_ctx as *mut WasiCtxBuilder); [INFO] [stdout] 82 | | region [INFO] [stdout] 83 | | .new_instance_builder(module.clone() as Arc) [INFO] [stdout] ... | [INFO] [stdout] 90 | | .unwrap_or_else(|e| e.into()) [INFO] [stdout] 91 | | }) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: losing the pointer will leak memory [INFO] [stdout] = note: this warning originates in the macro `with_ffi_arcs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 36.43s [INFO] running `Command { std: "docker" "inspect" "7bd130ff3dc12c7c89ad282f52cdb224644bd9865e05a137c4f0e9b53be6534c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bd130ff3dc12c7c89ad282f52cdb224644bd9865e05a137c4f0e9b53be6534c", kill_on_drop: false }` [INFO] [stdout] 7bd130ff3dc12c7c89ad282f52cdb224644bd9865e05a137c4f0e9b53be6534c