[INFO] fetching crate ezlua 0.5.4... [INFO] testing ezlua-0.5.4 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate ezlua 0.5.4 into /workspace/builds/worker-3-tc2/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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ezlua 0.5.4 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc0c385eedc71de9b2e9d2db92c9b8edb387ee299b4bf9b79a3607a5893e6a75 [INFO] running `Command { std: "docker" "start" "-a" "fc0c385eedc71de9b2e9d2db92c9b8edb387ee299b4bf9b79a3607a5893e6a75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc0c385eedc71de9b2e9d2db92c9b8edb387ee299b4bf9b79a3607a5893e6a75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc0c385eedc71de9b2e9d2db92c9b8edb387ee299b4bf9b79a3607a5893e6a75", kill_on_drop: false }` [INFO] [stdout] fc0c385eedc71de9b2e9d2db92c9b8edb387ee299b4bf9b79a3607a5893e6a75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17c00555b9fd039121e5581bea01e34dc06c858bfb980ef346fd25c782360dc5 [INFO] running `Command { std: "docker" "start" "-a" "17c00555b9fd039121e5581bea01e34dc06c858bfb980ef346fd25c782360dc5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling glob v0.3.1 [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 derive_more v0.99.18 [INFO] [stderr] Compiling extend v1.2.0 [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] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/userdata.rs:29:41 [INFO] [stdout] | [INFO] [stdout] 29 | s.push_light_userdata(get_weak_meta as usize as *mut ()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(function_casts_as_integer)]` on by default [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 29 | s.push_light_userdata(get_weak_meta as *const () as usize as *mut ()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/userdata.rs:36:45 [INFO] [stdout] | [INFO] [stdout] 36 | s.push_light_userdata(get_weak_meta as usize as *mut ()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 36 | s.push_light_userdata(get_weak_meta as *const () as usize as *mut ()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: feature `thread_id_value` is declared but not used [INFO] [stdout] --> src/lib.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #![cfg_attr(feature = "std", feature(thread_id_value))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_features)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.94s [INFO] running `Command { std: "docker" "inspect" "17c00555b9fd039121e5581bea01e34dc06c858bfb980ef346fd25c782360dc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17c00555b9fd039121e5581bea01e34dc06c858bfb980ef346fd25c782360dc5", kill_on_drop: false }` [INFO] [stdout] 17c00555b9fd039121e5581bea01e34dc06c858bfb980ef346fd25c782360dc5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7fc4dcddf9b9c1b0f5284d6ce27b0863337aa73cad128d4153db250b5f53bee [INFO] running `Command { std: "docker" "start" "-a" "a7fc4dcddf9b9c1b0f5284d6ce27b0863337aa73cad128d4153db250b5f53bee", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v0.38.17 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.8 [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 cfg-if v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling socket2 v0.5.4 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling ryu v1.0.15 [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] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/userdata.rs:29:41 [INFO] [stdout] | [INFO] [stdout] 29 | s.push_light_userdata(get_weak_meta as usize as *mut ()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(function_casts_as_integer)]` on by default [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 29 | s.push_light_userdata(get_weak_meta as *const () as usize as *mut ()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/userdata.rs:36:45 [INFO] [stdout] | [INFO] [stdout] 36 | s.push_light_userdata(get_weak_meta as usize as *mut ()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 36 | s.push_light_userdata(get_weak_meta as *const () as usize as *mut ()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: feature `thread_id_value` is declared but not used [INFO] [stdout] --> src/lib.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #![cfg_attr(feature = "std", feature(thread_id_value))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_features)]` (part of `#[warn(unused)]`) on by default [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] error[E0433]: cannot 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] --> 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] --> 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[E0433]: cannot 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] --> 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 `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] [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[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] 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] 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] [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] [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: 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] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/userdata.rs:29:41 [INFO] [stdout] | [INFO] [stdout] 29 | s.push_light_userdata(get_weak_meta as usize as *mut ()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(function_casts_as_integer)]` on by default [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 29 | s.push_light_userdata(get_weak_meta as *const () as usize as *mut ()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/userdata.rs:36:45 [INFO] [stdout] | [INFO] [stdout] 36 | s.push_light_userdata(get_weak_meta as usize as *mut ()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 36 | s.push_light_userdata(get_weak_meta as *const () as usize as *mut ()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: feature `thread_id_value` is declared but not used [INFO] [stdout] --> src/lib.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | #![cfg_attr(feature = "std", feature(thread_id_value))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_features)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a7fc4dcddf9b9c1b0f5284d6ce27b0863337aa73cad128d4153db250b5f53bee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7fc4dcddf9b9c1b0f5284d6ce27b0863337aa73cad128d4153db250b5f53bee", kill_on_drop: false }` [INFO] [stdout] a7fc4dcddf9b9c1b0f5284d6ce27b0863337aa73cad128d4153db250b5f53bee