[INFO] fetching crate lua53-ext 0.1.1... [INFO] testing lua53-ext-0.1.1 against master#d7bd9cd469ff6871420007f091ef52fc32d2ca99 for pr-121417-1 [INFO] extracting crate lua53-ext 0.1.1 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate lua53-ext 0.1.1 on toolchain d7bd9cd469ff6871420007f091ef52fc32d2ca99 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate lua53-ext 0.1.1 [INFO] finished tweaking crates.io crate lua53-ext 0.1.1 [INFO] tweaked toml for crates.io crate lua53-ext 0.1.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitflags v0.1.1 [INFO] [stderr] Downloaded gcc v0.3.55 [INFO] [stderr] Downloaded lua v0.0.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2da906aaff3600326d981ab9ea05c0e204c98c224803804505064b2965ca0a57 [INFO] running `Command { std: "docker" "start" "-a" "2da906aaff3600326d981ab9ea05c0e204c98c224803804505064b2965ca0a57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2da906aaff3600326d981ab9ea05c0e204c98c224803804505064b2965ca0a57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2da906aaff3600326d981ab9ea05c0e204c98c224803804505064b2965ca0a57", kill_on_drop: false }` [INFO] [stdout] 2da906aaff3600326d981ab9ea05c0e204c98c224803804505064b2965ca0a57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b87d34b29594e6daae21a93b90bdf963ab682ce180369b89f2ca154eeeab7a8c [INFO] running `Command { std: "docker" "start" "-a" "b87d34b29594e6daae21a93b90bdf963ab682ce180369b89f2ca154eeeab7a8c", kill_on_drop: false }` [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling bitflags v0.1.1 [INFO] [stderr] Compiling lua v0.0.10 [INFO] [stderr] Compiling lua53-ext v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `ptr` is imported redundantly [INFO] [stdout] --> src/context.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ptr; [INFO] [stdout] | -------- the item `ptr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 17 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `lua` is imported redundantly [INFO] [stdout] --> src/error.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use lua; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub extern crate lua; [INFO] [stdout] | --------------------- the item `lua` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:132:53 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn set_global(&mut self, key: &str, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 132 | pub fn set_global(&mut self, key: &str, value: &dyn ToLua) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:138:47 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn get_from_registry(&mut self, key: &ToLua) -> types::LuaGeneric { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 138 | pub fn get_from_registry(&mut self, key: &dyn ToLua) -> types::LuaGeneric { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:146:65 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn get_from_registry_typed(&mut self, key: &ToLua) -> Option { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 146 | pub fn get_from_registry_typed(&mut self, key: &dyn ToLua) -> Option { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:154:45 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn set_in_registry(&mut self, key: &ToLua, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 154 | pub fn set_in_registry(&mut self, key: &dyn ToLua, value: &ToLua) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:154:60 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn set_in_registry(&mut self, key: &ToLua, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 154 | pub fn set_in_registry(&mut self, key: &ToLua, value: &dyn ToLua) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:211:46 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn return_context(mut self, args: &[&ToLua]) -> 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 211 | pub fn return_context(mut self, args: &[&dyn ToLua]) -> Index { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/table.rs:30:52 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn set(&self, context: &mut Context, key: &ToLua, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | pub fn set(&self, context: &mut Context, key: &dyn ToLua, value: &ToLua) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/table.rs:30:67 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn set(&self, context: &mut Context, key: &ToLua, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | pub fn set(&self, context: &mut Context, key: &ToLua, value: &dyn ToLua) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/table.rs:39:56 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn set_raw(&self, context: &mut Context, key: &ToLua, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | pub fn set_raw(&self, context: &mut Context, key: &dyn ToLua, value: &ToLua) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/table.rs:39:71 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn set_raw(&self, context: &mut Context, key: &ToLua, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | pub fn set_raw(&self, context: &mut Context, key: &ToLua, value: &dyn ToLua) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/table.rs:49:52 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn get(&self, context: &mut Context, key: &ToLua) -> LuaGeneric { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 | pub fn get(&self, context: &mut Context, key: &dyn ToLua) -> LuaGeneric { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/table.rs:58:56 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_raw(&self, context: &mut Context, key: &ToLua) -> LuaGeneric { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_raw(&self, context: &mut Context, key: &dyn ToLua) -> LuaGeneric { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/table.rs:65:70 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn get_typed(&self, context: &mut Context, key: &ToLua) -> Option { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 | pub fn get_typed(&self, context: &mut Context, key: &dyn ToLua) -> Option { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/table.rs:113:57 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn append(&self, context: &mut Context, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 113 | pub fn append(&self, context: &mut Context, value: &dyn ToLua) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/function.rs:56:57 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn pcall(&self, context: &mut Context, args: &[&ToLua], errfunc: Option<&LuaFunction>, [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 | pub fn pcall(&self, context: &mut Context, args: &[&dyn ToLua], errfunc: Option<&LuaFunction>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/function.rs:79:66 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn pcall_multiret(&self, context: &mut Context, args: &[&ToLua], [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 79 | pub fn pcall_multiret(&self, context: &mut Context, args: &[&dyn ToLua], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/function.rs:85:67 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn pcall_singleret(&self, context: &mut Context, args: &[&ToLua], [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 85 | pub fn pcall_singleret(&self, context: &mut Context, args: &[&dyn ToLua], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/function.rs:97:63 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn pcall_noret(&self, context: &mut Context, args: &[&ToLua], [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 97 | pub fn pcall_noret(&self, context: &mut Context, args: &[&dyn ToLua], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/function.rs:110:56 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn call(&self, context: &mut Context, args: &[&ToLua], nresults: i32) -> Vec { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 110 | pub fn call(&self, context: &mut Context, args: &[&dyn ToLua], nresults: i32) -> Vec { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/function.rs:124:66 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn call_singleret(&self, context: &mut Context, args: &[&ToLua]) -> Option { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 124 | pub fn call_singleret(&self, context: &mut Context, args: &[&dyn ToLua]) -> Option { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/function.rs:133:65 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn call_multiret(&self, context: &mut Context, args: &[&ToLua]) -> Vec { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 133 | pub fn call_multiret(&self, context: &mut Context, args: &[&dyn ToLua]) -> Vec { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/function.rs:138:62 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn call_noret(&self, context: &mut Context, args: &[&ToLua]) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 138 | pub fn call_noret(&self, context: &mut Context, args: &[&dyn ToLua]) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:47:32 [INFO] [stdout] | [INFO] [stdout] 47 | fn cause(&self) -> Option<&error::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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.23s [INFO] running `Command { std: "docker" "inspect" "b87d34b29594e6daae21a93b90bdf963ab682ce180369b89f2ca154eeeab7a8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b87d34b29594e6daae21a93b90bdf963ab682ce180369b89f2ca154eeeab7a8c", kill_on_drop: false }` [INFO] [stdout] b87d34b29594e6daae21a93b90bdf963ab682ce180369b89f2ca154eeeab7a8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85c0673877e4aa25302845cbf9003bd95744765e671d86441356ecb30f8bc77b [INFO] running `Command { std: "docker" "start" "-a" "85c0673877e4aa25302845cbf9003bd95744765e671d86441356ecb30f8bc77b", kill_on_drop: false }` [INFO] [stdout] warning: the item `ptr` is imported redundantly [INFO] [stdout] --> src/context.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ptr; [INFO] [stdout] | -------- the item `ptr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 17 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `lua` is imported redundantly [INFO] [stdout] --> src/error.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use lua; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub extern crate lua; [INFO] [stdout] | --------------------- the item `lua` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:132:53 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn set_global(&mut self, key: &str, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 132 | pub fn set_global(&mut self, key: &str, value: &dyn ToLua) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:138:47 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn get_from_registry(&mut self, key: &ToLua) -> types::LuaGeneric { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 138 | pub fn get_from_registry(&mut self, key: &dyn ToLua) -> types::LuaGeneric { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:146:65 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn get_from_registry_typed(&mut self, key: &ToLua) -> Option { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 146 | pub fn get_from_registry_typed(&mut self, key: &dyn ToLua) -> Option { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:154:45 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn set_in_registry(&mut self, key: &ToLua, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 154 | pub fn set_in_registry(&mut self, key: &dyn ToLua, value: &ToLua) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:154:60 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn set_in_registry(&mut self, key: &ToLua, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 154 | pub fn set_in_registry(&mut self, key: &ToLua, value: &dyn ToLua) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:211:46 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn return_context(mut self, args: &[&ToLua]) -> 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 211 | pub fn return_context(mut self, args: &[&dyn ToLua]) -> Index { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/table.rs:30:52 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn set(&self, context: &mut Context, key: &ToLua, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | pub fn set(&self, context: &mut Context, key: &dyn ToLua, value: &ToLua) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling lua53-ext v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/table.rs:30:67 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn set(&self, context: &mut Context, key: &ToLua, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | pub fn set(&self, context: &mut Context, key: &ToLua, value: &dyn ToLua) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/table.rs:39:56 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn set_raw(&self, context: &mut Context, key: &ToLua, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | pub fn set_raw(&self, context: &mut Context, key: &dyn ToLua, value: &ToLua) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/table.rs:39:71 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn set_raw(&self, context: &mut Context, key: &ToLua, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | pub fn set_raw(&self, context: &mut Context, key: &ToLua, value: &dyn ToLua) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/table.rs:49:52 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn get(&self, context: &mut Context, key: &ToLua) -> LuaGeneric { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 | pub fn get(&self, context: &mut Context, key: &dyn ToLua) -> LuaGeneric { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/table.rs:58:56 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_raw(&self, context: &mut Context, key: &ToLua) -> LuaGeneric { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_raw(&self, context: &mut Context, key: &dyn ToLua) -> LuaGeneric { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/table.rs:65:70 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn get_typed(&self, context: &mut Context, key: &ToLua) -> Option { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 | pub fn get_typed(&self, context: &mut Context, key: &dyn ToLua) -> Option { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/table.rs:113:57 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn append(&self, context: &mut Context, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 113 | pub fn append(&self, context: &mut Context, value: &dyn ToLua) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/function.rs:56:57 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn pcall(&self, context: &mut Context, args: &[&ToLua], errfunc: Option<&LuaFunction>, [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 | pub fn pcall(&self, context: &mut Context, args: &[&dyn ToLua], errfunc: Option<&LuaFunction>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/function.rs:79:66 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn pcall_multiret(&self, context: &mut Context, args: &[&ToLua], [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 79 | pub fn pcall_multiret(&self, context: &mut Context, args: &[&dyn ToLua], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/function.rs:85:67 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn pcall_singleret(&self, context: &mut Context, args: &[&ToLua], [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 85 | pub fn pcall_singleret(&self, context: &mut Context, args: &[&dyn ToLua], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/function.rs:97:63 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn pcall_noret(&self, context: &mut Context, args: &[&ToLua], [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 97 | pub fn pcall_noret(&self, context: &mut Context, args: &[&dyn ToLua], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/function.rs:110:56 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn call(&self, context: &mut Context, args: &[&ToLua], nresults: i32) -> Vec { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 110 | pub fn call(&self, context: &mut Context, args: &[&dyn ToLua], nresults: i32) -> Vec { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/function.rs:124:66 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn call_singleret(&self, context: &mut Context, args: &[&ToLua]) -> Option { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 124 | pub fn call_singleret(&self, context: &mut Context, args: &[&dyn ToLua]) -> Option { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/function.rs:133:65 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn call_multiret(&self, context: &mut Context, args: &[&ToLua]) -> Vec { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 133 | pub fn call_multiret(&self, context: &mut Context, args: &[&dyn ToLua]) -> Vec { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/function.rs:138:62 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn call_noret(&self, context: &mut Context, args: &[&ToLua]) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 138 | pub fn call_noret(&self, context: &mut Context, args: &[&dyn ToLua]) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:47:32 [INFO] [stdout] | [INFO] [stdout] 47 | fn cause(&self) -> Option<&error::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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ptr` is imported redundantly [INFO] [stdout] --> src/context.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ptr; [INFO] [stdout] | -------- the item `ptr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 17 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `lua` is imported redundantly [INFO] [stdout] --> src/error.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use lua; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub extern crate lua; [INFO] [stdout] | --------------------- the item `lua` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:132:53 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn set_global(&mut self, key: &str, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 132 | pub fn set_global(&mut self, key: &str, value: &dyn ToLua) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:138:47 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn get_from_registry(&mut self, key: &ToLua) -> types::LuaGeneric { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 138 | pub fn get_from_registry(&mut self, key: &dyn ToLua) -> types::LuaGeneric { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:146:65 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn get_from_registry_typed(&mut self, key: &ToLua) -> Option { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 146 | pub fn get_from_registry_typed(&mut self, key: &dyn ToLua) -> Option { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:154:45 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn set_in_registry(&mut self, key: &ToLua, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 154 | pub fn set_in_registry(&mut self, key: &dyn ToLua, value: &ToLua) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:154:60 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn set_in_registry(&mut self, key: &ToLua, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 154 | pub fn set_in_registry(&mut self, key: &ToLua, value: &dyn ToLua) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:211:46 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn return_context(mut self, args: &[&ToLua]) -> 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 211 | pub fn return_context(mut self, args: &[&dyn ToLua]) -> Index { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/table.rs:30:52 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn set(&self, context: &mut Context, key: &ToLua, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | pub fn set(&self, context: &mut Context, key: &dyn ToLua, value: &ToLua) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/table.rs:30:67 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn set(&self, context: &mut Context, key: &ToLua, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | pub fn set(&self, context: &mut Context, key: &ToLua, value: &dyn ToLua) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/table.rs:39:56 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn set_raw(&self, context: &mut Context, key: &ToLua, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | pub fn set_raw(&self, context: &mut Context, key: &dyn ToLua, value: &ToLua) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/table.rs:39:71 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn set_raw(&self, context: &mut Context, key: &ToLua, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | pub fn set_raw(&self, context: &mut Context, key: &ToLua, value: &dyn ToLua) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/table.rs:49:52 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn get(&self, context: &mut Context, key: &ToLua) -> LuaGeneric { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 | pub fn get(&self, context: &mut Context, key: &dyn ToLua) -> LuaGeneric { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/table.rs:58:56 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_raw(&self, context: &mut Context, key: &ToLua) -> LuaGeneric { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_raw(&self, context: &mut Context, key: &dyn ToLua) -> LuaGeneric { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/table.rs:65:70 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn get_typed(&self, context: &mut Context, key: &ToLua) -> Option { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 | pub fn get_typed(&self, context: &mut Context, key: &dyn ToLua) -> Option { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/table.rs:113:57 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn append(&self, context: &mut Context, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 113 | pub fn append(&self, context: &mut Context, value: &dyn ToLua) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/function.rs:56:57 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn pcall(&self, context: &mut Context, args: &[&ToLua], errfunc: Option<&LuaFunction>, [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 | pub fn pcall(&self, context: &mut Context, args: &[&dyn ToLua], errfunc: Option<&LuaFunction>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/function.rs:79:66 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn pcall_multiret(&self, context: &mut Context, args: &[&ToLua], [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 79 | pub fn pcall_multiret(&self, context: &mut Context, args: &[&dyn ToLua], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/function.rs:85:67 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn pcall_singleret(&self, context: &mut Context, args: &[&ToLua], [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 85 | pub fn pcall_singleret(&self, context: &mut Context, args: &[&dyn ToLua], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/function.rs:97:63 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn pcall_noret(&self, context: &mut Context, args: &[&ToLua], [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 97 | pub fn pcall_noret(&self, context: &mut Context, args: &[&dyn ToLua], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/function.rs:110:56 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn call(&self, context: &mut Context, args: &[&ToLua], nresults: i32) -> Vec { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 110 | pub fn call(&self, context: &mut Context, args: &[&dyn ToLua], nresults: i32) -> Vec { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/function.rs:124:66 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn call_singleret(&self, context: &mut Context, args: &[&ToLua]) -> Option { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 124 | pub fn call_singleret(&self, context: &mut Context, args: &[&dyn ToLua]) -> Option { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/function.rs:133:65 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn call_multiret(&self, context: &mut Context, args: &[&ToLua]) -> Vec { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 133 | pub fn call_multiret(&self, context: &mut Context, args: &[&dyn ToLua]) -> Vec { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/function.rs:138:62 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn call_noret(&self, context: &mut Context, args: &[&ToLua]) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 138 | pub fn call_noret(&self, context: &mut Context, args: &[&dyn ToLua]) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:47:32 [INFO] [stdout] | [INFO] [stdout] 47 | fn cause(&self) -> Option<&error::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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.70s [INFO] running `Command { std: "docker" "inspect" "85c0673877e4aa25302845cbf9003bd95744765e671d86441356ecb30f8bc77b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85c0673877e4aa25302845cbf9003bd95744765e671d86441356ecb30f8bc77b", kill_on_drop: false }` [INFO] [stdout] 85c0673877e4aa25302845cbf9003bd95744765e671d86441356ecb30f8bc77b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8cbd7ccd239339c9e483cbbb5fcff510f80d851976858d75254118ad4d1ee494 [INFO] running `Command { std: "docker" "start" "-a" "8cbd7ccd239339c9e483cbbb5fcff510f80d851976858d75254118ad4d1ee494", kill_on_drop: false }` [INFO] [stderr] warning: the item `ptr` is imported redundantly [INFO] [stderr] --> src/context.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 3 | use std::ptr; [INFO] [stderr] | -------- the item `ptr` is already imported here [INFO] [stderr] ... [INFO] [stderr] 17 | use std::ptr; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `lua` is imported redundantly [INFO] [stderr] --> src/error.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use lua; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | pub extern crate lua; [INFO] [stderr] | --------------------- the item `lua` is already imported here [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/context.rs:132:53 [INFO] [stderr] | [INFO] [stderr] 132 | pub fn set_global(&mut self, key: &str, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 132 | pub fn set_global(&mut self, key: &str, value: &dyn ToLua) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/context.rs:138:47 [INFO] [stderr] | [INFO] [stderr] 138 | pub fn get_from_registry(&mut self, key: &ToLua) -> types::LuaGeneric { [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 an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 138 | pub fn get_from_registry(&mut self, key: &dyn ToLua) -> types::LuaGeneric { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/context.rs:146:65 [INFO] [stderr] | [INFO] [stderr] 146 | pub fn get_from_registry_typed(&mut self, key: &ToLua) -> Option { [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 an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 146 | pub fn get_from_registry_typed(&mut self, key: &dyn ToLua) -> Option { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/context.rs:154:45 [INFO] [stderr] | [INFO] [stderr] 154 | pub fn set_in_registry(&mut self, key: &ToLua, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 154 | pub fn set_in_registry(&mut self, key: &dyn ToLua, value: &ToLua) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/context.rs:154:60 [INFO] [stderr] | [INFO] [stderr] 154 | pub fn set_in_registry(&mut self, key: &ToLua, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 154 | pub fn set_in_registry(&mut self, key: &ToLua, value: &dyn ToLua) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/context.rs:211:46 [INFO] [stderr] | [INFO] [stderr] 211 | pub fn return_context(mut self, args: &[&ToLua]) -> 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 an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 211 | pub fn return_context(mut self, args: &[&dyn ToLua]) -> Index { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types/table.rs:30:52 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn set(&self, context: &mut Context, key: &ToLua, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 30 | pub fn set(&self, context: &mut Context, key: &dyn ToLua, value: &ToLua) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types/table.rs:30:67 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn set(&self, context: &mut Context, key: &ToLua, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 30 | pub fn set(&self, context: &mut Context, key: &ToLua, value: &dyn ToLua) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types/table.rs:39:56 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn set_raw(&self, context: &mut Context, key: &ToLua, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 39 | pub fn set_raw(&self, context: &mut Context, key: &dyn ToLua, value: &ToLua) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types/table.rs:39:71 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn set_raw(&self, context: &mut Context, key: &ToLua, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 39 | pub fn set_raw(&self, context: &mut Context, key: &ToLua, value: &dyn ToLua) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types/table.rs:49:52 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn get(&self, context: &mut Context, key: &ToLua) -> LuaGeneric { [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 an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 49 | pub fn get(&self, context: &mut Context, key: &dyn ToLua) -> LuaGeneric { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types/table.rs:58:56 [INFO] [stderr] | [INFO] [stderr] 58 | pub fn get_raw(&self, context: &mut Context, key: &ToLua) -> LuaGeneric { [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 an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 58 | pub fn get_raw(&self, context: &mut Context, key: &dyn ToLua) -> LuaGeneric { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types/table.rs:65:70 [INFO] [stderr] | [INFO] [stderr] 65 | pub fn get_typed(&self, context: &mut Context, key: &ToLua) -> Option { [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 an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 65 | pub fn get_typed(&self, context: &mut Context, key: &dyn ToLua) -> Option { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types/table.rs:113:57 [INFO] [stderr] | [INFO] [stderr] 113 | pub fn append(&self, context: &mut Context, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 113 | pub fn append(&self, context: &mut Context, value: &dyn ToLua) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types/function.rs:56:57 [INFO] [stderr] | [INFO] [stderr] 56 | pub fn pcall(&self, context: &mut Context, args: &[&ToLua], errfunc: Option<&LuaFunction>, [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 an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 56 | pub fn pcall(&self, context: &mut Context, args: &[&dyn ToLua], errfunc: Option<&LuaFunction>, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types/function.rs:79:66 [INFO] [stderr] | [INFO] [stderr] 79 | pub fn pcall_multiret(&self, context: &mut Context, args: &[&ToLua], [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 an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 79 | pub fn pcall_multiret(&self, context: &mut Context, args: &[&dyn ToLua], [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types/function.rs:85:67 [INFO] [stderr] | [INFO] [stderr] 85 | pub fn pcall_singleret(&self, context: &mut Context, args: &[&ToLua], [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 an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 85 | pub fn pcall_singleret(&self, context: &mut Context, args: &[&dyn ToLua], [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types/function.rs:97:63 [INFO] [stderr] | [INFO] [stderr] 97 | pub fn pcall_noret(&self, context: &mut Context, args: &[&ToLua], [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 an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 97 | pub fn pcall_noret(&self, context: &mut Context, args: &[&dyn ToLua], [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types/function.rs:110:56 [INFO] [stderr] | [INFO] [stderr] 110 | pub fn call(&self, context: &mut Context, args: &[&ToLua], nresults: i32) -> Vec { [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 an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 110 | pub fn call(&self, context: &mut Context, args: &[&dyn ToLua], nresults: i32) -> Vec { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types/function.rs:124:66 [INFO] [stderr] | [INFO] [stderr] 124 | pub fn call_singleret(&self, context: &mut Context, args: &[&ToLua]) -> Option { [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 an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 124 | pub fn call_singleret(&self, context: &mut Context, args: &[&dyn ToLua]) -> Option { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types/function.rs:133:65 [INFO] [stderr] | [INFO] [stderr] 133 | pub fn call_multiret(&self, context: &mut Context, args: &[&ToLua]) -> Vec { [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 an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 133 | pub fn call_multiret(&self, context: &mut Context, args: &[&dyn ToLua]) -> Vec { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types/function.rs:138:62 [INFO] [stderr] | [INFO] [stderr] 138 | pub fn call_noret(&self, context: &mut Context, args: &[&ToLua]) { [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 an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 138 | pub fn call_noret(&self, context: &mut Context, args: &[&dyn ToLua]) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:47:32 [INFO] [stderr] | [INFO] [stderr] 47 | fn cause(&self) -> Option<&error::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 an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 47 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `lua53-ext` (lib) generated 25 warnings (run `cargo fix --lib -p lua53-ext` to apply 23 suggestions) [INFO] [stderr] warning: `lua53-ext` (lib test) generated 25 warnings (25 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/luaext-85c68df0ab5de1ea) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test test::test_context_block ... ok [INFO] [stdout] test test::test_function_call ... ok [INFO] [stdout] test test::test_table ... ok [INFO] [stdout] test test::test_global ... ok [INFO] [stdout] test test::test_stack_as_variable ... ok [INFO] [stdout] test test::test_userdata ... ok [INFO] [stdout] test test::test_generic ... ok [INFO] [stdout] Start mean [INFO] [stdout] Start median [INFO] [stdout] End mean [INFO] [stdout] End median [INFO] [stdout] test test::test_thread ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Doc-tests luaext [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/types/generic.rs - types::generic::LuaGeneric (line 11) ... ok [INFO] [stdout] test src/types/function.rs - types::function::LuaFunction (line 13) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.30s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8cbd7ccd239339c9e483cbbb5fcff510f80d851976858d75254118ad4d1ee494", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cbd7ccd239339c9e483cbbb5fcff510f80d851976858d75254118ad4d1ee494", kill_on_drop: false }` [INFO] [stdout] 8cbd7ccd239339c9e483cbbb5fcff510f80d851976858d75254118ad4d1ee494 [INFO] testing lua53-ext-0.1.1 against try#393ef12c970fbc7f294cd96c35cb76f9591bc1d6 for pr-121417-1 [INFO] extracting crate lua53-ext 0.1.1 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate lua53-ext 0.1.1 on toolchain 393ef12c970fbc7f294cd96c35cb76f9591bc1d6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate lua53-ext 0.1.1 [INFO] finished tweaking crates.io crate lua53-ext 0.1.1 [INFO] tweaked toml for crates.io crate lua53-ext 0.1.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5bc018598c0f8803d45198a5810b387497f34e7f3d5c3f5734cc7a4a98ccd6d3 [INFO] running `Command { std: "docker" "start" "-a" "5bc018598c0f8803d45198a5810b387497f34e7f3d5c3f5734cc7a4a98ccd6d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5bc018598c0f8803d45198a5810b387497f34e7f3d5c3f5734cc7a4a98ccd6d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bc018598c0f8803d45198a5810b387497f34e7f3d5c3f5734cc7a4a98ccd6d3", kill_on_drop: false }` [INFO] [stdout] 5bc018598c0f8803d45198a5810b387497f34e7f3d5c3f5734cc7a4a98ccd6d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e743d484bb4d8d2ea721953803a9098cd1424c32d54b54358fd6b4ea7bf7a59e [INFO] running `Command { std: "docker" "start" "-a" "e743d484bb4d8d2ea721953803a9098cd1424c32d54b54358fd6b4ea7bf7a59e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling bitflags v0.1.1 [INFO] [stderr] Compiling lua v0.0.10 [INFO] [stderr] Compiling lua53-ext v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `ptr` is imported redundantly [INFO] [stdout] --> src/context.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ptr; [INFO] [stdout] | -------- the item `ptr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 17 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `lua` is imported redundantly [INFO] [stdout] --> src/error.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use lua; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub extern crate lua; [INFO] [stdout] | --------------------- the item `lua` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:132:53 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn set_global(&mut self, key: &str, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 132 | pub fn set_global(&mut self, key: &str, value: &dyn ToLua) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:138:47 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn get_from_registry(&mut self, key: &ToLua) -> types::LuaGeneric { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 138 | pub fn get_from_registry(&mut self, key: &dyn ToLua) -> types::LuaGeneric { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:146:65 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn get_from_registry_typed(&mut self, key: &ToLua) -> Option { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 146 | pub fn get_from_registry_typed(&mut self, key: &dyn ToLua) -> Option { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:154:45 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn set_in_registry(&mut self, key: &ToLua, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 154 | pub fn set_in_registry(&mut self, key: &dyn ToLua, value: &ToLua) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:154:60 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn set_in_registry(&mut self, key: &ToLua, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 154 | pub fn set_in_registry(&mut self, key: &ToLua, value: &dyn ToLua) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:211:46 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn return_context(mut self, args: &[&ToLua]) -> 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 211 | pub fn return_context(mut self, args: &[&dyn ToLua]) -> Index { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/table.rs:30:52 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn set(&self, context: &mut Context, key: &ToLua, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | pub fn set(&self, context: &mut Context, key: &dyn ToLua, value: &ToLua) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/table.rs:30:67 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn set(&self, context: &mut Context, key: &ToLua, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | pub fn set(&self, context: &mut Context, key: &ToLua, value: &dyn ToLua) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/table.rs:39:56 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn set_raw(&self, context: &mut Context, key: &ToLua, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | pub fn set_raw(&self, context: &mut Context, key: &dyn ToLua, value: &ToLua) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/table.rs:39:71 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn set_raw(&self, context: &mut Context, key: &ToLua, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | pub fn set_raw(&self, context: &mut Context, key: &ToLua, value: &dyn ToLua) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/table.rs:49:52 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn get(&self, context: &mut Context, key: &ToLua) -> LuaGeneric { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 | pub fn get(&self, context: &mut Context, key: &dyn ToLua) -> LuaGeneric { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/table.rs:58:56 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_raw(&self, context: &mut Context, key: &ToLua) -> LuaGeneric { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_raw(&self, context: &mut Context, key: &dyn ToLua) -> LuaGeneric { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/table.rs:65:70 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn get_typed(&self, context: &mut Context, key: &ToLua) -> Option { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 | pub fn get_typed(&self, context: &mut Context, key: &dyn ToLua) -> Option { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/table.rs:113:57 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn append(&self, context: &mut Context, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 113 | pub fn append(&self, context: &mut Context, value: &dyn ToLua) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/function.rs:56:57 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn pcall(&self, context: &mut Context, args: &[&ToLua], errfunc: Option<&LuaFunction>, [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 | pub fn pcall(&self, context: &mut Context, args: &[&dyn ToLua], errfunc: Option<&LuaFunction>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/function.rs:79:66 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn pcall_multiret(&self, context: &mut Context, args: &[&ToLua], [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 79 | pub fn pcall_multiret(&self, context: &mut Context, args: &[&dyn ToLua], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/function.rs:85:67 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn pcall_singleret(&self, context: &mut Context, args: &[&ToLua], [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 85 | pub fn pcall_singleret(&self, context: &mut Context, args: &[&dyn ToLua], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/function.rs:97:63 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn pcall_noret(&self, context: &mut Context, args: &[&ToLua], [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 97 | pub fn pcall_noret(&self, context: &mut Context, args: &[&dyn ToLua], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/function.rs:110:56 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn call(&self, context: &mut Context, args: &[&ToLua], nresults: i32) -> Vec { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 110 | pub fn call(&self, context: &mut Context, args: &[&dyn ToLua], nresults: i32) -> Vec { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/function.rs:124:66 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn call_singleret(&self, context: &mut Context, args: &[&ToLua]) -> Option { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 124 | pub fn call_singleret(&self, context: &mut Context, args: &[&dyn ToLua]) -> Option { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/function.rs:133:65 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn call_multiret(&self, context: &mut Context, args: &[&ToLua]) -> Vec { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 133 | pub fn call_multiret(&self, context: &mut Context, args: &[&dyn ToLua]) -> Vec { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/function.rs:138:62 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn call_noret(&self, context: &mut Context, args: &[&ToLua]) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 138 | pub fn call_noret(&self, context: &mut Context, args: &[&dyn ToLua]) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:47:32 [INFO] [stdout] | [INFO] [stdout] 47 | fn cause(&self) -> Option<&error::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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.47s [INFO] running `Command { std: "docker" "inspect" "e743d484bb4d8d2ea721953803a9098cd1424c32d54b54358fd6b4ea7bf7a59e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e743d484bb4d8d2ea721953803a9098cd1424c32d54b54358fd6b4ea7bf7a59e", kill_on_drop: false }` [INFO] [stdout] e743d484bb4d8d2ea721953803a9098cd1424c32d54b54358fd6b4ea7bf7a59e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9676d75934684eb8acf16ac845f3ac974a080e88e4162a3b6c719f9eb168bf59 [INFO] running `Command { std: "docker" "start" "-a" "9676d75934684eb8acf16ac845f3ac974a080e88e4162a3b6c719f9eb168bf59", kill_on_drop: false }` [INFO] [stderr] Compiling lua53-ext v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `ptr` is imported redundantly [INFO] [stdout] --> src/context.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ptr; [INFO] [stdout] | -------- the item `ptr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 17 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `lua` is imported redundantly [INFO] [stdout] --> src/error.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use lua; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub extern crate lua; [INFO] [stdout] | --------------------- the item `lua` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:132:53 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn set_global(&mut self, key: &str, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 132 | pub fn set_global(&mut self, key: &str, value: &dyn ToLua) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:138:47 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn get_from_registry(&mut self, key: &ToLua) -> types::LuaGeneric { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 138 | pub fn get_from_registry(&mut self, key: &dyn ToLua) -> types::LuaGeneric { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:146:65 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn get_from_registry_typed(&mut self, key: &ToLua) -> Option { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 146 | pub fn get_from_registry_typed(&mut self, key: &dyn ToLua) -> Option { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:154:45 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn set_in_registry(&mut self, key: &ToLua, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 154 | pub fn set_in_registry(&mut self, key: &dyn ToLua, value: &ToLua) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:154:60 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn set_in_registry(&mut self, key: &ToLua, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 154 | pub fn set_in_registry(&mut self, key: &ToLua, value: &dyn ToLua) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:211:46 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn return_context(mut self, args: &[&ToLua]) -> 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 211 | pub fn return_context(mut self, args: &[&dyn ToLua]) -> Index { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/table.rs:30:52 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn set(&self, context: &mut Context, key: &ToLua, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | pub fn set(&self, context: &mut Context, key: &dyn ToLua, value: &ToLua) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/table.rs:30:67 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn set(&self, context: &mut Context, key: &ToLua, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | pub fn set(&self, context: &mut Context, key: &ToLua, value: &dyn ToLua) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/table.rs:39:56 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn set_raw(&self, context: &mut Context, key: &ToLua, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | pub fn set_raw(&self, context: &mut Context, key: &dyn ToLua, value: &ToLua) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/table.rs:39:71 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn set_raw(&self, context: &mut Context, key: &ToLua, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | pub fn set_raw(&self, context: &mut Context, key: &ToLua, value: &dyn ToLua) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/table.rs:49:52 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn get(&self, context: &mut Context, key: &ToLua) -> LuaGeneric { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 | pub fn get(&self, context: &mut Context, key: &dyn ToLua) -> LuaGeneric { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/table.rs:58:56 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_raw(&self, context: &mut Context, key: &ToLua) -> LuaGeneric { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_raw(&self, context: &mut Context, key: &dyn ToLua) -> LuaGeneric { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/table.rs:65:70 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn get_typed(&self, context: &mut Context, key: &ToLua) -> Option { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 | pub fn get_typed(&self, context: &mut Context, key: &dyn ToLua) -> Option { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/table.rs:113:57 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn append(&self, context: &mut Context, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 113 | pub fn append(&self, context: &mut Context, value: &dyn ToLua) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/function.rs:56:57 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn pcall(&self, context: &mut Context, args: &[&ToLua], errfunc: Option<&LuaFunction>, [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 | pub fn pcall(&self, context: &mut Context, args: &[&dyn ToLua], errfunc: Option<&LuaFunction>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/function.rs:79:66 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn pcall_multiret(&self, context: &mut Context, args: &[&ToLua], [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 79 | pub fn pcall_multiret(&self, context: &mut Context, args: &[&dyn ToLua], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/function.rs:85:67 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn pcall_singleret(&self, context: &mut Context, args: &[&ToLua], [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 85 | pub fn pcall_singleret(&self, context: &mut Context, args: &[&dyn ToLua], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/function.rs:97:63 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn pcall_noret(&self, context: &mut Context, args: &[&ToLua], [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 97 | pub fn pcall_noret(&self, context: &mut Context, args: &[&dyn ToLua], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/function.rs:110:56 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn call(&self, context: &mut Context, args: &[&ToLua], nresults: i32) -> Vec { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 110 | pub fn call(&self, context: &mut Context, args: &[&dyn ToLua], nresults: i32) -> Vec { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/function.rs:124:66 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn call_singleret(&self, context: &mut Context, args: &[&ToLua]) -> Option { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 124 | pub fn call_singleret(&self, context: &mut Context, args: &[&dyn ToLua]) -> Option { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/function.rs:133:65 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn call_multiret(&self, context: &mut Context, args: &[&ToLua]) -> Vec { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 133 | pub fn call_multiret(&self, context: &mut Context, args: &[&dyn ToLua]) -> Vec { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/function.rs:138:62 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn call_noret(&self, context: &mut Context, args: &[&ToLua]) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 138 | pub fn call_noret(&self, context: &mut Context, args: &[&dyn ToLua]) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:47:32 [INFO] [stdout] | [INFO] [stdout] 47 | fn cause(&self) -> Option<&error::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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ptr` is imported redundantly [INFO] [stdout] --> src/context.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ptr; [INFO] [stdout] | -------- the item `ptr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 17 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `lua` is imported redundantly [INFO] [stdout] --> src/error.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use lua; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub extern crate lua; [INFO] [stdout] | --------------------- the item `lua` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:132:53 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn set_global(&mut self, key: &str, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 132 | pub fn set_global(&mut self, key: &str, value: &dyn ToLua) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:138:47 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn get_from_registry(&mut self, key: &ToLua) -> types::LuaGeneric { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 138 | pub fn get_from_registry(&mut self, key: &dyn ToLua) -> types::LuaGeneric { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:146:65 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn get_from_registry_typed(&mut self, key: &ToLua) -> Option { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 146 | pub fn get_from_registry_typed(&mut self, key: &dyn ToLua) -> Option { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:154:45 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn set_in_registry(&mut self, key: &ToLua, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 154 | pub fn set_in_registry(&mut self, key: &dyn ToLua, value: &ToLua) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:154:60 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn set_in_registry(&mut self, key: &ToLua, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 154 | pub fn set_in_registry(&mut self, key: &ToLua, value: &dyn ToLua) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:211:46 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn return_context(mut self, args: &[&ToLua]) -> 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 211 | pub fn return_context(mut self, args: &[&dyn ToLua]) -> Index { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/table.rs:30:52 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn set(&self, context: &mut Context, key: &ToLua, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | pub fn set(&self, context: &mut Context, key: &dyn ToLua, value: &ToLua) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/table.rs:30:67 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn set(&self, context: &mut Context, key: &ToLua, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | pub fn set(&self, context: &mut Context, key: &ToLua, value: &dyn ToLua) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/table.rs:39:56 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn set_raw(&self, context: &mut Context, key: &ToLua, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | pub fn set_raw(&self, context: &mut Context, key: &dyn ToLua, value: &ToLua) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/table.rs:39:71 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn set_raw(&self, context: &mut Context, key: &ToLua, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | pub fn set_raw(&self, context: &mut Context, key: &ToLua, value: &dyn ToLua) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/table.rs:49:52 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn get(&self, context: &mut Context, key: &ToLua) -> LuaGeneric { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 | pub fn get(&self, context: &mut Context, key: &dyn ToLua) -> LuaGeneric { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/table.rs:58:56 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_raw(&self, context: &mut Context, key: &ToLua) -> LuaGeneric { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_raw(&self, context: &mut Context, key: &dyn ToLua) -> LuaGeneric { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/table.rs:65:70 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn get_typed(&self, context: &mut Context, key: &ToLua) -> Option { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 | pub fn get_typed(&self, context: &mut Context, key: &dyn ToLua) -> Option { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/table.rs:113:57 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn append(&self, context: &mut Context, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 113 | pub fn append(&self, context: &mut Context, value: &dyn ToLua) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/function.rs:56:57 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn pcall(&self, context: &mut Context, args: &[&ToLua], errfunc: Option<&LuaFunction>, [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 | pub fn pcall(&self, context: &mut Context, args: &[&dyn ToLua], errfunc: Option<&LuaFunction>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/function.rs:79:66 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn pcall_multiret(&self, context: &mut Context, args: &[&ToLua], [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 79 | pub fn pcall_multiret(&self, context: &mut Context, args: &[&dyn ToLua], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/function.rs:85:67 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn pcall_singleret(&self, context: &mut Context, args: &[&ToLua], [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 85 | pub fn pcall_singleret(&self, context: &mut Context, args: &[&dyn ToLua], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/function.rs:97:63 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn pcall_noret(&self, context: &mut Context, args: &[&ToLua], [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 97 | pub fn pcall_noret(&self, context: &mut Context, args: &[&dyn ToLua], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/function.rs:110:56 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn call(&self, context: &mut Context, args: &[&ToLua], nresults: i32) -> Vec { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 110 | pub fn call(&self, context: &mut Context, args: &[&dyn ToLua], nresults: i32) -> Vec { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/function.rs:124:66 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn call_singleret(&self, context: &mut Context, args: &[&ToLua]) -> Option { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 124 | pub fn call_singleret(&self, context: &mut Context, args: &[&dyn ToLua]) -> Option { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/function.rs:133:65 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn call_multiret(&self, context: &mut Context, args: &[&ToLua]) -> Vec { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 133 | pub fn call_multiret(&self, context: &mut Context, args: &[&dyn ToLua]) -> Vec { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types/function.rs:138:62 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn call_noret(&self, context: &mut Context, args: &[&ToLua]) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 138 | pub fn call_noret(&self, context: &mut Context, args: &[&dyn ToLua]) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:47:32 [INFO] [stdout] | [INFO] [stdout] 47 | fn cause(&self) -> Option<&error::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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.56s [INFO] running `Command { std: "docker" "inspect" "9676d75934684eb8acf16ac845f3ac974a080e88e4162a3b6c719f9eb168bf59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9676d75934684eb8acf16ac845f3ac974a080e88e4162a3b6c719f9eb168bf59", kill_on_drop: false }` [INFO] [stdout] 9676d75934684eb8acf16ac845f3ac974a080e88e4162a3b6c719f9eb168bf59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6c8e54ef60b596468c61637157ca32e8c2fc6b04ea2d077d44c8c5760d10321d [INFO] running `Command { std: "docker" "start" "-a" "6c8e54ef60b596468c61637157ca32e8c2fc6b04ea2d077d44c8c5760d10321d", kill_on_drop: false }` [INFO] [stderr] warning: the item `ptr` is imported redundantly [INFO] [stderr] --> src/context.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 3 | use std::ptr; [INFO] [stderr] | -------- the item `ptr` is already imported here [INFO] [stderr] ... [INFO] [stderr] 17 | use std::ptr; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `lua` is imported redundantly [INFO] [stderr] --> src/error.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use lua; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | pub extern crate lua; [INFO] [stderr] | --------------------- the item `lua` is already imported here [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/context.rs:132:53 [INFO] [stderr] | [INFO] [stderr] 132 | pub fn set_global(&mut self, key: &str, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 132 | pub fn set_global(&mut self, key: &str, value: &dyn ToLua) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/context.rs:138:47 [INFO] [stderr] | [INFO] [stderr] 138 | pub fn get_from_registry(&mut self, key: &ToLua) -> types::LuaGeneric { [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 an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 138 | pub fn get_from_registry(&mut self, key: &dyn ToLua) -> types::LuaGeneric { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] running 8 tests [INFO] [stderr] --> src/context.rs:146:65 [INFO] [stderr] | [INFO] [stderr] 146 | pub fn get_from_registry_typed(&mut self, key: &ToLua) -> Option { [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 an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 146 | pub fn get_from_registry_typed(&mut self, key: &dyn ToLua) -> Option { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/context.rs:154:45 [INFO] [stderr] | [INFO] [stderr] 154 | pub fn set_in_registry(&mut self, key: &ToLua, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 154 | pub fn set_in_registry(&mut self, key: &dyn ToLua, value: &ToLua) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/context.rs:154:60 [INFO] [stderr] | [INFO] [stderr] 154 | pub fn set_in_registry(&mut self, key: &ToLua, value: &ToLua) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stdout] test test::test_table ... ok [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] test test::test_global ... ok [INFO] [stderr] = note: for more information, see [INFO] [stdout] test test::test_context_block ... ok [INFO] [stderr] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] test test::test_function_call ... ok [INFO] [stderr] | [INFO] [stdout] test test::test_stack_as_variable ... ok [INFO] [stderr] 154 | pub fn set_in_registry(&mut self, key: &ToLua, value: &dyn ToLua) { [INFO] [stdout] test test::test_userdata ... ok [INFO] [stderr] | +++ [INFO] [stdout] test test::test_generic ... ok [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/context.rs:211:46 [INFO] [stderr] | [INFO] [stderr] 211 | pub fn return_context(mut self, args: &[&ToLua]) -> 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 an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 211 | pub fn return_context(mut self, args: &[&dyn ToLua]) -> Index { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types/table.rs:30:52 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn set(&self, context: &mut Context, key: &ToLua, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 30 | pub fn set(&self, context: &mut Context, key: &dyn ToLua, value: &ToLua) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types/table.rs:30:67 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn set(&self, context: &mut Context, key: &ToLua, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 30 | pub fn set(&self, context: &mut Context, key: &ToLua, value: &dyn ToLua) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types/table.rs:39:56 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn set_raw(&self, context: &mut Context, key: &ToLua, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 39 | pub fn set_raw(&self, context: &mut Context, key: &dyn ToLua, value: &ToLua) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types/table.rs:39:71 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn set_raw(&self, context: &mut Context, key: &ToLua, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 39 | pub fn set_raw(&self, context: &mut Context, key: &ToLua, value: &dyn ToLua) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types/table.rs:49:52 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn get(&self, context: &mut Context, key: &ToLua) -> LuaGeneric { [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 an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 49 | pub fn get(&self, context: &mut Context, key: &dyn ToLua) -> LuaGeneric { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types/table.rs:58:56 [INFO] [stderr] | [INFO] [stderr] 58 | pub fn get_raw(&self, context: &mut Context, key: &ToLua) -> LuaGeneric { [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 an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 58 | pub fn get_raw(&self, context: &mut Context, key: &dyn ToLua) -> LuaGeneric { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types/table.rs:65:70 [INFO] [stderr] | [INFO] [stderr] 65 | pub fn get_typed(&self, context: &mut Context, key: &ToLua) -> Option { [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 an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 65 | pub fn get_typed(&self, context: &mut Context, key: &dyn ToLua) -> Option { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types/table.rs:113:57 [INFO] [stderr] | [INFO] [stderr] 113 | pub fn append(&self, context: &mut Context, value: &ToLua) { [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 an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 113 | pub fn append(&self, context: &mut Context, value: &dyn ToLua) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types/function.rs:56:57 [INFO] [stderr] | [INFO] [stderr] 56 | pub fn pcall(&self, context: &mut Context, args: &[&ToLua], errfunc: Option<&LuaFunction>, [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 an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 56 | pub fn pcall(&self, context: &mut Context, args: &[&dyn ToLua], errfunc: Option<&LuaFunction>, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types/function.rs:79:66 [INFO] [stderr] | [INFO] [stderr] 79 | pub fn pcall_multiret(&self, context: &mut Context, args: &[&ToLua], [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 an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 79 | pub fn pcall_multiret(&self, context: &mut Context, args: &[&dyn ToLua], [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types/function.rs:85:67 [INFO] [stderr] | [INFO] [stderr] 85 | pub fn pcall_singleret(&self, context: &mut Context, args: &[&ToLua], [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 an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 85 | pub fn pcall_singleret(&self, context: &mut Context, args: &[&dyn ToLua], [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types/function.rs:97:63 [INFO] [stderr] | [INFO] [stderr] 97 | pub fn pcall_noret(&self, context: &mut Context, args: &[&ToLua], [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 an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 97 | pub fn pcall_noret(&self, context: &mut Context, args: &[&dyn ToLua], [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types/function.rs:110:56 [INFO] [stderr] | [INFO] [stderr] 110 | pub fn call(&self, context: &mut Context, args: &[&ToLua], nresults: i32) -> Vec { [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 an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 110 | pub fn call(&self, context: &mut Context, args: &[&dyn ToLua], nresults: i32) -> Vec { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types/function.rs:124:66 [INFO] [stderr] | [INFO] [stderr] 124 | pub fn call_singleret(&self, context: &mut Context, args: &[&ToLua]) -> Option { [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 an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 124 | pub fn call_singleret(&self, context: &mut Context, args: &[&dyn ToLua]) -> Option { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types/function.rs:133:65 [INFO] [stderr] | [INFO] [stderr] 133 | pub fn call_multiret(&self, context: &mut Context, args: &[&ToLua]) -> Vec { [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 an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 133 | pub fn call_multiret(&self, context: &mut Context, args: &[&dyn ToLua]) -> Vec { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types/function.rs:138:62 [INFO] [stderr] | [INFO] [stderr] 138 | pub fn call_noret(&self, context: &mut Context, args: &[&ToLua]) { [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 an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 138 | pub fn call_noret(&self, context: &mut Context, args: &[&dyn ToLua]) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:47:32 [INFO] [stderr] | [INFO] [stderr] 47 | fn cause(&self) -> Option<&error::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 an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 47 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `lua53-ext` (lib) generated 25 warnings (run `cargo fix --lib -p lua53-ext` to apply 23 suggestions) [INFO] [stderr] warning: `lua53-ext` (lib test) generated 25 warnings (25 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/luaext-85c68df0ab5de1ea) [INFO] [stdout] Start mean [INFO] [stdout] Start median [INFO] [stdout] End mean [INFO] [stdout] test test::test_thread has been running for over 60 seconds [ERROR] error running command: no output for 300 seconds [INFO] running `Command { std: "docker" "inspect" "6c8e54ef60b596468c61637157ca32e8c2fc6b04ea2d077d44c8c5760d10321d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c8e54ef60b596468c61637157ca32e8c2fc6b04ea2d077d44c8c5760d10321d", kill_on_drop: false }` [INFO] [stdout] 6c8e54ef60b596468c61637157ca32e8c2fc6b04ea2d077d44c8c5760d10321d