[INFO] fetching crate ezlua 0.5.4... [INFO] testing ezlua-0.5.4 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate ezlua 0.5.4 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate ezlua 0.5.4 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate ezlua 0.5.4 [INFO] tweaked toml for crates.io crate ezlua 0.5.4 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ezlua 0.5.4 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ezlua 0.5.4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde-transcode v1.1.1 [INFO] [stderr] Downloaded extend v1.2.0 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.89 [INFO] [stderr] Downloaded derive_more v0.99.18 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.89 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.89 [INFO] [stderr] Downloaded mlua-sys v0.3.2 [INFO] [stderr] Downloaded windows-core v0.51.1 [INFO] [stderr] Downloaded iana-time-zone v0.1.58 [INFO] [stderr] Downloaded serde_bytes v0.11.12 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.89 [INFO] [stderr] Downloaded js-sys v0.3.66 [INFO] [stderr] Downloaded mlua v0.9.1 [INFO] [stderr] Downloaded wasm-bindgen v0.2.89 [INFO] [stderr] Downloaded bstr v1.7.0 [INFO] [stderr] Downloaded lua-src v546.0.2 [INFO] [stderr] Downloaded luajit-src v210.4.8+resty107baaf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6408dbb186888cad9b2807abaa7d3c3e10f30b6af7b7e9c10ddf6fcf2d104aad [INFO] running `Command { std: "docker" "start" "-a" "6408dbb186888cad9b2807abaa7d3c3e10f30b6af7b7e9c10ddf6fcf2d104aad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6408dbb186888cad9b2807abaa7d3c3e10f30b6af7b7e9c10ddf6fcf2d104aad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6408dbb186888cad9b2807abaa7d3c3e10f30b6af7b7e9c10ddf6fcf2d104aad", kill_on_drop: false }` [INFO] [stdout] 6408dbb186888cad9b2807abaa7d3c3e10f30b6af7b7e9c10ddf6fcf2d104aad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc8dfb176608a15d0fbcaef0aa26b737756c3fe9d09cb0bb9d927afb934782d5 [INFO] running `Command { std: "docker" "start" "-a" "fc8dfb176608a15d0fbcaef0aa26b737756c3fe9d09cb0bb9d927afb934782d5", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling ezlua v0.5.4 (/opt/rustwide/workdir) [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling extend v1.2.0 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling serde-transcode v1.1.1 [INFO] [stdout] warning: lint `elided_named_lifetimes` has been renamed to `mismatched_lifetime_syntaxes` [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | elided_named_lifetimes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `mismatched_lifetime_syntaxes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: transmuting an integer to a pointer creates a pointer without provenance [INFO] [stdout] --> src/convert.rs:886:19 [INFO] [stdout] | [INFO] [stdout] 886 | let mut pfn = core::mem::transmute(1usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is dangerous because dereferencing the resulting pointer is undefined behavior [INFO] [stdout] = note: exposed provenance semantics can be used to create a pointer based on some previously exposed provenance [INFO] [stdout] = help: if you truly mean to create a pointer without provenance, use `std::ptr::without_provenance_mut` [INFO] [stdout] = help: for more information about transmute, see [INFO] [stdout] = help: for more information about exposed provenance, see [INFO] [stdout] = note: `#[warn(integer_to_ptr_transmutes)]` on by default [INFO] [stdout] help: use `std::ptr::with_exposed_provenance_mut` instead to use a previously exposed provenance [INFO] [stdout] | [INFO] [stdout] 886 - let mut pfn = core::mem::transmute(1usize); [INFO] [stdout] 886 + let mut pfn = std::ptr::with_exposed_provenance_mut::(1usize); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.68s [INFO] running `Command { std: "docker" "inspect" "fc8dfb176608a15d0fbcaef0aa26b737756c3fe9d09cb0bb9d927afb934782d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc8dfb176608a15d0fbcaef0aa26b737756c3fe9d09cb0bb9d927afb934782d5", kill_on_drop: false }` [INFO] [stdout] fc8dfb176608a15d0fbcaef0aa26b737756c3fe9d09cb0bb9d927afb934782d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 911c1246874d5a243c9e88108dd40ada490760649da9d0e10a1652a7304e5c94 [INFO] running `Command { std: "docker" "start" "-a" "911c1246874d5a243c9e88108dd40ada490760649da9d0e10a1652a7304e5c94", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v0.38.17 [INFO] [stderr] Compiling linux-raw-sys v0.4.8 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling socket2 v0.5.4 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling lua-src v546.0.2 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stdout] warning: lint `elided_named_lifetimes` has been renamed to `mismatched_lifetime_syntaxes` [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | elided_named_lifetimes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `mismatched_lifetime_syntaxes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: transmuting an integer to a pointer creates a pointer without provenance [INFO] [stdout] --> src/convert.rs:886:19 [INFO] [stdout] | [INFO] [stdout] 886 | let mut pfn = core::mem::transmute(1usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is dangerous because dereferencing the resulting pointer is undefined behavior [INFO] [stdout] = note: exposed provenance semantics can be used to create a pointer based on some previously exposed provenance [INFO] [stdout] = help: if you truly mean to create a pointer without provenance, use `std::ptr::without_provenance_mut` [INFO] [stdout] = help: for more information about transmute, see [INFO] [stdout] = help: for more information about exposed provenance, see [INFO] [stdout] = note: `#[warn(integer_to_ptr_transmutes)]` on by default [INFO] [stdout] help: use `std::ptr::with_exposed_provenance_mut` instead to use a previously exposed provenance [INFO] [stdout] | [INFO] [stdout] 886 - let mut pfn = core::mem::transmute(1usize); [INFO] [stdout] 886 + let mut pfn = std::ptr::with_exposed_provenance_mut::(1usize); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bstr v1.7.0 [INFO] [stderr] Compiling tokio v1.32.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling luajit-src v210.4.8+resty107baaf [INFO] [stderr] Compiling mlua-sys v0.3.2 [INFO] [stderr] Compiling mlua v0.9.1 [INFO] [stderr] Compiling ezlua v0.5.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/bench.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 9 | fn test() { [INFO] [stdout] | --------- move the `impl` block outside of this function `test` [INFO] [stdout] ... [INFO] [stdout] 15 | impl UserData for Test { [INFO] [stdout] | ^^^^^--------^^^^^---- [INFO] [stdout] | | | [INFO] [stdout] | | `Test` is not local [INFO] [stdout] | `UserData` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/bench.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 9 | fn test() { [INFO] [stdout] | --------- move the `impl` block outside of this function `test` [INFO] [stdout] ... [INFO] [stdout] 56 | impl LuaUserData for Test { [INFO] [stdout] | ^^^^^-----------^^^^^---- [INFO] [stdout] | | | [INFO] [stdout] | | `Test` is not local [INFO] [stdout] | `LuaUserData` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `json` in `binding` [INFO] [stdout] --> tests/serde.rs:179:49 [INFO] [stdout] | [INFO] [stdout] 179 | lua.register_module("json", ezlua::binding::json::open, true) [INFO] [stdout] | ^^^^ could not find `json` in `binding` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/binding/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "json")] [INFO] [stdout] | ---------------- the item is gated behind the `json` feature [INFO] [stdout] 10 | pub mod json; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `json` in `binding` [INFO] [stdout] --> tests/async.rs:186:49 [INFO] [stdout] | [INFO] [stdout] 186 | lua.register_module("json", ezlua::binding::json::open, true) [INFO] [stdout] | ^^^^ could not find `json` in `binding` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/binding/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "json")] [INFO] [stdout] | ---------------- the item is gated behind the `json` feature [INFO] [stdout] 10 | pub mod json; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `async_closure` has been stable since 1.85.0 and no longer requires an attribute to enable [INFO] [stdout] --> tests/async.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(async_closure)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_async_closure` found for struct `LuaTable<'_>` in the current scope [INFO] [stdout] --> tests/async.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | g.set_async_closure("echo_async", echo_async).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `set_closure` with a similar name [INFO] [stdout] | [INFO] [stdout] 21 - g.set_async_closure("echo_async", echo_async).unwrap(); [INFO] [stdout] 21 + g.set_closure("echo_async", echo_async).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_async_function` found for struct `LuaTable<'_>` in the current scope [INFO] [stdout] --> tests/async.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | g.set_async_function( [INFO] [stdout] | --^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `set_function` with a similar name [INFO] [stdout] | [INFO] [stdout] 22 - g.set_async_function( [INFO] [stdout] 22 + g.set_function( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `async_closure` found for struct `ezlua::prelude::Lua` in the current scope [INFO] [stdout] --> tests/async.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | lua.async_closure(tokio::time::sleep).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `bind_closure` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/workdir/src/convert.rs:824:5 [INFO] [stdout] | [INFO] [stdout] 824 | / pub fn bind_closure<'l, R: ToLuaMulti + 'l, F: Fn(&'l State) -> R>( [INFO] [stdout] 825 | | &self, [INFO] [stdout] 826 | | f: F, [INFO] [stdout] 827 | | extra_upval: usize, [INFO] [stdout] 828 | | ) -> Result> { [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `call_async` found for struct `ezlua::prelude::LuaFunction<'_>` in the current scope [INFO] [stdout] --> tests/async.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 58 | let err = foo [INFO] [stdout] | _______________- [INFO] [stdout] 59 | | .call_async::<_, (i32, i32)>((111, 222, 333)) [INFO] [stdout] | | -^^^^^^^^^^ method not found in `ezlua::prelude::LuaFunction<'_>` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/async.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 58 | let err = foo [INFO] [stdout] | _______________^ [INFO] [stdout] 59 | | .call_async::<_, (i32, i32)>((111, 222, 333)) [INFO] [stdout] 60 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `call_async` found for struct `ezlua::prelude::LuaFunction<'_>` in the current scope [INFO] [stdout] --> tests/async.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 72 | let ret = foo [INFO] [stdout] | _______________- [INFO] [stdout] 73 | | .call_async::<_, (i32, i32)>((111, 222, 333)) [INFO] [stdout] | | -^^^^^^^^^^ method not found in `ezlua::prelude::LuaFunction<'_>` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/async.rs:72:15 [INFO] [stdout] | [INFO] [stdout] 72 | let ret = foo [INFO] [stdout] | _______________^ [INFO] [stdout] 73 | | .call_async::<_, (i32, i32)>((111, 222, 333)) [INFO] [stdout] 74 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `call_async` found for struct `ezlua::prelude::LuaFunction<'_>` in the current scope [INFO] [stdout] --> tests/async.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 101 | let ret = add [INFO] [stdout] | _______________- [INFO] [stdout] 102 | | .call_async::<_, ValRef>((lua.global(), vec![1, 2])) [INFO] [stdout] | | -^^^^^^^^^^ method not found in `ezlua::prelude::LuaFunction<'_>` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/async.rs:101:15 [INFO] [stdout] | [INFO] [stdout] 101 | let ret = add [INFO] [stdout] | _______________^ [INFO] [stdout] 102 | | .call_async::<_, ValRef>((lua.global(), vec![1, 2])) [INFO] [stdout] 103 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `call_async` found for struct `ezlua::prelude::LuaFunction<'_>` in the current scope [INFO] [stdout] --> tests/async.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 120 | let (_, _, s3) = foo [INFO] [stdout] | __________________________- [INFO] [stdout] 121 | | .call_async::<_, (LuaValue, LuaValue, ValRef)>((1, 2, "3")) [INFO] [stdout] | | -^^^^^^^^^^ method not found in `ezlua::prelude::LuaFunction<'_>` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/async.rs:120:26 [INFO] [stdout] | [INFO] [stdout] 120 | let (_, _, s3) = foo [INFO] [stdout] | __________________________^ [INFO] [stdout] 121 | | .call_async::<_, (LuaValue, LuaValue, ValRef)>((1, 2, "3")) [INFO] [stdout] 122 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/async.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | assert_eq!(s3.to_str().unwrap(), "3"); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `call_async_void` found for struct `ezlua::prelude::LuaFunction<'_>` in the current scope [INFO] [stdout] --> tests/async.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | foo.call_async_void((1, 2, 3)).await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `pcall_void` with a similar name [INFO] [stdout] | [INFO] [stdout] 145 - foo.call_async_void((1, 2, 3)).await.unwrap_err(); [INFO] [stdout] 145 + foo.pcall_void((1, 2, 3)).await.unwrap_err(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/async.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | foo.call_async_void((1, 2, 3)).await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `async_function` found for struct `ezlua::prelude::Coroutine` in the current scope [INFO] [stdout] --> tests/async.rs:157:10 [INFO] [stdout] | [INFO] [stdout] 156 | let async_error = co [INFO] [stdout] | _______________________- [INFO] [stdout] 157 | | .async_function(|_, err: &str| async move { [INFO] [stdout] | |_________-^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_function` with a similar name [INFO] [stdout] | [INFO] [stdout] 157 - .async_function(|_, err: &str| async move { [INFO] [stdout] 157 + .is_function(|_, err: &str| async move { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/async.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | async_error.call_async_void("error").await.unwrap_err() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `call_async_void` found for struct `ezlua::prelude::LuaFunction<'_>` in the current scope [INFO] [stdout] --> tests/async.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | foo.call_async_void((1, 2, 3)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `pcall_void` with a similar name [INFO] [stdout] | [INFO] [stdout] 177 - foo.call_async_void((1, 2, 3)).await.unwrap(); [INFO] [stdout] 177 + foo.pcall_void((1, 2, 3)).await.unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/async.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | foo.call_async_void((1, 2, 3)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `call_async_void` found for struct `ezlua::prelude::LuaFunction<'_>` in the current scope [INFO] [stdout] --> tests/async.rs:213:6 [INFO] [stdout] | [INFO] [stdout] 198 | / lua.load( [INFO] [stdout] 199 | | r" [INFO] [stdout] 200 | | local data = json.loadfile('./target/.rustc_info.json') [INFO] [stdout] 201 | | local b = true [INFO] [stdout] ... | [INFO] [stdout] 212 | | .unwrap() [INFO] [stdout] 213 | | .call_async_void(()) [INFO] [stdout] | |_____-^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `pcall_void` with a similar name [INFO] [stdout] | [INFO] [stdout] 213 - .call_async_void(()) [INFO] [stdout] 213 + .pcall_void(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/async.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 198 | / lua.load( [INFO] [stdout] 199 | | r" [INFO] [stdout] 200 | | local data = json.loadfile('./target/.rustc_info.json') [INFO] [stdout] 201 | | local b = true [INFO] [stdout] ... | [INFO] [stdout] 213 | | .call_async_void(()) [INFO] [stdout] 214 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ezlua` (test "async") due to 21 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: lint `elided_named_lifetimes` has been renamed to `mismatched_lifetime_syntaxes` [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | elided_named_lifetimes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `mismatched_lifetime_syntaxes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ezlua` (test "serde") due to 1 previous error [INFO] [stdout] warning: struct `Test` is never constructed [INFO] [stdout] --> tests/basic.rs:318:12 [INFO] [stdout] | [INFO] [stdout] 318 | struct Test { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: transmuting an integer to a pointer creates a pointer without provenance [INFO] [stdout] --> src/convert.rs:886:19 [INFO] [stdout] | [INFO] [stdout] 886 | let mut pfn = core::mem::transmute(1usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is dangerous because dereferencing the resulting pointer is undefined behavior [INFO] [stdout] = note: exposed provenance semantics can be used to create a pointer based on some previously exposed provenance [INFO] [stdout] = help: if you truly mean to create a pointer without provenance, use `std::ptr::without_provenance_mut` [INFO] [stdout] = help: for more information about transmute, see [INFO] [stdout] = help: for more information about exposed provenance, see [INFO] [stdout] = note: `#[warn(integer_to_ptr_transmutes)]` on by default [INFO] [stdout] help: use `std::ptr::with_exposed_provenance_mut` instead to use a previously exposed provenance [INFO] [stdout] | [INFO] [stdout] 886 - let mut pfn = core::mem::transmute(1usize); [INFO] [stdout] 886 + let mut pfn = std::ptr::with_exposed_provenance_mut::(1usize); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "911c1246874d5a243c9e88108dd40ada490760649da9d0e10a1652a7304e5c94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "911c1246874d5a243c9e88108dd40ada490760649da9d0e10a1652a7304e5c94", kill_on_drop: false }` [INFO] [stdout] 911c1246874d5a243c9e88108dd40ada490760649da9d0e10a1652a7304e5c94