[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 against try#54e27f559f23913c1d5afb1a0f0114e9e61b81b8 for pr-147589 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjugglerchris%2Frlua" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/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-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jugglerchris/rlua on toolchain 54e27f559f23913c1d5afb1a0f0114e9e61b81b8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "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" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 107 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.9.4) [INFO] [stderr] Adding bstr v0.2.17 (available: v1.12.0) [INFO] [stderr] Adding compiletest_rs v0.4.1 (available: v0.11.2) [INFO] [stderr] Adding criterion v0.3.6 (available: v0.7.0) [INFO] [stderr] Adding rustyline v6.3.0 (available: v17.0.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded winapi-util v0.1.11 [INFO] [stderr] Downloaded dirs-next v1.0.2 [INFO] [stderr] Downloaded tester v0.7.0 [INFO] [stderr] Downloaded rustfix v0.5.1 [INFO] [stderr] Downloaded getopts v0.2.24 [INFO] [stderr] Downloaded compiletest_rs v0.4.1 [INFO] [stderr] Downloaded term v0.6.1 [INFO] [stderr] Downloaded rustyline v6.3.0 [INFO] [stderr] Downloaded regex v1.12.2 [INFO] [stderr] Downloaded unicode-width v0.2.2 [INFO] [stderr] Downloaded regex-syntax v0.8.8 [INFO] [stderr] Downloaded regex-automata v0.4.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32acfe252a783e10861d3e0bf2a03273b0ceed52f8e329eb1a31343b451733f8 [INFO] running `Command { std: "docker" "start" "-a" "32acfe252a783e10861d3e0bf2a03273b0ceed52f8e329eb1a31343b451733f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32acfe252a783e10861d3e0bf2a03273b0ceed52f8e329eb1a31343b451733f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32acfe252a783e10861d3e0bf2a03273b0ceed52f8e329eb1a31343b451733f8", kill_on_drop: false }` [INFO] [stdout] 32acfe252a783e10861d3e0bf2a03273b0ceed52f8e329eb1a31343b451733f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b57f5740ebdc6099a334c46e3e990b81e63e09374bd08f87ed9cf2334ea2eed [INFO] running `Command { std: "docker" "start" "-a" "6b57f5740ebdc6099a334c46e3e990b81e63e09374bd08f87ed9cf2334ea2eed", 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.177 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Checking unicode-width v0.2.2 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Compiling cc v1.2.41 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Checking getopts v0.2.24 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Compiling compiletest_rs v0.4.1 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling rlua v0.17.1-alpha.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking filetime v0.2.26 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs-next v1.0.2 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking term v0.6.1 [INFO] [stderr] Checking tester v0.7.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] = 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: 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] = 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] [stdout] warning: 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] = 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] = 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] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(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] [stderr] Checking regex v1.12.2 [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/54e27f559f23913c1d5afb1a0f0114e9e61b81b8/library/alloc/src/string.rs:1848:5 [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 9 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "6b57f5740ebdc6099a334c46e3e990b81e63e09374bd08f87ed9cf2334ea2eed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b57f5740ebdc6099a334c46e3e990b81e63e09374bd08f87ed9cf2334ea2eed", kill_on_drop: false }` [INFO] [stdout] 6b57f5740ebdc6099a334c46e3e990b81e63e09374bd08f87ed9cf2334ea2eed