[INFO] cloning repository https://github.com/jugglerchris/rlua [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jugglerchris/rlua" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjugglerchris%2Frlua", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjugglerchris%2Frlua'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 25bd7e6bffef9597466a98bfca80a3056c9e6320 [INFO] checking jugglerchris/rlua/25bd7e6bffef9597466a98bfca80a3056c9e6320 against master#cb40c25f6aebb637163d26bf76a680ed6e5d1eda for pr-156157 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjugglerchris%2Frlua" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jugglerchris/rlua [INFO] finished tweaking git repo https://github.com/jugglerchris/rlua [INFO] tweaked toml for git repo https://github.com/jugglerchris/rlua written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jugglerchris/rlua on toolchain cb40c25f6aebb637163d26bf76a680ed6e5d1eda [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cb40c25f6aebb637163d26bf76a680ed6e5d1eda" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cb40c25f6aebb637163d26bf76a680ed6e5d1eda" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 100 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.11.1) [INFO] [stderr] Adding bstr v0.2.17 (available: v1.12.1) [INFO] [stderr] Adding compiletest_rs v0.4.1 (available: v0.11.2) [INFO] [stderr] Adding criterion v0.3.6 (available: v0.8.2) [INFO] [stderr] Adding rustyline v6.3.0 (available: v18.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cb40c25f6aebb637163d26bf76a680ed6e5d1eda" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `bstr` dependency) [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dirs-next v1.0.2 [INFO] [stderr] Downloaded dirs v2.0.2 [INFO] [stderr] Downloaded criterion v0.3.6 [INFO] [stderr] Downloaded filetime v0.2.29 [INFO] [stderr] Downloaded rustfix v0.5.1 [INFO] [stderr] Downloaded criterion-plot v0.4.5 [INFO] [stderr] Downloaded tester v0.7.0 [INFO] [stderr] Downloaded serde_cbor v0.11.2 [INFO] [stderr] Downloaded half v1.8.3 [INFO] [stderr] Downloaded term v0.6.1 [INFO] [stderr] Downloaded compiletest_rs v0.4.1 [INFO] [stderr] Downloaded rustyline v6.3.0 [INFO] [stderr] Downloaded rayon v1.12.0 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cb40c25f6aebb637163d26bf76a680ed6e5d1eda" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 82eac1a85da49c084fbd20badfd35f2cb94722d3f43b38b5641b2f8233cff0d8 [INFO] running `Command { std: "docker" "start" "-a" "82eac1a85da49c084fbd20badfd35f2cb94722d3f43b38b5641b2f8233cff0d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82eac1a85da49c084fbd20badfd35f2cb94722d3f43b38b5641b2f8233cff0d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82eac1a85da49c084fbd20badfd35f2cb94722d3f43b38b5641b2f8233cff0d8", kill_on_drop: false }` [INFO] [stdout] 82eac1a85da49c084fbd20badfd35f2cb94722d3f43b38b5641b2f8233cff0d8 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cb40c25f6aebb637163d26bf76a680ed6e5d1eda" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94fca5ebc539d36aa9344b6005a46cbddc9e3b7327ff7fd9e0ba1f78b3aecc4c [INFO] running `Command { std: "docker" "start" "-a" "94fca5ebc539d36aa9344b6005a46cbddc9e3b7327ff7fd9e0ba1f78b3aecc4c", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `bstr` dependency) [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking itoa v1.0.18 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking regex-syntax v0.8.10 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Compiling cc v1.2.62 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking unicode-width v0.2.2 [INFO] [stderr] Checking csv-core v0.1.13 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Compiling compiletest_rs v0.4.1 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking getopts v0.2.24 [INFO] [stderr] Checking unicode-segmentation v1.13.2 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking rayon v1.12.0 [INFO] [stderr] Compiling rlua v0.17.1-alpha.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking filetime v0.2.29 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking dirs-next v1.0.2 [INFO] [stderr] Checking term v0.6.1 [INFO] [stderr] Checking tester v0.7.0 [INFO] [stderr] Checking csv v1.4.0 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking rustyline v6.3.0 [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | panic!(bug_msg!($msg)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/context.rs:643:18 [INFO] [stdout] | [INFO] [stdout] 643 | _ => rlua_panic!("LUA_TNONE in pop_value"), [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[deny(semicolon_in_expressions_from_macros)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] = note: this error originates in the macro `rlua_panic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | panic!(bug_msg!($msg)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/hook.rs:178:23 [INFO] [stdout] | [INFO] [stdout] 178 | Err(_) => rlua_panic!("Lua should not allow hooks to be called within another hook"), [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this error originates in the macro `rlua_panic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | panic!(bug_msg!($msg)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/util.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | rlua_panic!("error during panic handling, panic was resumed twice") [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `rlua_panic` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this error originates in the macro `rlua_panic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | panic!(bug_msg!($msg)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/util.rs:208:18 [INFO] [stdout] | [INFO] [stdout] 208 | _ => rlua_panic!("unrecognized lua error code"), [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this error originates in the macro `rlua_panic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/context.rs:918:5 [INFO] [stdout] | [INFO] [stdout] 918 | pub fn exec(self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: UserData` will fail [INFO] [stdout] --> src/context.rs:919:14 [INFO] [stdout] | [INFO] [stdout] 919 | self.call(())?; [INFO] [stdout] | ^^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[deny(dependency_on_unit_never_type_fallback)]` (part of `#[deny(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 919 | self.call::<_, ()>(())?; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/lua.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | Box::from_raw(extra); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 80 | let _ = Box::from_raw(extra); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/userdata.rs:318:42 [INFO] [stdout] | [INFO] [stdout] 318 | pub fn borrow(&self) -> Result> { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 318 | pub fn borrow(&self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/userdata.rs:328:46 [INFO] [stdout] | [INFO] [stdout] 328 | pub fn borrow_mut(&self) -> Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 328 | pub fn borrow_mut(&self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/util.rs:578:13 [INFO] [stdout] | [INFO] [stdout] 578 | (*err_buf).len(), [INFO] [stdout] | ^^-------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut std::string::String` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&std::string::String` [INFO] [stdout] --> src/util.rs:578:13 [INFO] [stdout] | [INFO] [stdout] 578 | (*err_buf).len(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: method calls to `len` require a reference [INFO] [stdout] --> /rustc/cb40c25f6aebb637163d26bf76a680ed6e5d1eda/library/alloc/src/string.rs:1860:4 [INFO] [stdout] = note: `#[deny(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 578 | (&(*err_buf)).len(), [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/value.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn iter(&self) -> iter::Rev>> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 152 | pub fn iter(&self) -> iter::Rev>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rlua` (lib) due to 11 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "94fca5ebc539d36aa9344b6005a46cbddc9e3b7327ff7fd9e0ba1f78b3aecc4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94fca5ebc539d36aa9344b6005a46cbddc9e3b7327ff7fd9e0ba1f78b3aecc4c", kill_on_drop: false }` [INFO] [stdout] 94fca5ebc539d36aa9344b6005a46cbddc9e3b7327ff7fd9e0ba1f78b3aecc4c