[INFO] fetching crate hlua 0.4.3... [INFO] testing hlua-0.4.3 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate hlua 0.4.3 into /workspace/builds/worker-2-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hlua 0.4.3 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.0.94 [INFO] [stderr] Downloaded lua52-sys v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 98f37b5078a20d3e1d5f2a2b0bef6347a27d25d2d0ef4c658f0bc1c6d714c792 [INFO] running `Command { std: "docker" "start" "-a" "98f37b5078a20d3e1d5f2a2b0bef6347a27d25d2d0ef4c658f0bc1c6d714c792", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98f37b5078a20d3e1d5f2a2b0bef6347a27d25d2d0ef4c658f0bc1c6d714c792", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98f37b5078a20d3e1d5f2a2b0bef6347a27d25d2d0ef4c658f0bc1c6d714c792", kill_on_drop: false }` [INFO] [stdout] 98f37b5078a20d3e1d5f2a2b0bef6347a27d25d2d0ef4c658f0bc1c6d714c792 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 67549009c72deef313408ef25b0d9779e5e9b4d8d7355559e61105b3ca624a39 [INFO] running `Command { std: "docker" "start" "-a" "67549009c72deef313408ef25b0d9779e5e9b4d8d7355559e61105b3ca624a39", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling libc v0.2.153 [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)]` 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)]` 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)]` 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.51s [INFO] running `Command { std: "docker" "inspect" "67549009c72deef313408ef25b0d9779e5e9b4d8d7355559e61105b3ca624a39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67549009c72deef313408ef25b0d9779e5e9b4d8d7355559e61105b3ca624a39", kill_on_drop: false }` [INFO] [stdout] 67549009c72deef313408ef25b0d9779e5e9b4d8d7355559e61105b3ca624a39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 50dd13bdc3b6a11607e0e95d9e17f8ee279f236c4b0f31a56d3a80f8ba4561e1 [INFO] running `Command { std: "docker" "start" "-a" "50dd13bdc3b6a11607e0e95d9e17f8ee279f236c4b0f31a56d3a80f8ba4561e1", 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)]` 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hlua v0.4.3 (/opt/rustwide/workdir) [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)]` 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)]` 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)]` 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)]` 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)]` 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.08s [INFO] running `Command { std: "docker" "inspect" "50dd13bdc3b6a11607e0e95d9e17f8ee279f236c4b0f31a56d3a80f8ba4561e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50dd13bdc3b6a11607e0e95d9e17f8ee279f236c4b0f31a56d3a80f8ba4561e1", kill_on_drop: false }` [INFO] [stdout] 50dd13bdc3b6a11607e0e95d9e17f8ee279f236c4b0f31a56d3a80f8ba4561e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bbdf758d276ebc90a332c0a237b72c3a47e76ce6d368e5b07d84e4ea100e9ad6 [INFO] running `Command { std: "docker" "start" "-a" "bbdf758d276ebc90a332c0a237b72c3a47e76ce6d368e5b07d84e4ea100e9ad6", 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)]` 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)]` 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)]` 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)]` 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)]` 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.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hlua-54004620ebf1416f) [INFO] [stdout] [INFO] [stdout] running 72 tests [INFO] [stdout] test any::tests::non_utf_8_string ... ok [INFO] [stdout] test any::tests::push_hashable_booleans ... ok [INFO] [stdout] test any::tests::push_booleans ... ok [INFO] [stdout] test any::tests::push_hashable_numbers ... ok [INFO] [stdout] test any::tests::push_hashable_strings ... ok [INFO] [stdout] test any::tests::push_strings ... ok [INFO] [stdout] test any::tests::read_booleans ... ok [INFO] [stdout] test any::tests::read_hashable_numbers ... ok [INFO] [stdout] test any::tests::read_hashable_strings ... ok [INFO] [stdout] test any::tests::read_hashable_tables ... ok [INFO] [stdout] test functions_write::tests::closures_extern_access ... ok [INFO] [stdout] test functions_write::tests::closures_lifetime ... ok [INFO] [stdout] test functions_write::tests::two_arguments ... ok [INFO] [stdout] test functions_write::tests::closures ... ok [INFO] [stdout] test functions_write::tests::one_argument ... ok [INFO] [stdout] test functions_write::tests::simple_function ... ok [INFO] [stdout] test functions_write::tests::wrong_arguments_types ... 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_functions::tests::execute_from_reader_errors_if_cant_read ... ok [INFO] [stdout] test lua_functions::tests::basic ... ok [INFO] [stdout] test lua_functions::tests::syntax_error ... ok [INFO] [stdout] test lua_functions::tests::execution_error ... 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_tables::tests::iterable ... ok [INFO] [stdout] test lua_tables::tests::by_value ... ok [INFO] [stdout] test lua_tables::tests::iterable_multipletimes ... ok [INFO] [stdout] test lua_tables::tests::metatable ... ok [INFO] [stdout] test lua_tables::tests::empty_array ... ok [INFO] [stdout] test lua_tables::tests::get_set ... ok [INFO] [stdout] test functions_write::tests::closures_drop_env ... ok [INFO] [stdout] test any::tests::read_tables ... ok [INFO] [stdout] test lua_tables::tests::registry ... ok [INFO] [stdout] test any::tests::read_numbers ... ok [INFO] [stdout] test lua_tables::tests::registry_metatable ... ok [INFO] [stdout] test rust_tables::tests::globals_table ... ok [INFO] [stdout] test lua_tables::tests::table_over_table ... 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_from_sparse_table_works ... ok [INFO] [stdout] test rust_tables::tests::reading_heterogenous_hashmap_works ... ok [INFO] [stdout] test rust_tables::tests::reading_hashmap_works ... 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_vec_with_complex_indexes_doesnt_work ... ok [INFO] [stdout] test rust_tables::tests::reading_vec_works ... ok [INFO] [stdout] test rust_tables::tests::reading_vec_set_from_lua_works ... ok [INFO] [stdout] test rust_tables::tests::reading_vec_with_empty_table_works ... ok [INFO] [stdout] test rust_tables::tests::write ... ok [INFO] [stdout] test rust_tables::tests::reading_hashmap_with_floating_indexes_works ... ok [INFO] [stdout] test rust_tables::tests::reading_hashmap_with_empty_table_works ... ok [INFO] [stdout] test values::tests::i32_to_string ... ok [INFO] [stdout] test values::tests::read_i32s ... ok [INFO] [stdout] test tests::open_base_opens_base_library ... ok [INFO] [stdout] test values::tests::readwrite_bools ... ok [INFO] [stdout] test tests::opening_all_libraries_doesnt_panic ... ok [INFO] [stdout] test values::tests::readwrite_strings ... ok [INFO] [stdout] test rust_tables::tests::write_map ... ok [INFO] [stdout] test rust_tables::tests::write_set ... ok [INFO] [stdout] test values::tests::string_on_lua ... ok [INFO] [stdout] test values::tests::readwrite_floats ... ok [INFO] [stdout] test values::tests::string_to_i32 ... ok [INFO] [stdout] test any::tests::read_hashable_booleans ... ok [INFO] [stdout] test values::tests::write_i32s ... ok [INFO] [stdout] test values::tests::push_opt ... ok [INFO] [stdout] test any::tests::push_hashable_nil ... ok [INFO] [stdout] test any::tests::push_nil ... ok [INFO] [stdout] test any::tests::push_numbers ... ok [INFO] [stdout] test any::tests::read_strings ... ok [INFO] [stdout] test functions_write::tests::return_result ... ok [INFO] [stderr] Running tests/ffi.rs (/opt/rustwide/target/debug/deps/ffi-14278df9c0d2c44c) [INFO] [stdout] test lua_functions::tests::args ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 72 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test get_version ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/userdata.rs (/opt/rustwide/target/debug/deps/userdata-ecf10e240a6567a7) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test destructor_called ... ok [INFO] [stdout] test multiple_userdata ... ok [INFO] [stderr] Doc-tests hlua [INFO] [stdout] test readwrite ... ok [INFO] [stdout] test metatables ... ok [INFO] [stdout] test type_check ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 30 tests [INFO] [stdout] test src/lib.rs - Lua<'lua>::execute_from_reader (line 749) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 85) - compile ... ok [INFO] [stdout] test src/lib.rs - Lua<'lua>::execute (line 722) ... ok [INFO] [stdout] test src/functions_write.rs - functions_write::Function (line 129) ... ok [INFO] [stdout] test src/functions_write.rs - functions_write::Function (line 69) ... ok [INFO] [stdout] test src/lib.rs - (line 56) ... ok [INFO] [stdout] test src/functions_write.rs - functions_write::Function (line 147) ... ok [INFO] [stdout] test src/functions_write.rs - functions_write::Function (line 92) ... ok [INFO] [stdout] test src/functions_write.rs - functions_write::Function (line 106) ... ok [INFO] [stdout] test src/lib.rs - (line 13) ... ok [INFO] [stdout] test src/lib.rs - Lua<'lua>::get (line 777) ... ok [INFO] [stdout] test src/lib.rs - Lua<'lua>::globals_table (line 974) ... ok [INFO] [stdout] test src/lib.rs - Lua<'lua>::globals_table (line 964) ... ok [INFO] [stdout] test src/functions_write.rs - functions_write::Function (line 59) ... ok [INFO] [stdout] test src/lib.rs - Lua<'lua>::openlibs (line 552) ... ok [INFO] [stdout] test src/lib.rs - Lua<'lua>::execute (line 713) ... ok [INFO] [stdout] test src/lib.rs - Lua<'lua>::new (line 480) ... ok [INFO] [stdout] test src/lua_tables.rs - lua_tables::LuaTable::registry (line 385) ... ok [INFO] [stdout] test src/lua_functions.rs - lua_functions::LuaCode (line 35) ... ok [INFO] [stdout] test src/functions_write.rs - functions_write::Function (line 80) ... ok [INFO] [stdout] test src/lua_functions.rs - lua_functions::LuaFunction::call_with_args (line 268) ... ok [INFO] [stdout] test src/lua_tables.rs - lua_tables::LuaTable (line 22) ... ok [INFO] [stdout] test src/lib.rs - Lua<'lua>::empty_array (line 912) ... ok [INFO] [stdout] test src/lib.rs - Lua<'lua>::set (line 848) ... ok [INFO] [stdout] test src/values.rs - values::StringInLua (line 259) ... ok [INFO] [stdout] test src/lua_functions.rs - lua_functions::LuaFunction::load_from_reader (line 330) ... ok [INFO] [stdout] test src/lua_functions.rs - lua_functions::LuaFunction (line 195) ... ok [INFO] [stdout] test src/lua_tables.rs - lua_tables::LuaTable::get (line 132) ... ok [INFO] [stdout] test src/lua_functions.rs - lua_functions::LuaCodeFromReader (line 67) ... ok [INFO] [stdout] test src/lua_tables.rs - lua_tables::LuaTable::get_or_create_metatable (line 337) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 30 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.32s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bbdf758d276ebc90a332c0a237b72c3a47e76ce6d368e5b07d84e4ea100e9ad6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbdf758d276ebc90a332c0a237b72c3a47e76ce6d368e5b07d84e4ea100e9ad6", kill_on_drop: false }` [INFO] [stdout] bbdf758d276ebc90a332c0a237b72c3a47e76ce6d368e5b07d84e4ea100e9ad6