[INFO] fetching crate hlua 0.4.3... [INFO] testing hlua-0.4.3 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate hlua 0.4.3 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate hlua 0.4.3 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate hlua 0.4.3 [INFO] tweaked toml for crates.io crate hlua 0.4.3 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hlua 0.4.3 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate hlua 0.4.3 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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7972acadf1ea38995b3ce70a0829fdb9d5fa6fe156ec29dd4e6e2e6908001877 [INFO] running `Command { std: "docker" "start" "-a" "7972acadf1ea38995b3ce70a0829fdb9d5fa6fe156ec29dd4e6e2e6908001877", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7972acadf1ea38995b3ce70a0829fdb9d5fa6fe156ec29dd4e6e2e6908001877", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7972acadf1ea38995b3ce70a0829fdb9d5fa6fe156ec29dd4e6e2e6908001877", kill_on_drop: false }` [INFO] [stdout] 7972acadf1ea38995b3ce70a0829fdb9d5fa6fe156ec29dd4e6e2e6908001877 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5df5b202e260287c94fa71cead2c11473dccf9934a5e5216987bc94317368a36 [INFO] running `Command { std: "docker" "start" "-a" "5df5b202e260287c94fa71cead2c11473dccf9934a5e5216987bc94317368a36", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling cc v1.0.94 [INFO] [stderr] Compiling lua52-sys v0.1.3 [INFO] [stderr] Compiling hlua v0.4.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/functions_write.rs:234:34 [INFO] [stdout] | [INFO] [stdout] 234 | let wrapper: extern fn(*mut ffi::lua_State) -> libc::c_int = wrapper::; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 319 | impl_function_ext!(); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_function_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/functions_write.rs:301:34 [INFO] [stdout] | [INFO] [stdout] 301 | let wrapper: extern fn(*mut ffi::lua_State) -> libc::c_int = wrapper::; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 320 | impl_function_ext!(A); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_function_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/functions_write.rs:301:34 [INFO] [stdout] | [INFO] [stdout] 301 | let wrapper: extern fn(*mut ffi::lua_State) -> libc::c_int = wrapper::; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 321 | impl_function_ext!(A, B); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_function_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/functions_write.rs:301:34 [INFO] [stdout] | [INFO] [stdout] 301 | let wrapper: extern fn(*mut ffi::lua_State) -> libc::c_int = wrapper::; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 322 | impl_function_ext!(A, B, C); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_function_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/functions_write.rs:301:34 [INFO] [stdout] | [INFO] [stdout] 301 | let wrapper: extern fn(*mut ffi::lua_State) -> libc::c_int = wrapper::; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 323 | impl_function_ext!(A, B, C, D); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_function_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/functions_write.rs:301:34 [INFO] [stdout] | [INFO] [stdout] 301 | let wrapper: extern fn(*mut ffi::lua_State) -> libc::c_int = wrapper::; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 324 | impl_function_ext!(A, B, C, D, E); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_function_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/functions_write.rs:301:34 [INFO] [stdout] | [INFO] [stdout] 301 | let wrapper: extern fn(*mut ffi::lua_State) -> libc::c_int = wrapper::; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 325 | impl_function_ext!(A, B, C, D, E, F); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_function_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/functions_write.rs:301:34 [INFO] [stdout] | [INFO] [stdout] 301 | let wrapper: extern fn(*mut ffi::lua_State) -> libc::c_int = wrapper::; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 326 | impl_function_ext!(A, B, C, D, E, F, G); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_function_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/functions_write.rs:301:34 [INFO] [stdout] | [INFO] [stdout] 301 | let wrapper: extern fn(*mut ffi::lua_State) -> libc::c_int = wrapper::; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 327 | impl_function_ext!(A, B, C, D, E, F, G, H); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_function_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/functions_write.rs:301:34 [INFO] [stdout] | [INFO] [stdout] 301 | let wrapper: extern fn(*mut ffi::lua_State) -> libc::c_int = wrapper::; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 328 | impl_function_ext!(A, B, C, D, E, F, G, H, I); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_function_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/functions_write.rs:301:34 [INFO] [stdout] | [INFO] [stdout] 301 | let wrapper: extern fn(*mut ffi::lua_State) -> libc::c_int = wrapper::; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 329 | impl_function_ext!(A, B, C, D, E, F, G, H, I, J); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_function_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/lua_functions.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:734:21 [INFO] [stdout] | [INFO] [stdout] 734 | let mut f = try!(lua_functions::LuaFunction::load(self, code)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:763:21 [INFO] [stdout] | [INFO] [stdout] 763 | let mut f = try!(lua_functions::LuaFunction::load_from_reader(self, code)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lua_functions.rs:414:32 [INFO] [stdout] | [INFO] [stdout] 414 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 414 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lua_functions.rs:430:32 [INFO] [stdout] | [INFO] [stdout] 430 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 430 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:451:32 [INFO] [stdout] | [INFO] [stdout] 451 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 451 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | .push_no_err(&mut lua as &mut AsMutLua<'lua>) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 70 | .push_no_err(&mut lua as &mut dyn AsMutLua<'lua>) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any.rs:108:70 [INFO] [stdout] | [INFO] [stdout] 108 | match LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 108 | match LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any.rs:113:77 [INFO] [stdout] | [INFO] [stdout] 113 | let _lua = match LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 113 | let _lua = match LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any.rs:121:70 [INFO] [stdout] | [INFO] [stdout] 121 | match LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 121 | match LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any.rs:127:70 [INFO] [stdout] | [INFO] [stdout] 127 | match LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 127 | match LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any.rs:133:70 [INFO] [stdout] | [INFO] [stdout] 133 | match LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 133 | match LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any.rs:138:76 [INFO] [stdout] | [INFO] [stdout] 138 | let lua = match LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 138 | let lua = match LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any.rs:188:51 [INFO] [stdout] | [INFO] [stdout] 188 | .push_no_err(&mut lua as &mut AsMutLua<'lua>) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 188 | .push_no_err(&mut lua as &mut dyn AsMutLua<'lua>) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any.rs:225:70 [INFO] [stdout] | [INFO] [stdout] 225 | match LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 225 | match LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any.rs:230:77 [INFO] [stdout] | [INFO] [stdout] 230 | let _lua = match LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 230 | let _lua = match LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any.rs:238:70 [INFO] [stdout] | [INFO] [stdout] 238 | match LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 238 | match LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any.rs:244:70 [INFO] [stdout] | [INFO] [stdout] 244 | match LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 244 | match LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any.rs:250:70 [INFO] [stdout] | [INFO] [stdout] 250 | match LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 250 | match LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any.rs:256:70 [INFO] [stdout] | [INFO] [stdout] 256 | match LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 256 | match LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any.rs:266:64 [INFO] [stdout] | [INFO] [stdout] 266 | LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 266 | LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lua` is never read [INFO] [stdout] --> src/values.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 267 | pub struct StringInLua { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 268 | lua: L, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StringInLua` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lua_tables.rs:109:23 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn iter(&mut self) -> LuaTableIterator { [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] 109 | pub fn iter(&mut self) -> LuaTableIterator<'_, L, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.46s [INFO] running `Command { std: "docker" "inspect" "5df5b202e260287c94fa71cead2c11473dccf9934a5e5216987bc94317368a36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5df5b202e260287c94fa71cead2c11473dccf9934a5e5216987bc94317368a36", kill_on_drop: false }` [INFO] [stdout] 5df5b202e260287c94fa71cead2c11473dccf9934a5e5216987bc94317368a36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa186199d15e09346ab8f112dd38b4b913f2fdad63406216497406a8b8d47fc6 [INFO] running `Command { std: "docker" "start" "-a" "fa186199d15e09346ab8f112dd38b4b913f2fdad63406216497406a8b8d47fc6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/functions_write.rs:234:34 [INFO] [stdout] | [INFO] [stdout] 234 | let wrapper: extern fn(*mut ffi::lua_State) -> libc::c_int = wrapper::; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 319 | impl_function_ext!(); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_function_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/functions_write.rs:301:34 [INFO] [stdout] | [INFO] [stdout] 301 | let wrapper: extern fn(*mut ffi::lua_State) -> libc::c_int = wrapper::; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 320 | impl_function_ext!(A); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_function_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/functions_write.rs:301:34 [INFO] [stdout] | [INFO] [stdout] 301 | let wrapper: extern fn(*mut ffi::lua_State) -> libc::c_int = wrapper::; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 321 | impl_function_ext!(A, B); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_function_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/functions_write.rs:301:34 [INFO] [stdout] | [INFO] [stdout] 301 | let wrapper: extern fn(*mut ffi::lua_State) -> libc::c_int = wrapper::; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 322 | impl_function_ext!(A, B, C); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_function_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/functions_write.rs:301:34 [INFO] [stdout] | [INFO] [stdout] 301 | let wrapper: extern fn(*mut ffi::lua_State) -> libc::c_int = wrapper::; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 323 | impl_function_ext!(A, B, C, D); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_function_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/functions_write.rs:301:34 [INFO] [stdout] | [INFO] [stdout] 301 | let wrapper: extern fn(*mut ffi::lua_State) -> libc::c_int = wrapper::; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 324 | impl_function_ext!(A, B, C, D, E); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_function_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/functions_write.rs:301:34 [INFO] [stdout] | [INFO] [stdout] 301 | let wrapper: extern fn(*mut ffi::lua_State) -> libc::c_int = wrapper::; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 325 | impl_function_ext!(A, B, C, D, E, F); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_function_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/functions_write.rs:301:34 [INFO] [stdout] | [INFO] [stdout] 301 | let wrapper: extern fn(*mut ffi::lua_State) -> libc::c_int = wrapper::; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 326 | impl_function_ext!(A, B, C, D, E, F, G); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_function_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/functions_write.rs:301:34 [INFO] [stdout] | [INFO] [stdout] 301 | let wrapper: extern fn(*mut ffi::lua_State) -> libc::c_int = wrapper::; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 327 | impl_function_ext!(A, B, C, D, E, F, G, H); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_function_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/functions_write.rs:301:34 [INFO] [stdout] | [INFO] [stdout] 301 | let wrapper: extern fn(*mut ffi::lua_State) -> libc::c_int = wrapper::; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 328 | impl_function_ext!(A, B, C, D, E, F, G, H, I); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_function_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/functions_write.rs:301:34 [INFO] [stdout] | [INFO] [stdout] 301 | let wrapper: extern fn(*mut ffi::lua_State) -> libc::c_int = wrapper::; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 329 | impl_function_ext!(A, B, C, D, E, F, G, H, I, J); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_function_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/lua_functions.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:734:21 [INFO] [stdout] | [INFO] [stdout] 734 | let mut f = try!(lua_functions::LuaFunction::load(self, code)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:763:21 [INFO] [stdout] | [INFO] [stdout] 763 | let mut f = try!(lua_functions::LuaFunction::load_from_reader(self, code)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lua_functions.rs:414:32 [INFO] [stdout] | [INFO] [stdout] 414 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 414 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lua_functions.rs:430:32 [INFO] [stdout] | [INFO] [stdout] 430 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 430 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:451:32 [INFO] [stdout] | [INFO] [stdout] 451 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 451 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | .push_no_err(&mut lua as &mut AsMutLua<'lua>) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 70 | .push_no_err(&mut lua as &mut dyn AsMutLua<'lua>) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any.rs:108:70 [INFO] [stdout] | [INFO] [stdout] 108 | match LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 108 | match LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any.rs:113:77 [INFO] [stdout] | [INFO] [stdout] 113 | let _lua = match LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 113 | let _lua = match LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any.rs:121:70 [INFO] [stdout] | [INFO] [stdout] 121 | match LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 121 | match LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any.rs:127:70 [INFO] [stdout] | [INFO] [stdout] 127 | match LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 127 | match LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any.rs:133:70 [INFO] [stdout] | [INFO] [stdout] 133 | match LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 133 | match LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any.rs:138:76 [INFO] [stdout] | [INFO] [stdout] 138 | let lua = match LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 138 | let lua = match LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hlua v0.4.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any.rs:188:51 [INFO] [stdout] | [INFO] [stdout] 188 | .push_no_err(&mut lua as &mut AsMutLua<'lua>) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 188 | .push_no_err(&mut lua as &mut dyn AsMutLua<'lua>) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any.rs:225:70 [INFO] [stdout] | [INFO] [stdout] 225 | match LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 225 | match LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any.rs:230:77 [INFO] [stdout] | [INFO] [stdout] 230 | let _lua = match LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 230 | let _lua = match LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any.rs:238:70 [INFO] [stdout] | [INFO] [stdout] 238 | match LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 238 | match LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any.rs:244:70 [INFO] [stdout] | [INFO] [stdout] 244 | match LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 244 | match LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any.rs:250:70 [INFO] [stdout] | [INFO] [stdout] 250 | match LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 250 | match LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any.rs:256:70 [INFO] [stdout] | [INFO] [stdout] 256 | match LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 256 | match LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any.rs:266:64 [INFO] [stdout] | [INFO] [stdout] 266 | LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 266 | LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lua` is never read [INFO] [stdout] --> src/values.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 267 | pub struct StringInLua { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 268 | lua: L, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StringInLua` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lua_tables.rs:109:23 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn iter(&mut self) -> LuaTableIterator { [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] 109 | pub fn iter(&mut self) -> LuaTableIterator<'_, L, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/functions_write.rs:234:34 [INFO] [stdout] | [INFO] [stdout] 234 | let wrapper: extern fn(*mut ffi::lua_State) -> libc::c_int = wrapper::; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 319 | impl_function_ext!(); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_function_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/functions_write.rs:301:34 [INFO] [stdout] | [INFO] [stdout] 301 | let wrapper: extern fn(*mut ffi::lua_State) -> libc::c_int = wrapper::; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 320 | impl_function_ext!(A); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_function_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/functions_write.rs:301:34 [INFO] [stdout] | [INFO] [stdout] 301 | let wrapper: extern fn(*mut ffi::lua_State) -> libc::c_int = wrapper::; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 321 | impl_function_ext!(A, B); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_function_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/functions_write.rs:301:34 [INFO] [stdout] | [INFO] [stdout] 301 | let wrapper: extern fn(*mut ffi::lua_State) -> libc::c_int = wrapper::; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 322 | impl_function_ext!(A, B, C); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_function_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/functions_write.rs:301:34 [INFO] [stdout] | [INFO] [stdout] 301 | let wrapper: extern fn(*mut ffi::lua_State) -> libc::c_int = wrapper::; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 323 | impl_function_ext!(A, B, C, D); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_function_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/functions_write.rs:301:34 [INFO] [stdout] | [INFO] [stdout] 301 | let wrapper: extern fn(*mut ffi::lua_State) -> libc::c_int = wrapper::; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 324 | impl_function_ext!(A, B, C, D, E); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_function_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/functions_write.rs:301:34 [INFO] [stdout] | [INFO] [stdout] 301 | let wrapper: extern fn(*mut ffi::lua_State) -> libc::c_int = wrapper::; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 325 | impl_function_ext!(A, B, C, D, E, F); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_function_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/functions_write.rs:301:34 [INFO] [stdout] | [INFO] [stdout] 301 | let wrapper: extern fn(*mut ffi::lua_State) -> libc::c_int = wrapper::; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 326 | impl_function_ext!(A, B, C, D, E, F, G); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_function_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/functions_write.rs:301:34 [INFO] [stdout] | [INFO] [stdout] 301 | let wrapper: extern fn(*mut ffi::lua_State) -> libc::c_int = wrapper::; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 327 | impl_function_ext!(A, B, C, D, E, F, G, H); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_function_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/functions_write.rs:301:34 [INFO] [stdout] | [INFO] [stdout] 301 | let wrapper: extern fn(*mut ffi::lua_State) -> libc::c_int = wrapper::; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 328 | impl_function_ext!(A, B, C, D, E, F, G, H, I); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_function_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/functions_write.rs:301:34 [INFO] [stdout] | [INFO] [stdout] 301 | let wrapper: extern fn(*mut ffi::lua_State) -> libc::c_int = wrapper::; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] ... [INFO] [stdout] 329 | impl_function_ext!(A, B, C, D, E, F, G, H, I, J); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_function_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/functions_write.rs:450:10 [INFO] [stdout] | [INFO] [stdout] 450 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/functions_write.rs:463:10 [INFO] [stdout] | [INFO] [stdout] 463 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/functions_write.rs:476:10 [INFO] [stdout] | [INFO] [stdout] 476 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/functions_write.rs:489:10 [INFO] [stdout] | [INFO] [stdout] 489 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/functions_write.rs:505:10 [INFO] [stdout] | [INFO] [stdout] 505 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/functions_write.rs:572:22 [INFO] [stdout] | [INFO] [stdout] 572 | struct Foo {}; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/lua_functions.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lua_functions.rs:555:25 [INFO] [stdout] | [INFO] [stdout] 555 | struct Reader {}; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lua_tables.rs:594:14 [INFO] [stdout] | [INFO] [stdout] 594 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:734:21 [INFO] [stdout] | [INFO] [stdout] 734 | let mut f = try!(lua_functions::LuaFunction::load(self, code)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:763:21 [INFO] [stdout] | [INFO] [stdout] 763 | let mut f = try!(lua_functions::LuaFunction::load_from_reader(self, code)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lua_functions.rs:414:32 [INFO] [stdout] | [INFO] [stdout] 414 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 414 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lua_functions.rs:430:32 [INFO] [stdout] | [INFO] [stdout] 430 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 430 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:451:32 [INFO] [stdout] | [INFO] [stdout] 451 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 451 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | .push_no_err(&mut lua as &mut AsMutLua<'lua>) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 70 | .push_no_err(&mut lua as &mut dyn AsMutLua<'lua>) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any.rs:108:70 [INFO] [stdout] | [INFO] [stdout] 108 | match LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 108 | match LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any.rs:113:77 [INFO] [stdout] | [INFO] [stdout] 113 | let _lua = match LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 113 | let _lua = match LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any.rs:121:70 [INFO] [stdout] | [INFO] [stdout] 121 | match LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 121 | match LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any.rs:127:70 [INFO] [stdout] | [INFO] [stdout] 127 | match LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 127 | match LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any.rs:133:70 [INFO] [stdout] | [INFO] [stdout] 133 | match LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 133 | match LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any.rs:138:76 [INFO] [stdout] | [INFO] [stdout] 138 | let lua = match LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 138 | let lua = match LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any.rs:188:51 [INFO] [stdout] | [INFO] [stdout] 188 | .push_no_err(&mut lua as &mut AsMutLua<'lua>) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 188 | .push_no_err(&mut lua as &mut dyn AsMutLua<'lua>) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any.rs:225:70 [INFO] [stdout] | [INFO] [stdout] 225 | match LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 225 | match LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any.rs:230:77 [INFO] [stdout] | [INFO] [stdout] 230 | let _lua = match LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 230 | let _lua = match LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any.rs:238:70 [INFO] [stdout] | [INFO] [stdout] 238 | match LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 238 | match LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any.rs:244:70 [INFO] [stdout] | [INFO] [stdout] 244 | match LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 244 | match LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any.rs:250:70 [INFO] [stdout] | [INFO] [stdout] 250 | match LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 250 | match LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any.rs:256:70 [INFO] [stdout] | [INFO] [stdout] 256 | match LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 256 | match LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/any.rs:266:64 [INFO] [stdout] | [INFO] [stdout] 266 | LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 266 | LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lua_functions.rs:570:40 [INFO] [stdout] | [INFO] [stdout] 570 | assert_eq!("oh no!", e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `Lua::<'lua>::open_base`: This function is a wart in hlua's API and doesn't actually do anything. Unfortunately, the equivalent function in the Lua library is undocumented. If you know how to use it, feel free to open a pull request against hlua to expose it properly. [INFO] [stdout] --> src/lib.rs:1040:13 [INFO] [stdout] | [INFO] [stdout] 1040 | lua.open_base(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `Lua::<'lua>::open_base`: This function is a wart in hlua's API and doesn't actually do anything. Unfortunately, the equivalent function in the Lua library is undocumented. If you know how to use it, feel free to open a pull request against hlua to expose it properly. [INFO] [stdout] --> src/lib.rs:1048:13 [INFO] [stdout] | [INFO] [stdout] 1048 | lua.open_base(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `Lua::<'lua>::open_bit32`: This function is a wart in hlua's API and doesn't actually do anything. Unfortunately, the equivalent function in the Lua library is undocumented. If you know how to use it, feel free to open a pull request against hlua to expose it properly. [INFO] [stdout] --> src/lib.rs:1049:13 [INFO] [stdout] | [INFO] [stdout] 1049 | lua.open_bit32(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `Lua::<'lua>::open_coroutine`: This function is a wart in hlua's API and doesn't actually do anything. Unfortunately, the equivalent function in the Lua library is undocumented. If you know how to use it, feel free to open a pull request against hlua to expose it properly. [INFO] [stdout] --> src/lib.rs:1050:13 [INFO] [stdout] | [INFO] [stdout] 1050 | lua.open_coroutine(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `Lua::<'lua>::open_debug`: This function is a wart in hlua's API and doesn't actually do anything. Unfortunately, the equivalent function in the Lua library is undocumented. If you know how to use it, feel free to open a pull request against hlua to expose it properly. [INFO] [stdout] --> src/lib.rs:1051:13 [INFO] [stdout] | [INFO] [stdout] 1051 | lua.open_debug(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `Lua::<'lua>::open_io`: This function is a wart in hlua's API and doesn't actually do anything. Unfortunately, the equivalent function in the Lua library is undocumented. If you know how to use it, feel free to open a pull request against hlua to expose it properly. [INFO] [stdout] --> src/lib.rs:1052:13 [INFO] [stdout] | [INFO] [stdout] 1052 | lua.open_io(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `Lua::<'lua>::open_math`: This function is a wart in hlua's API and doesn't actually do anything. Unfortunately, the equivalent function in the Lua library is undocumented. If you know how to use it, feel free to open a pull request against hlua to expose it properly. [INFO] [stdout] --> src/lib.rs:1053:13 [INFO] [stdout] | [INFO] [stdout] 1053 | lua.open_math(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `Lua::<'lua>::open_os`: This function is a wart in hlua's API and doesn't actually do anything. Unfortunately, the equivalent function in the Lua library is undocumented. If you know how to use it, feel free to open a pull request against hlua to expose it properly. [INFO] [stdout] --> src/lib.rs:1054:13 [INFO] [stdout] | [INFO] [stdout] 1054 | lua.open_os(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `Lua::<'lua>::open_package`: This function is a wart in hlua's API and doesn't actually do anything. Unfortunately, the equivalent function in the Lua library is undocumented. If you know how to use it, feel free to open a pull request against hlua to expose it properly. [INFO] [stdout] --> src/lib.rs:1055:13 [INFO] [stdout] | [INFO] [stdout] 1055 | lua.open_package(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `Lua::<'lua>::open_string`: This function is a wart in hlua's API and doesn't actually do anything. Unfortunately, the equivalent function in the Lua library is undocumented. If you know how to use it, feel free to open a pull request against hlua to expose it properly. [INFO] [stdout] --> src/lib.rs:1056:13 [INFO] [stdout] | [INFO] [stdout] 1056 | lua.open_string(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `Lua::<'lua>::open_table`: This function is a wart in hlua's API and doesn't actually do anything. Unfortunately, the equivalent function in the Lua library is undocumented. If you know how to use it, feel free to open a pull request against hlua to expose it properly. [INFO] [stdout] --> src/lib.rs:1057:13 [INFO] [stdout] | [INFO] [stdout] 1057 | lua.open_table(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lua` is never read [INFO] [stdout] --> src/values.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 267 | pub struct StringInLua { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 268 | lua: L, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StringInLua` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lua_tables.rs:109:23 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn iter(&mut self) -> LuaTableIterator { [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] 109 | pub fn iter(&mut self) -> LuaTableIterator<'_, L, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/rust_tables.rs:459:14 [INFO] [stdout] | [INFO] [stdout] 459 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 459 - .into_iter() [INFO] [stdout] 459 + .iter() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 458 - let orig: HashMap = [1., 2., 3.] [INFO] [stdout] 458 + let orig: HashMap = IntoIterator::into_iter([1., 2., 3.]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.58s [INFO] running `Command { std: "docker" "inspect" "fa186199d15e09346ab8f112dd38b4b913f2fdad63406216497406a8b8d47fc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa186199d15e09346ab8f112dd38b4b913f2fdad63406216497406a8b8d47fc6", kill_on_drop: false }` [INFO] [stdout] fa186199d15e09346ab8f112dd38b4b913f2fdad63406216497406a8b8d47fc6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a04d2bd492a283f27acab9066fe3cfef24e6855d8510b6fd350f48559816cfd2 [INFO] running `Command { std: "docker" "start" "-a" "a04d2bd492a283f27acab9066fe3cfef24e6855d8510b6fd350f48559816cfd2", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stderr] --> src/functions_write.rs:234:34 [INFO] [stderr] | [INFO] [stderr] 234 | let wrapper: extern fn(*mut ffi::lua_State) -> libc::c_int = wrapper::; [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] ... [INFO] [stderr] 319 | impl_function_ext!(); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(missing_abi)]` on by default [INFO] [stderr] = note: this warning originates in the macro `impl_function_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stderr] --> src/functions_write.rs:301:34 [INFO] [stderr] | [INFO] [stderr] 301 | let wrapper: extern fn(*mut ffi::lua_State) -> libc::c_int = wrapper::; [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] ... [INFO] [stderr] 320 | impl_function_ext!(A); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_function_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stderr] --> src/functions_write.rs:301:34 [INFO] [stderr] | [INFO] [stderr] 301 | let wrapper: extern fn(*mut ffi::lua_State) -> libc::c_int = wrapper::; [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] ... [INFO] [stderr] 321 | impl_function_ext!(A, B); [INFO] [stderr] | ------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_function_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stderr] --> src/functions_write.rs:301:34 [INFO] [stderr] | [INFO] [stderr] 301 | let wrapper: extern fn(*mut ffi::lua_State) -> libc::c_int = wrapper::; [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] ... [INFO] [stderr] 322 | impl_function_ext!(A, B, C); [INFO] [stderr] | --------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_function_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stderr] --> src/functions_write.rs:301:34 [INFO] [stderr] | [INFO] [stderr] 301 | let wrapper: extern fn(*mut ffi::lua_State) -> libc::c_int = wrapper::; [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] ... [INFO] [stderr] 323 | impl_function_ext!(A, B, C, D); [INFO] [stderr] | ------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_function_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stderr] --> src/functions_write.rs:301:34 [INFO] [stderr] | [INFO] [stderr] 301 | let wrapper: extern fn(*mut ffi::lua_State) -> libc::c_int = wrapper::; [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] ... [INFO] [stderr] 324 | impl_function_ext!(A, B, C, D, E); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_function_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stderr] --> src/functions_write.rs:301:34 [INFO] [stderr] | [INFO] [stderr] 301 | let wrapper: extern fn(*mut ffi::lua_State) -> libc::c_int = wrapper::; [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] ... [INFO] [stderr] 325 | impl_function_ext!(A, B, C, D, E, F); [INFO] [stderr] | ------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_function_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stderr] --> src/functions_write.rs:301:34 [INFO] [stderr] | [INFO] [stderr] 301 | let wrapper: extern fn(*mut ffi::lua_State) -> libc::c_int = wrapper::; [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] ... [INFO] [stderr] 326 | impl_function_ext!(A, B, C, D, E, F, G); [INFO] [stderr] | --------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_function_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stderr] --> src/functions_write.rs:301:34 [INFO] [stderr] | [INFO] [stderr] 301 | let wrapper: extern fn(*mut ffi::lua_State) -> libc::c_int = wrapper::; [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] ... [INFO] [stderr] 327 | impl_function_ext!(A, B, C, D, E, F, G, H); [INFO] [stderr] | ------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_function_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stderr] --> src/functions_write.rs:301:34 [INFO] [stderr] | [INFO] [stderr] 301 | let wrapper: extern fn(*mut ffi::lua_State) -> libc::c_int = wrapper::; [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] ... [INFO] [stderr] 328 | impl_function_ext!(A, B, C, D, E, F, G, H, I); [INFO] [stderr] | --------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_function_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stderr] --> src/functions_write.rs:301:34 [INFO] [stderr] | [INFO] [stderr] 301 | let wrapper: extern fn(*mut ffi::lua_State) -> libc::c_int = wrapper::; [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] ... [INFO] [stderr] 329 | impl_function_ext!(A, B, C, D, E, F, G, H, I, J); [INFO] [stderr] | ------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_function_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::mem` [INFO] [stderr] --> src/lua_functions.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::mem; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lib.rs:734:21 [INFO] [stderr] | [INFO] [stderr] 734 | let mut f = try!(lua_functions::LuaFunction::load(self, code)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lib.rs:763:21 [INFO] [stderr] | [INFO] [stderr] 763 | let mut f = try!(lua_functions::LuaFunction::load_from_reader(self, code)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lua_functions.rs:414:32 [INFO] [stderr] | [INFO] [stderr] 414 | fn cause(&self) -> Option<&Error> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 414 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lua_functions.rs:430:32 [INFO] [stderr] | [INFO] [stderr] 430 | fn cause(&self) -> Option<&Error> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 430 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:451:32 [INFO] [stderr] | [INFO] [stderr] 451 | fn cause(&self) -> Option<&Error> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 451 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/any.rs:70:51 [INFO] [stderr] | [INFO] [stderr] 70 | .push_no_err(&mut lua as &mut AsMutLua<'lua>) [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 70 | .push_no_err(&mut lua as &mut dyn AsMutLua<'lua>) [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/any.rs:108:70 [INFO] [stderr] | [INFO] [stderr] 108 | match LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 108 | match LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/any.rs:113:77 [INFO] [stderr] | [INFO] [stderr] 113 | let _lua = match LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 113 | let _lua = match LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/any.rs:121:70 [INFO] [stderr] | [INFO] [stderr] 121 | match LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 121 | match LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/any.rs:127:70 [INFO] [stderr] | [INFO] [stderr] 127 | match LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 127 | match LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/any.rs:133:70 [INFO] [stderr] | [INFO] [stderr] 133 | match LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 133 | match LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/any.rs:138:76 [INFO] [stderr] | [INFO] [stderr] 138 | let lua = match LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 138 | let lua = match LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/any.rs:188:51 [INFO] [stderr] | [INFO] [stderr] 188 | .push_no_err(&mut lua as &mut AsMutLua<'lua>) [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 188 | .push_no_err(&mut lua as &mut dyn AsMutLua<'lua>) [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/any.rs:225:70 [INFO] [stderr] | [INFO] [stderr] 225 | match LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 225 | match LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/any.rs:230:77 [INFO] [stderr] | [INFO] [stderr] 230 | let _lua = match LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 230 | let _lua = match LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/any.rs:238:70 [INFO] [stderr] | [INFO] [stderr] 238 | match LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 238 | match LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/any.rs:244:70 [INFO] [stderr] | [INFO] [stderr] 244 | match LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 244 | match LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/any.rs:250:70 [INFO] [stderr] | [INFO] [stderr] 250 | match LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 250 | match LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/any.rs:256:70 [INFO] [stderr] | [INFO] [stderr] 256 | match LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 256 | match LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/any.rs:266:64 [INFO] [stderr] | [INFO] [stderr] 266 | LuaRead::lua_read_at_position(&mut lua as &mut AsMutLua<'lua>, index); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 266 | LuaRead::lua_read_at_position(&mut lua as &mut dyn AsMutLua<'lua>, index); [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: field `lua` is never read [INFO] [stderr] --> src/values.rs:268:5 [INFO] [stderr] | [INFO] [stderr] 267 | pub struct StringInLua { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 268 | lua: L, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `StringInLua` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lua_tables.rs:109:23 [INFO] [stderr] | [INFO] [stderr] 109 | pub fn iter(&mut self) -> LuaTableIterator { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 109 | pub fn iter(&mut self) -> LuaTableIterator<'_, L, K, V> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/functions_write.rs:450:10 [INFO] [stderr] | [INFO] [stderr] 450 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/functions_write.rs:463:10 [INFO] [stderr] | [INFO] [stderr] 463 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/functions_write.rs:476:10 [INFO] [stderr] | [INFO] [stderr] 476 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/functions_write.rs:489:10 [INFO] [stderr] | [INFO] [stderr] 489 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/functions_write.rs:505:10 [INFO] [stderr] | [INFO] [stderr] 505 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/functions_write.rs:572:22 [INFO] [stderr] | [INFO] [stderr] 572 | struct Foo {}; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/lua_functions.rs:555:25 [INFO] [stderr] | [INFO] [stderr] 555 | struct Reader {}; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/lua_tables.rs:594:14 [INFO] [stderr] | [INFO] [stderr] 594 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lua_functions.rs:570:40 [INFO] [stderr] | [INFO] [stderr] 570 | assert_eq!("oh no!", e.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `Lua::<'lua>::open_base`: This function is a wart in hlua's API and doesn't actually do anything. Unfortunately, the equivalent function in the Lua library is undocumented. If you know how to use it, feel free to open a pull request against hlua to expose it properly. [INFO] [stderr] --> src/lib.rs:1040:13 [INFO] [stderr] | [INFO] [stderr] 1040 | lua.open_base(); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `Lua::<'lua>::open_base`: This function is a wart in hlua's API and doesn't actually do anything. Unfortunately, the equivalent function in the Lua library is undocumented. If you know how to use it, feel free to open a pull request against hlua to expose it properly. [INFO] [stderr] --> src/lib.rs:1048:13 [INFO] [stderr] | [INFO] [stderr] 1048 | lua.open_base(); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `Lua::<'lua>::open_bit32`: This function is a wart in hlua's API and doesn't actually do anything. Unfortunately, the equivalent function in the Lua library is undocumented. If you know how to use it, feel free to open a pull request against hlua to expose it properly. [INFO] [stderr] --> src/lib.rs:1049:13 [INFO] [stderr] | [INFO] [stderr] 1049 | lua.open_bit32(); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `Lua::<'lua>::open_coroutine`: This function is a wart in hlua's API and doesn't actually do anything. Unfortunately, the equivalent function in the Lua library is undocumented. If you know how to use it, feel free to open a pull request against hlua to expose it properly. [INFO] [stderr] --> src/lib.rs:1050:13 [INFO] [stderr] | [INFO] [stderr] 1050 | lua.open_coroutine(); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `Lua::<'lua>::open_debug`: This function is a wart in hlua's API and doesn't actually do anything. Unfortunately, the equivalent function in the Lua library is undocumented. If you know how to use it, feel free to open a pull request against hlua to expose it properly. [INFO] [stderr] --> src/lib.rs:1051:13 [INFO] [stderr] | [INFO] [stderr] 1051 | lua.open_debug(); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `Lua::<'lua>::open_io`: This function is a wart in hlua's API and doesn't actually do anything. Unfortunately, the equivalent function in the Lua library is undocumented. If you know how to use it, feel free to open a pull request against hlua to expose it properly. [INFO] [stderr] --> src/lib.rs:1052:13 [INFO] [stderr] | [INFO] [stderr] 1052 | lua.open_io(); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `Lua::<'lua>::open_math`: This function is a wart in hlua's API and doesn't actually do anything. Unfortunately, the equivalent function in the Lua library is undocumented. If you know how to use it, feel free to open a pull request against hlua to expose it properly. [INFO] [stderr] --> src/lib.rs:1053:13 [INFO] [stderr] | [INFO] [stderr] 1053 | lua.open_math(); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `Lua::<'lua>::open_os`: This function is a wart in hlua's API and doesn't actually do anything. Unfortunately, the equivalent function in the Lua library is undocumented. If you know how to use it, feel free to open a pull request against hlua to expose it properly. [INFO] [stderr] --> src/lib.rs:1054:13 [INFO] [stderr] | [INFO] [stderr] 1054 | lua.open_os(); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `Lua::<'lua>::open_package`: This function is a wart in hlua's API and doesn't actually do anything. Unfortunately, the equivalent function in the Lua library is undocumented. If you know how to use it, feel free to open a pull request against hlua to expose it properly. [INFO] [stderr] --> src/lib.rs:1055:13 [INFO] [stderr] | [INFO] [stderr] 1055 | lua.open_package(); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `Lua::<'lua>::open_string`: This function is a wart in hlua's API and doesn't actually do anything. Unfortunately, the equivalent function in the Lua library is undocumented. If you know how to use it, feel free to open a pull request against hlua to expose it properly. [INFO] [stderr] --> src/lib.rs:1056:13 [INFO] [stderr] | [INFO] [stderr] 1056 | lua.open_string(); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `Lua::<'lua>::open_table`: This function is a wart in hlua's API and doesn't actually do anything. Unfortunately, the equivalent function in the Lua library is undocumented. If you know how to use it, feel free to open a pull request against hlua to expose it properly. [INFO] [stderr] --> src/lib.rs:1057:13 [INFO] [stderr] | [INFO] [stderr] 1057 | lua.open_table(); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stderr] --> src/rust_tables.rs:459:14 [INFO] [stderr] | [INFO] [stderr] 459 | .into_iter() [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(array_into_iter)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 459 - .into_iter() [INFO] [stderr] 459 + .iter() [INFO] [stderr] | [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 458 - let orig: HashMap = [1., 2., 3.] [INFO] [stderr] 458 + let orig: HashMap = IntoIterator::into_iter([1., 2., 3.]) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `hlua` (lib) generated 34 warnings (run `cargo fix --lib -p hlua` to apply 31 suggestions) [INFO] [stderr] warning: `hlua` (lib test) generated 55 warnings (34 duplicates) (run `cargo fix --lib -p hlua --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hlua-950c16dbf0ac7a95) [INFO] [stdout] [INFO] [stdout] running 72 tests [INFO] [stdout] test any::tests::non_utf_8_string ... ok [INFO] [stdout] test any::tests::push_booleans ... ok [INFO] [stdout] test any::tests::push_hashable_booleans ... ok [INFO] [stdout] test any::tests::push_hashable_numbers ... ok [INFO] [stdout] test any::tests::push_nil ... ok [INFO] [stdout] test any::tests::push_strings ... ok [INFO] [stdout] test any::tests::read_hashable_booleans ... ok [INFO] [stdout] test any::tests::read_hashable_numbers ... ok [INFO] [stdout] test any::tests::read_numbers ... ok [INFO] [stdout] test any::tests::read_strings ... ok [INFO] [stdout] test any::tests::push_hashable_nil ... ok [INFO] [stdout] test any::tests::read_booleans ... ok [INFO] [stdout] test any::tests::push_hashable_strings ... ok [INFO] [stdout] test any::tests::read_hashable_strings ... ok [INFO] [stdout] test any::tests::push_numbers ... ok [INFO] [stdout] test any::tests::read_tables ... ok [INFO] [stdout] test functions_write::tests::closures_lifetime ... ok [INFO] [stdout] test functions_write::tests::closures_extern_access ... ok [INFO] [stdout] test functions_write::tests::wrong_arguments_types ... ok [INFO] [stdout] test functions_write::tests::return_result ... ok [INFO] [stdout] test functions_write::tests::closures ... ok [INFO] [stdout] test lua_functions::tests::execution_error ... ok [INFO] [stdout] test functions_write::tests::simple_function ... ok [INFO] [stdout] test functions_write::tests::two_arguments ... ok [INFO] [stdout] test lua_functions::tests::lua_function_returns_function ... ok [INFO] [stdout] test lua_functions::tests::wrong_type ... ok [INFO] [stdout] test lua_functions::tests::syntax_error ... ok [INFO] [stdout] test lua_functions::tests::basic ... ok [INFO] [stdout] test lua_tables::tests::by_value ... ok [INFO] [stdout] test any::tests::read_hashable_tables ... ok [INFO] [stdout] test lua_functions::tests::args ... ok [INFO] [stdout] test rust_tables::tests::reading_hashmap_from_sparse_table_works ... ok [INFO] [stdout] test lua_functions::tests::args_in_order ... ok [INFO] [stdout] test lua_functions::tests::call_and_read_table ... ok [INFO] [stdout] test lua_tables::tests::empty_array ... ok [INFO] [stdout] test lua_tables::tests::iterable ... ok [INFO] [stdout] test lua_tables::tests::iterable_multipletimes ... ok [INFO] [stdout] test rust_tables::tests::reading_hashmap_with_complex_indexes_works ... ok [INFO] [stdout] test rust_tables::tests::reading_hashmap_set_from_lua_works ... ok [INFO] [stdout] test rust_tables::tests::reading_hashmap_with_empty_table_works ... ok [INFO] [stdout] test lua_tables::tests::get_set ... ok [INFO] [stdout] test rust_tables::tests::reading_hashmap_with_floating_indexes_works ... ok [INFO] [stdout] test lua_tables::tests::registry_metatable ... ok [INFO] [stdout] test lua_tables::tests::table_over_table ... ok [INFO] [stdout] test rust_tables::tests::globals_table ... ok [INFO] [stdout] test lua_tables::tests::metatable ... ok [INFO] [stdout] test lua_tables::tests::registry ... ok [INFO] [stdout] test functions_write::tests::closures_drop_env ... ok [INFO] [stdout] test rust_tables::tests::reading_heterogenous_vec_works ... ok [INFO] [stdout] test rust_tables::tests::reading_vec_from_sparse_table_doesnt_work ... ok [INFO] [stdout] test rust_tables::tests::reading_heterogenous_hashmap_works ... ok [INFO] [stdout] test rust_tables::tests::reading_vec_works ... ok [INFO] [stdout] test rust_tables::tests::write ... ok [INFO] [stdout] test tests::open_base_opens_base_library ... ok [INFO] [stdout] test rust_tables::tests::reading_vec_set_from_lua_works ... ok [INFO] [stdout] test rust_tables::tests::reading_hashmap_works ... ok [INFO] [stdout] test tests::opening_all_libraries_doesnt_panic ... ok [INFO] [stdout] test values::tests::push_opt ... ok [INFO] [stdout] test values::tests::readwrite_bools ... ok [INFO] [stdout] test values::tests::read_i32s ... ok [INFO] [stdout] test values::tests::readwrite_strings ... ok [INFO] [stdout] test values::tests::string_on_lua ... ok [INFO] [stdout] test values::tests::string_to_i32 ... ok [INFO] [stdout] test values::tests::write_i32s ... ok [INFO] [stdout] test rust_tables::tests::reading_vec_with_empty_table_works ... ok [INFO] [stdout] test rust_tables::tests::write_map ... ok [INFO] [stdout] test rust_tables::tests::write_set ... ok [INFO] [stdout] test values::tests::i32_to_string ... ok [INFO] [stdout] test rust_tables::tests::reading_vec_with_complex_indexes_doesnt_work ... ok [INFO] [stdout] test values::tests::readwrite_floats ... ok [INFO] [stdout] test functions_write::tests::one_argument ... ok [INFO] [stdout] test lua_functions::tests::execute_from_reader_errors_if_cant_read ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- lua_functions::tests::execute_from_reader_errors_if_cant_read stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'lua_functions::tests::execute_from_reader_errors_if_cant_read' (55) panicked at src/lua_functions.rs:570:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "oh no!" [INFO] [stdout] right: "description() is deprecated; use Display" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x589cc2f6b492 - std::backtrace_rs::backtrace::libunwind::trace::hcab59e1e990fdc24 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x589cc2f6b492 - std::backtrace_rs::backtrace::trace_unsynchronized::he24cc57f3d2f47b7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x589cc2f6b492 - std::sys::backtrace::_print_fmt::hf8d65ede198eeb54 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x589cc2f6b492 - ::fmt::h67edf0e4d33c343c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x589cc2f7bfdf - core::fmt::rt::Argument::fmt::hef94184842aeafdd [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x589cc2f7bfdf - core::fmt::write::hcf0c66b48a8fa606 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x589cc2f388f1 - std::io::default_write_fmt::h69967ac0ba93195f [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x589cc2f388f1 - std::io::Write::write_fmt::h8db9396209deaa1c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x589cc2f44952 - std::sys::backtrace::BacktraceLock::print::h07e5435aa717b414 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x589cc2f494ff - std::panicking::default_hook::{{closure}}::h91001850288db5f7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x589cc2f49391 - std::panicking::default_hook::h2346dbb704ef5512 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x589cc2ededfe - as core::ops::function::Fn>::call::h18383b2e29377420 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x589cc2ededfe - test::test_main_with_exit_callback::{{closure}}::h272d7ef99aef06dc [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x589cc2f49bbf - as core::ops::function::Fn>::call::h6dba6e441651a0d1 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x589cc2f49bbf - std::panicking::panic_with_hook::hd2b063a6090d23a4 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x589cc2f49a1a - std::panicking::panic_handler::{{closure}}::he666d95f139a333e [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x589cc2f44a89 - std::sys::backtrace::__rust_end_short_backtrace::h631ad224854ebee5 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x589cc2f2cdcd - __rustc[1d67440d6e82e4f]::rust_begin_unwind [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x589cc2f83d60 - core::panicking::panic_fmt::h420ddb7fd73daf53 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x589cc2f83b63 - core::panicking::assert_failed_inner::h448e1d534f4c3d4b [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x589cc2e796b6 - core::panicking::assert_failed::h3aa948d9300376ef [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x589cc2ebcecf - hlua::lua_functions::tests::execute_from_reader_errors_if_cant_read::h25373fc418d8c36a [INFO] [stdout] at /opt/rustwide/workdir/src/lua_functions.rs:570:17 [INFO] [stdout] 22: 0x589cc2ebcf87 - hlua::lua_functions::tests::execute_from_reader_errors_if_cant_read::{{closure}}::h97e67f463397afd0 [INFO] [stdout] at /opt/rustwide/workdir/src/lua_functions.rs:554:49 [INFO] [stdout] 23: 0x589cc2e95d36 - core::ops::function::FnOnce::call_once::hf04744ceaf123c10 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x589cc2edebbb - core::ops::function::FnOnce::call_once::h70887edf07a630ba [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x589cc2edebbb - test::__rust_begin_short_backtrace::h27763c4cbbdb8601 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x589cc2ef4825 - test::run_test_in_process::{{closure}}::h4dc8bc6d5e3924d3 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x589cc2ef4825 - as core::ops::function::FnOnce<()>>::call_once::h75905e8ffe81974f [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x589cc2ef4825 - std::panicking::catch_unwind::do_call::h0bc60366ba66eba5 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x589cc2ef4825 - std::panicking::catch_unwind::hae1ec7bf94407afa [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x589cc2ef4825 - std::panic::catch_unwind::h0f4ff4773d84d3cd [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x589cc2ef4825 - test::run_test_in_process::h03fbc77ae48b3f10 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x589cc2ef4825 - test::run_test::{{closure}}::h83476a9c453dc4d3 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x589cc2ecb014 - test::run_test::{{closure}}::h515482ad1e7fe7de [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x589cc2ecb014 - std::sys::backtrace::__rust_begin_short_backtrace::hed09f6ac5fe9d647 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x589cc2ece8da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h988e2cd969319888 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x589cc2ece8da - as core::ops::function::FnOnce<()>>::call_once::hd70e28dc46ec20be [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x589cc2ece8da - std::panicking::catch_unwind::do_call::hdc29e11311eb7655 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x589cc2ece8da - std::panicking::catch_unwind::h9e402d6a96fef41c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x589cc2ece8da - std::panic::catch_unwind::h9213c0c54aec70e0 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x589cc2ece8da - std::thread::Builder::spawn_unchecked_::{{closure}}::h6262965869ed2b87 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x589cc2ece8da - core::ops::function::FnOnce::call_once{{vtable.shim}}::h05c05ed02619e462 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x589cc2f3fbef - as core::ops::function::FnOnce>::call_once::h2044e71c41d3958a [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 43: 0x589cc2f3fbef - std::sys::thread::unix::Thread::new::thread_start::hf277835320aa8e5a [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x7b0fc1ab5aa4 - [INFO] [stdout] 45: 0x7b0fc1b42a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] lua_functions::tests::execute_from_reader_errors_if_cant_read [INFO] [stdout] [INFO] [stdout] test result: FAILED. 71 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "a04d2bd492a283f27acab9066fe3cfef24e6855d8510b6fd350f48559816cfd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a04d2bd492a283f27acab9066fe3cfef24e6855d8510b6fd350f48559816cfd2", kill_on_drop: false }` [INFO] [stdout] a04d2bd492a283f27acab9066fe3cfef24e6855d8510b6fd350f48559816cfd2