[INFO] fetching crate ezlua 0.5.4... [INFO] checking ezlua-0.5.4 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate ezlua 0.5.4 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ezlua 0.5.4 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_bytes v0.11.12 [INFO] [stderr] Downloaded iana-time-zone v0.1.58 [INFO] [stderr] Downloaded serde-transcode v1.1.1 [INFO] [stderr] Downloaded mlua-sys v0.3.2 [INFO] [stderr] Downloaded extend v1.2.0 [INFO] [stderr] Downloaded mlua v0.9.1 [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-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b4b518335211509517844ef97fe1f3cd678d3c36b7721c424c304c01a2ded2b [INFO] running `Command { std: "docker" "start" "-a" "7b4b518335211509517844ef97fe1f3cd678d3c36b7721c424c304c01a2ded2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b4b518335211509517844ef97fe1f3cd678d3c36b7721c424c304c01a2ded2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b4b518335211509517844ef97fe1f3cd678d3c36b7721c424c304c01a2ded2b", kill_on_drop: false }` [INFO] [stdout] 7b4b518335211509517844ef97fe1f3cd678d3c36b7721c424c304c01a2ded2b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6695df864a6e0ed592dfbdc7f57389c6139131b88c72dfe79af392856b06d9ad [INFO] running `Command { std: "docker" "start" "-a" "6695df864a6e0ed592dfbdc7f57389c6139131b88c72dfe79af392856b06d9ad", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.148 [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 either v1.9.0 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking bstr v1.7.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking socket2 v0.5.4 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Compiling lua-src v546.0.2 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling ezlua v0.5.4 (/opt/rustwide/workdir) [INFO] [stderr] Compiling luajit-src v210.4.8+resty107baaf [INFO] [stderr] Compiling mlua-sys v0.3.2 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling extend v1.2.0 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking 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] [stderr] Checking mlua v0.9.1 [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] For more information about this error, try `rustc --explain E0433`. [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] [stderr] error: could not compile `ezlua` (test "serde") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] 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] 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] 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)]` on by default [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] running `Command { std: "docker" "inspect" "6695df864a6e0ed592dfbdc7f57389c6139131b88c72dfe79af392856b06d9ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6695df864a6e0ed592dfbdc7f57389c6139131b88c72dfe79af392856b06d9ad", kill_on_drop: false }` [INFO] [stdout] 6695df864a6e0ed592dfbdc7f57389c6139131b88c72dfe79af392856b06d9ad