[INFO] fetching crate aw 0.1.0...
[INFO] checking aw-0.1.0 against master#b0696a5160711c068cb1f01b7437db7990d15750 for pr-121848
[INFO] extracting crate aw 0.1.0 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate aw 0.1.0 on toolchain b0696a5160711c068cb1f01b7437db7990d15750
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate aw 0.1.0
[INFO] finished tweaking crates.io crate aw 0.1.0
[INFO] tweaked toml for crates.io crate aw 0.1.0 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" "+b0696a5160711c068cb1f01b7437db7990d15750" "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" "+b0696a5160711c068cb1f01b7437db7990d15750" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded td_clua v0.1.3
[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" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5ccf0ad2fd79ad2b71fc70df174a62cb523f358162ff36ed3937f4e861264b6d
[INFO] running `Command { std: "docker" "start" "-a" "5ccf0ad2fd79ad2b71fc70df174a62cb523f358162ff36ed3937f4e861264b6d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5ccf0ad2fd79ad2b71fc70df174a62cb523f358162ff36ed3937f4e861264b6d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5ccf0ad2fd79ad2b71fc70df174a62cb523f358162ff36ed3937f4e861264b6d", kill_on_drop: false }`
[INFO] [stdout] 5ccf0ad2fd79ad2b71fc70df174a62cb523f358162ff36ed3937f4e861264b6d
[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" "+b0696a5160711c068cb1f01b7437db7990d15750" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7c66d50627ff79f4597fc37e87b7274961b7868c69156446b084cc3d684abd6f
[INFO] running `Command { std: "docker" "start" "-a" "7c66d50627ff79f4597fc37e87b7274961b7868c69156446b084cc3d684abd6f", kill_on_drop: false }`
[INFO] [stderr]    Compiling gcc v0.3.55
[INFO] [stderr]    Compiling td_clua v0.1.3
[INFO] [stderr]     Checking aw v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]  --> src/functions.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use libc;
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/lib.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate libc;
[INFO] [stdout]   | ------------------ the item `libc` is already imported here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `td_clua` is imported redundantly
[INFO] [stdout]  --> src/functions.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use td_clua::{self, lua_State};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/lib.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate td_clua;
[INFO] [stdout]   | --------------------- the item `td_clua` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]  --> src/lua_tables.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use libc;
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/lib.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate libc;
[INFO] [stdout]   | ------------------ the item `libc` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `td_clua` is imported redundantly
[INFO] [stdout]  --> src/lua_tables.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | use td_clua::{self, lua_State};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/lib.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate td_clua;
[INFO] [stdout]   | --------------------- the item `td_clua` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `td_clua` is imported redundantly
[INFO] [stdout]  --> src/rust_tables.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use td_clua;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/lib.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate td_clua;
[INFO] [stdout]   | --------------------- the item `td_clua` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `td_clua` is imported redundantly
[INFO] [stdout]  --> src/tuples.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use td_clua;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/lib.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate td_clua;
[INFO] [stdout]   | --------------------- the item `td_clua` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Box` is imported redundantly
[INFO] [stdout]  --> src/userdata.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::boxed::Box;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/b0696a5160711c068cb1f01b7437db7990d15750/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Box` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]  --> src/userdata.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use libc;
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/lib.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate libc;
[INFO] [stdout]   | ------------------ the item `libc` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `td_clua` is imported redundantly
[INFO] [stdout]  --> src/userdata.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use td_clua;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/lib.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate td_clua;
[INFO] [stdout]   | --------------------- the item `td_clua` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]  --> src/values.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use libc;
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/lib.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate libc;
[INFO] [stdout]   | ------------------ the item `libc` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `td_clua` is imported redundantly
[INFO] [stdout]  --> src/values.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use td_clua;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/lib.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate td_clua;
[INFO] [stdout]   | --------------------- the item `td_clua` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]  --> src/functions.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use libc;
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/lib.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate libc;
[INFO] [stdout]   | ------------------ the item `libc` is already imported here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `td_clua` is imported redundantly
[INFO] [stdout]  --> src/functions.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use td_clua::{self, lua_State};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/lib.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate td_clua;
[INFO] [stdout]   | --------------------- the item `td_clua` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]  --> src/lua_tables.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use libc;
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/lib.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate libc;
[INFO] [stdout]   | ------------------ the item `libc` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `td_clua` is imported redundantly
[INFO] [stdout]  --> src/lua_tables.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | use td_clua::{self, lua_State};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/lib.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate td_clua;
[INFO] [stdout]   | --------------------- the item `td_clua` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `td_clua` is imported redundantly
[INFO] [stdout]  --> src/rust_tables.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use td_clua;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/lib.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate td_clua;
[INFO] [stdout]   | --------------------- the item `td_clua` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `td_clua` is imported redundantly
[INFO] [stdout]  --> src/tuples.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use td_clua;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/lib.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate td_clua;
[INFO] [stdout]   | --------------------- the item `td_clua` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Box` is imported redundantly
[INFO] [stdout]  --> src/userdata.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::boxed::Box;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/b0696a5160711c068cb1f01b7437db7990d15750/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Box` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]  --> src/userdata.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use libc;
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/lib.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate libc;
[INFO] [stdout]   | ------------------ the item `libc` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `td_clua` is imported redundantly
[INFO] [stdout]  --> src/userdata.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use td_clua;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/lib.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate td_clua;
[INFO] [stdout]   | --------------------- the item `td_clua` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]  --> src/values.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use libc;
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/lib.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate libc;
[INFO] [stdout]   | ------------------ the item `libc` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `td_clua` is imported redundantly
[INFO] [stdout]  --> src/values.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use td_clua;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/lib.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate td_clua;
[INFO] [stdout]   | --------------------- the item `td_clua` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/userdata.rs:222:44
[INFO] [stdout]     |
[INFO] [stdout] 222 |         match lua.query::<LuaTable, _>(name.clone()) {
[INFO] [stdout]     |                                            ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/userdata.rs:282:64
[INFO] [stdout]     |
[INFO] [stdout] 282 |         if let Some(mut table) = lua.query::<LuaTable, _>(tname.clone()) {
[INFO] [stdout]     |                                                                ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/userdata.rs:303:64
[INFO] [stdout]     |
[INFO] [stdout] 303 |         if let Some(mut table) = lua.query::<LuaTable, _>(tname.clone()) {
[INFO] [stdout]     |                                                                ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/userdata.rs:222:44
[INFO] [stdout]     |
[INFO] [stdout] 222 |         match lua.query::<LuaTable, _>(name.clone()) {
[INFO] [stdout]     |                                            ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/userdata.rs:282:64
[INFO] [stdout]     |
[INFO] [stdout] 282 |         if let Some(mut table) = lua.query::<LuaTable, _>(tname.clone()) {
[INFO] [stdout]     |                                                                ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/userdata.rs:303:64
[INFO] [stdout]     |
[INFO] [stdout] 303 |         if let Some(mut table) = lua.query::<LuaTable, _>(tname.clone()) {
[INFO] [stdout]     |                                                                ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 14 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 14 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> tests/userdata.rs:135:6
[INFO] [stdout]     |
[INFO] [stdout] 135 |     };
[INFO] [stdout]     |      ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> tests/lua_tables.rs:95:10
[INFO] [stdout]    |
[INFO] [stdout] 95 |         };
[INFO] [stdout]    |          ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> tests/userdata.rs:197:6
[INFO] [stdout]     |
[INFO] [stdout] 197 |     };
[INFO] [stdout]     |      ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> tests/userdata.rs:200:6
[INFO] [stdout]     |
[INFO] [stdout] 200 |     };
[INFO] [stdout]     |      ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> tests/functions.rs:45:6
[INFO] [stdout]    |
[INFO] [stdout] 45 |     };
[INFO] [stdout]    |      ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> tests/functions.rs:58:6
[INFO] [stdout]    |
[INFO] [stdout] 58 |     };
[INFO] [stdout]    |      ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> tests/functions.rs:71:6
[INFO] [stdout]    |
[INFO] [stdout] 71 |     };
[INFO] [stdout]    |      ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> tests/functions.rs:84:6
[INFO] [stdout]    |
[INFO] [stdout] 84 |     };
[INFO] [stdout]    |      ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> tests/userdata.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | /     impl<'a> LuaRead for &'a mut Foo {
[INFO] [stdout] 19 | |         fn lua_read_with_pop(lua: *mut lua_State, index: i32, _pop: i32) -> Option<&'a mut Foo> {
[INFO] [stdout] 20 | |             aw::userdata::read_userdata(lua, index)
[INFO] [stdout] 21 | |         }
[INFO] [stdout] 22 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current function `readwrite`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> tests/userdata.rs:76:5
[INFO] [stdout]    |
[INFO] [stdout] 76 | /     impl<'a> LuaRead for &'a mut Foo {
[INFO] [stdout] 77 | |         fn lua_read_with_pop(lua: *mut lua_State, index: i32, _pop: i32) -> Option<&'a mut Foo> {
[INFO] [stdout] 78 | |             aw::userdata::read_userdata(lua, index)
[INFO] [stdout] 79 | |         }
[INFO] [stdout] 80 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current function `type_check`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> tests/userdata.rs:89:5
[INFO] [stdout]    |
[INFO] [stdout] 89 | /     impl<'a> LuaRead for &'a mut Bar {
[INFO] [stdout] 90 | |         fn lua_read_with_pop(lua: *mut lua_State, index: i32, _pop: i32) -> Option<&'a mut Bar> {
[INFO] [stdout] 91 | |             aw::userdata::read_userdata(lua, index)
[INFO] [stdout] 92 | |         }
[INFO] [stdout] 93 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current function `type_check`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> tests/userdata.rs:142:5
[INFO] [stdout]     |
[INFO] [stdout] 142 | /     impl<'a> aw::LuaRead for &'a mut Foo {
[INFO] [stdout] 143 | |         fn lua_read_with_pop(lua: *mut lua_State, index: i32, _pop: i32) -> Option<&'a mut Foo> {
[INFO] [stdout] 144 | |             aw::userdata::read_userdata(lua, index)
[INFO] [stdout] 145 | |         }
[INFO] [stdout] 146 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `get_set_test`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> tests/userdata.rs:182:5
[INFO] [stdout]     |
[INFO] [stdout] 182 | /     impl<'a> LuaRead for &'a mut TestLuaSturct {
[INFO] [stdout] 183 | |         fn lua_read_with_pop(
[INFO] [stdout] 184 | |             lua: *mut lua_State,
[INFO] [stdout] 185 | |             index: i32,
[INFO] [stdout] ...   |
[INFO] [stdout] 189 | |         }
[INFO] [stdout] 190 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `custom_struct`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.54s
[INFO] running `Command { std: "docker" "inspect" "7c66d50627ff79f4597fc37e87b7274961b7868c69156446b084cc3d684abd6f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7c66d50627ff79f4597fc37e87b7274961b7868c69156446b084cc3d684abd6f", kill_on_drop: false }`
[INFO] [stdout] 7c66d50627ff79f4597fc37e87b7274961b7868c69156446b084cc3d684abd6f
[INFO] checking aw-0.1.0 against try#bfe97fcae016881ad333f0ff8cea2cadb9cf136c for pr-121848
[INFO] extracting crate aw 0.1.0 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate aw 0.1.0 on toolchain bfe97fcae016881ad333f0ff8cea2cadb9cf136c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate aw 0.1.0
[INFO] finished tweaking crates.io crate aw 0.1.0
[INFO] tweaked toml for crates.io crate aw 0.1.0 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" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "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" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "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" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2ad3380ed811e36d22ca3e43c8832781d05de2500b00ff7a77861f75dac06c2f
[INFO] running `Command { std: "docker" "start" "-a" "2ad3380ed811e36d22ca3e43c8832781d05de2500b00ff7a77861f75dac06c2f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2ad3380ed811e36d22ca3e43c8832781d05de2500b00ff7a77861f75dac06c2f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2ad3380ed811e36d22ca3e43c8832781d05de2500b00ff7a77861f75dac06c2f", kill_on_drop: false }`
[INFO] [stdout] 2ad3380ed811e36d22ca3e43c8832781d05de2500b00ff7a77861f75dac06c2f
[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" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a9c23adf11ace1232babd77e8a95b713e82708acbaddafacbc08d75a8a4530ed
[INFO] running `Command { std: "docker" "start" "-a" "a9c23adf11ace1232babd77e8a95b713e82708acbaddafacbc08d75a8a4530ed", kill_on_drop: false }`
[INFO] [stderr]    Compiling gcc v0.3.55
[INFO] [stderr]    Compiling td_clua v0.1.3
[INFO] [stderr]     Checking aw v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]  --> src/functions.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use libc;
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/lib.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate libc;
[INFO] [stdout]   | ------------------ the item `libc` is already imported here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `td_clua` is imported redundantly
[INFO] [stdout]  --> src/functions.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use td_clua::{self, lua_State};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/lib.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate td_clua;
[INFO] [stdout]   | --------------------- the item `td_clua` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]  --> src/lua_tables.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use libc;
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/lib.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate libc;
[INFO] [stdout]   | ------------------ the item `libc` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `td_clua` is imported redundantly
[INFO] [stdout]  --> src/lua_tables.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | use td_clua::{self, lua_State};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/lib.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate td_clua;
[INFO] [stdout]   | --------------------- the item `td_clua` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `td_clua` is imported redundantly
[INFO] [stdout]  --> src/rust_tables.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use td_clua;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/lib.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate td_clua;
[INFO] [stdout]   | --------------------- the item `td_clua` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `td_clua` is imported redundantly
[INFO] [stdout]  --> src/tuples.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use td_clua;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/lib.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate td_clua;
[INFO] [stdout]   | --------------------- the item `td_clua` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Box` is imported redundantly
[INFO] [stdout]  --> src/userdata.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::boxed::Box;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/bfe97fcae016881ad333f0ff8cea2cadb9cf136c/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Box` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]  --> src/userdata.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use libc;
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/lib.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate libc;
[INFO] [stdout]   | ------------------ the item `libc` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `td_clua` is imported redundantly
[INFO] [stdout]  --> src/userdata.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use td_clua;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/lib.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate td_clua;
[INFO] [stdout]   | --------------------- the item `td_clua` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]  --> src/values.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use libc;
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/lib.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate libc;
[INFO] [stdout]   | ------------------ the item `libc` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `td_clua` is imported redundantly
[INFO] [stdout]  --> src/values.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use td_clua;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/lib.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate td_clua;
[INFO] [stdout]   | --------------------- the item `td_clua` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]  --> src/functions.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use libc;
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/lib.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate libc;
[INFO] [stdout]   | ------------------ the item `libc` is already imported here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `td_clua` is imported redundantly
[INFO] [stdout]  --> src/functions.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use td_clua::{self, lua_State};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/lib.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate td_clua;
[INFO] [stdout]   | --------------------- the item `td_clua` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]  --> src/lua_tables.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use libc;
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/lib.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate libc;
[INFO] [stdout]   | ------------------ the item `libc` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `td_clua` is imported redundantly
[INFO] [stdout]  --> src/lua_tables.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | use td_clua::{self, lua_State};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/lib.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate td_clua;
[INFO] [stdout]   | --------------------- the item `td_clua` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `td_clua` is imported redundantly
[INFO] [stdout]  --> src/rust_tables.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use td_clua;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/lib.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate td_clua;
[INFO] [stdout]   | --------------------- the item `td_clua` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `td_clua` is imported redundantly
[INFO] [stdout]  --> src/tuples.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use td_clua;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/lib.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate td_clua;
[INFO] [stdout]   | --------------------- the item `td_clua` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Box` is imported redundantly
[INFO] [stdout]  --> src/userdata.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::boxed::Box;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/bfe97fcae016881ad333f0ff8cea2cadb9cf136c/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Box` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]  --> src/userdata.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use libc;
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/lib.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate libc;
[INFO] [stdout]   | ------------------ the item `libc` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `td_clua` is imported redundantly
[INFO] [stdout]  --> src/userdata.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use td_clua;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/lib.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate td_clua;
[INFO] [stdout]   | --------------------- the item `td_clua` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]  --> src/values.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use libc;
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/lib.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate libc;
[INFO] [stdout]   | ------------------ the item `libc` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `td_clua` is imported redundantly
[INFO] [stdout]  --> src/values.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use td_clua;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/lib.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate td_clua;
[INFO] [stdout]   | --------------------- the item `td_clua` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/userdata.rs:222:44
[INFO] [stdout]     |
[INFO] [stdout] 222 |         match lua.query::<LuaTable, _>(name.clone()) {
[INFO] [stdout]     |                                            ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/userdata.rs:282:64
[INFO] [stdout]     |
[INFO] [stdout] 282 |         if let Some(mut table) = lua.query::<LuaTable, _>(tname.clone()) {
[INFO] [stdout]     |                                                                ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/userdata.rs:303:64
[INFO] [stdout]     |
[INFO] [stdout] 303 |         if let Some(mut table) = lua.query::<LuaTable, _>(tname.clone()) {
[INFO] [stdout]     |                                                                ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/userdata.rs:222:44
[INFO] [stdout]     |
[INFO] [stdout] 222 |         match lua.query::<LuaTable, _>(name.clone()) {
[INFO] [stdout]     |                                            ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/userdata.rs:282:64
[INFO] [stdout]     |
[INFO] [stdout] 282 |         if let Some(mut table) = lua.query::<LuaTable, _>(tname.clone()) {
[INFO] [stdout]     |                                                                ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/userdata.rs:303:64
[INFO] [stdout]     |
[INFO] [stdout] 303 |         if let Some(mut table) = lua.query::<LuaTable, _>(tname.clone()) {
[INFO] [stdout]     |                                                                ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 14 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 14 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> tests/userdata.rs:135:6
[INFO] [stdout]     |
[INFO] [stdout] 135 |     };
[INFO] [stdout]     |      ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> tests/lua_tables.rs:95:10
[INFO] [stdout]    |
[INFO] [stdout] 95 |         };
[INFO] [stdout]    |          ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> tests/userdata.rs:197:6
[INFO] [stdout]     |
[INFO] [stdout] 197 |     };
[INFO] [stdout]     |      ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> tests/userdata.rs:200:6
[INFO] [stdout]     |
[INFO] [stdout] 200 |     };
[INFO] [stdout]     |      ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> tests/functions.rs:45:6
[INFO] [stdout]    |
[INFO] [stdout] 45 |     };
[INFO] [stdout]    |      ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> tests/functions.rs:58:6
[INFO] [stdout]    |
[INFO] [stdout] 58 |     };
[INFO] [stdout]    |      ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> tests/functions.rs:71:6
[INFO] [stdout]    |
[INFO] [stdout] 71 |     };
[INFO] [stdout]    |      ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> tests/functions.rs:84:6
[INFO] [stdout]    |
[INFO] [stdout] 84 |     };
[INFO] [stdout]    |      ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> tests/userdata.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | /     impl<'a> LuaRead for &'a mut Foo {
[INFO] [stdout] 19 | |         fn lua_read_with_pop(lua: *mut lua_State, index: i32, _pop: i32) -> Option<&'a mut Foo> {
[INFO] [stdout] 20 | |             aw::userdata::read_userdata(lua, index)
[INFO] [stdout] 21 | |         }
[INFO] [stdout] 22 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current function `readwrite`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> tests/userdata.rs:76:5
[INFO] [stdout]    |
[INFO] [stdout] 76 | /     impl<'a> LuaRead for &'a mut Foo {
[INFO] [stdout] 77 | |         fn lua_read_with_pop(lua: *mut lua_State, index: i32, _pop: i32) -> Option<&'a mut Foo> {
[INFO] [stdout] 78 | |             aw::userdata::read_userdata(lua, index)
[INFO] [stdout] 79 | |         }
[INFO] [stdout] 80 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current function `type_check`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> tests/userdata.rs:89:5
[INFO] [stdout]    |
[INFO] [stdout] 89 | /     impl<'a> LuaRead for &'a mut Bar {
[INFO] [stdout] 90 | |         fn lua_read_with_pop(lua: *mut lua_State, index: i32, _pop: i32) -> Option<&'a mut Bar> {
[INFO] [stdout] 91 | |             aw::userdata::read_userdata(lua, index)
[INFO] [stdout] 92 | |         }
[INFO] [stdout] 93 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current function `type_check`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> tests/userdata.rs:142:5
[INFO] [stdout]     |
[INFO] [stdout] 142 | /     impl<'a> aw::LuaRead for &'a mut Foo {
[INFO] [stdout] 143 | |         fn lua_read_with_pop(lua: *mut lua_State, index: i32, _pop: i32) -> Option<&'a mut Foo> {
[INFO] [stdout] 144 | |             aw::userdata::read_userdata(lua, index)
[INFO] [stdout] 145 | |         }
[INFO] [stdout] 146 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `get_set_test`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> tests/userdata.rs:182:5
[INFO] [stdout]     |
[INFO] [stdout] 182 | /     impl<'a> LuaRead for &'a mut TestLuaSturct {
[INFO] [stdout] 183 | |         fn lua_read_with_pop(
[INFO] [stdout] 184 | |             lua: *mut lua_State,
[INFO] [stdout] 185 | |             index: i32,
[INFO] [stdout] ...   |
[INFO] [stdout] 189 | |         }
[INFO] [stdout] 190 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `custom_struct`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.55s
[INFO] running `Command { std: "docker" "inspect" "a9c23adf11ace1232babd77e8a95b713e82708acbaddafacbc08d75a8a4530ed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a9c23adf11ace1232babd77e8a95b713e82708acbaddafacbc08d75a8a4530ed", kill_on_drop: false }`
[INFO] [stdout] a9c23adf11ace1232babd77e8a95b713e82708acbaddafacbc08d75a8a4530ed
