[INFO] fetching crate ezlua 0.5.4... [INFO] testing ezlua-0.5.4 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate ezlua 0.5.4 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ezlua 0.5.4 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mlua-sys v0.3.2 [INFO] [stderr] Downloaded mlua v0.9.1 [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-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 729733dd577acd1ed5600ef56b36df12a76b4d7b0f3e3450c48f40e749faddd4 [INFO] running `Command { std: "docker" "start" "-a" "729733dd577acd1ed5600ef56b36df12a76b4d7b0f3e3450c48f40e749faddd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "729733dd577acd1ed5600ef56b36df12a76b4d7b0f3e3450c48f40e749faddd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "729733dd577acd1ed5600ef56b36df12a76b4d7b0f3e3450c48f40e749faddd4", kill_on_drop: false }` [INFO] [stdout] 729733dd577acd1ed5600ef56b36df12a76b4d7b0f3e3450c48f40e749faddd4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 790e2ca15ba498b23edf4775e5691ad5b6cd2ee1d7f01c822de7baffc823e09e [INFO] running `Command { std: "docker" "start" "-a" "790e2ca15ba498b23edf4775e5691ad5b6cd2ee1d7f01c822de7baffc823e09e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [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 glob v0.3.1 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v2.0.72 [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 20.12s [INFO] running `Command { std: "docker" "inspect" "790e2ca15ba498b23edf4775e5691ad5b6cd2ee1d7f01c822de7baffc823e09e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "790e2ca15ba498b23edf4775e5691ad5b6cd2ee1d7f01c822de7baffc823e09e", kill_on_drop: false }` [INFO] [stdout] 790e2ca15ba498b23edf4775e5691ad5b6cd2ee1d7f01c822de7baffc823e09e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21bf4e142b22d9742e3b0a8c8d890e0ac214f67fd3015838b8020230d98648b2 [INFO] running `Command { std: "docker" "start" "-a" "21bf4e142b22d9742e3b0a8c8d890e0ac214f67fd3015838b8020230d98648b2", 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 lua-src v546.0.2 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling socket2 v0.5.4 [INFO] [stderr] Compiling once_cell v1.18.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 num-traits v0.2.16 [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] 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: 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] 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[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[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[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] [stderr] error: could not compile `ezlua` (test "serde") due to 1 previous error [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [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[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[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[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[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] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ezlua` (test "async") due to 12 previous errors; 1 warning emitted [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: 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] running `Command { std: "docker" "inspect" "21bf4e142b22d9742e3b0a8c8d890e0ac214f67fd3015838b8020230d98648b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21bf4e142b22d9742e3b0a8c8d890e0ac214f67fd3015838b8020230d98648b2", kill_on_drop: false }` [INFO] [stdout] 21bf4e142b22d9742e3b0a8c8d890e0ac214f67fd3015838b8020230d98648b2