[INFO] cloning repository https://github.com/jfrikker/minebot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jfrikker/minebot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjfrikker%2Fminebot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjfrikker%2Fminebot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4c099979f403c061621d79f8e7adbafee96e5170 [INFO] testing jfrikker/minebot against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjfrikker%2Fminebot" "/workspace/builds/worker-43/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-43/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jfrikker/minebot on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-43/source/.cargo/config [INFO] started tweaking git repo https://github.com/jfrikker/minebot [INFO] finished tweaking git repo https://github.com/jfrikker/minebot [INFO] tweaked toml for git repo https://github.com/jfrikker/minebot written to /workspace/builds/worker-43/source/Cargo.toml [INFO] crate git repo https://github.com/jfrikker/minebot already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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 termcolor v0.3.6 [INFO] [stderr] Downloaded pathfinding v1.1.12 [INFO] [stderr] Downloaded itertools v0.8.0 [INFO] [stderr] Downloaded uuid v0.7.4 [INFO] [stderr] Downloaded fixedbitset v0.1.9 [INFO] [stderr] Downloaded indexmap v1.0.2 [INFO] [stderr] Downloaded syn v0.12.15 [INFO] [stderr] Downloaded divrem v0.1.0 [INFO] [stderr] Downloaded json v0.11.14 [INFO] [stderr] Downloaded ucd-util v0.1.5 [INFO] [stderr] Downloaded proc-macro2 v0.2.3 [INFO] [stderr] Downloaded quote v0.4.2 [INFO] [stderr] Downloaded regex v1.2.0 [INFO] [stderr] Downloaded bytes v0.4.12 [INFO] [stderr] Downloaded either v1.5.2 [INFO] [stderr] Downloaded chrono v0.4.7 [INFO] [stderr] Downloaded num-traits v0.2.8 [INFO] [stderr] Downloaded aho-corasick v0.7.4 [INFO] [stderr] Downloaded time v0.1.42 [INFO] [stderr] Downloaded stderrlog v0.4.1 [INFO] [stderr] Downloaded num-integer v0.1.41 [INFO] [stderr] Downloaded wincolor v0.1.6 [INFO] [stderr] Downloaded cpython v0.2.1 [INFO] [stderr] Downloaded memchr v2.2.1 [INFO] [stderr] Downloaded regex-syntax v0.6.10 [INFO] [stderr] Downloaded darling v0.3.2 [INFO] [stderr] Downloaded python27-sys v0.2.1 [INFO] [stderr] Downloaded darling_macro v0.3.2 [INFO] [stderr] Downloaded utf8-ranges v1.0.3 [INFO] [stderr] Downloaded darling_core v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7bbffeac2508e657aaf588d20db9f9a3cdb1c56f2dcd79509d7f0b305d71629d [INFO] running `Command { std: "docker" "start" "-a" "7bbffeac2508e657aaf588d20db9f9a3cdb1c56f2dcd79509d7f0b305d71629d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7bbffeac2508e657aaf588d20db9f9a3cdb1c56f2dcd79509d7f0b305d71629d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bbffeac2508e657aaf588d20db9f9a3cdb1c56f2dcd79509d7f0b305d71629d", kill_on_drop: false }` [INFO] [stdout] 7bbffeac2508e657aaf588d20db9f9a3cdb1c56f2dcd79509d7f0b305d71629d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6673b678f4b1ee3acbc5609b097a20c9a86999cc6a66ca53dc1490b5d2de86e5 [INFO] running `Command { std: "docker" "start" "-a" "6673b678f4b1ee3acbc5609b097a20c9a86999cc6a66ca53dc1490b5d2de86e5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling ucd-util v0.1.5 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling utf8-ranges v1.0.3 [INFO] [stderr] Compiling log v0.4.7 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling json v0.11.14 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling termcolor v0.3.6 [INFO] [stderr] Compiling cpython v0.2.1 [INFO] [stderr] Compiling divrem v0.1.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling proc-macro2 v0.2.3 [INFO] [stderr] Compiling itertools v0.8.0 [INFO] [stderr] Compiling regex-syntax v0.6.10 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling quote v0.4.2 [INFO] [stderr] Compiling syn v0.12.15 [INFO] [stderr] Compiling aho-corasick v0.7.4 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling pathfinding v1.1.12 [INFO] [stderr] Compiling nbt v0.1.0 (/opt/rustwide/workdir/nbt) [INFO] [stderr] Compiling regex v1.2.0 [INFO] [stderr] Compiling chrono v0.4.7 [INFO] [stderr] Compiling darling_core v0.3.2 [INFO] [stderr] Compiling stderrlog v0.4.1 [INFO] [stderr] Compiling darling_macro v0.3.2 [INFO] [stderr] Compiling python27-sys v0.2.1 [INFO] [stderr] Compiling darling v0.3.2 [INFO] [stderr] Compiling nbt-derive v0.1.0 (/opt/rustwide/workdir/nbt-derive) [INFO] [stdout] warning: field is never read: `ty` [INFO] [stdout] --> nbt-derive/src/nbt_encode.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | ty: syn::Type, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `NbtEncodeFieldReceiver` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> nbt-derive/src/nbt_encode.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, FromField)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling packets v0.1.0 (/opt/rustwide/workdir/packets) [INFO] [stderr] Compiling minebot v0.1.0 (/opt/rustwide/workdir/minebot) [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> minebot/src/lib.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | / quick_error! { [INFO] [stdout] 221 | | #[derive(Debug)] [INFO] [stdout] 222 | | pub enum Error { [INFO] [stdout] 223 | | Io(err: std::io::Error) { [INFO] [stdout] ... | [INFO] [stdout] 228 | | } [INFO] [stdout] 229 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> minebot/src/gamestate.rs:273:66 [INFO] [stdout] | [INFO] [stdout] 273 | fn load_single_chunk(chunk: &mut Chunk, y_offset: u8, data: &mut Buf) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 273 - fn load_single_chunk(chunk: &mut Chunk, y_offset: u8, data: &mut Buf) { [INFO] [stdout] 273 + fn load_single_chunk(chunk: &mut Chunk, y_offset: u8, data: &mut dyn Buf) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> minebot/src/gamestate.rs:419:26 [INFO] [stdout] | [INFO] [stdout] 419 | fn read_varint(buf: &mut Buf) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 419 - fn read_varint(buf: &mut Buf) -> i32 { [INFO] [stdout] 419 + fn read_varint(buf: &mut dyn Buf) -> i32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> minebot/src/geom.rs:171:31 [INFO] [stdout] | [INFO] [stdout] 171 | ChunkAddr::new(self.x.div_floor(CHUNK_WIDTH as i32), self.z.div_floor(CHUNK_WIDTH as i32)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `div_floor(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> minebot/src/geom.rs:171:69 [INFO] [stdout] | [INFO] [stdout] 171 | ChunkAddr::new(self.x.div_floor(CHUNK_WIDTH as i32), self.z.div_floor(CHUNK_WIDTH as i32)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `div_floor(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> minebot/src/lib.rs:224:29 [INFO] [stdout] | [INFO] [stdout] 224 | description(err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> minebot/src/lib.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 192 | let position = self.gamestate.my_position(); [INFO] [stdout] | ---------------------------- immutable borrow occurs here [INFO] [stdout] 193 | / self.send(ClientPacket::PlayerPositionAndLook { [INFO] [stdout] 194 | | x: position.x(), [INFO] [stdout] | | ------------ immutable borrow later used here [INFO] [stdout] 195 | | y: position.y(), [INFO] [stdout] 196 | | z: position.z(), [INFO] [stdout] ... | [INFO] [stdout] 199 | | on_ground: true [INFO] [stdout] 200 | | }) [INFO] [stdout] | |__________^ mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `damage` [INFO] [stdout] --> minebot/src/gamestate.rs:363:5 [INFO] [stdout] | [INFO] [stdout] 363 | damage: PerBlock, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `damage` [INFO] [stdout] --> minebot/src/gamestate.rs:386:12 [INFO] [stdout] | [INFO] [stdout] 386 | pub fn damage(&self, addr: LocalAddr) -> u8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_damage` [INFO] [stdout] --> minebot/src/gamestate.rs:390:12 [INFO] [stdout] | [INFO] [stdout] 390 | pub fn set_damage(&mut self, addr: LocalAddr, val: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `light_level` [INFO] [stdout] --> minebot/src/gamestate.rs:394:12 [INFO] [stdout] | [INFO] [stdout] 394 | pub fn light_level(&self, addr: LocalAddr) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `skylight_level` [INFO] [stdout] --> minebot/src/gamestate.rs:402:12 [INFO] [stdout] | [INFO] [stdout] 402 | pub fn skylight_level(&self, addr: LocalAddr) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling minebot-py v0.1.0 (/opt/rustwide/workdir/minebot-py) [INFO] [stdout] warning: cannot borrow `*client` as mutable because it is also borrowed as immutable [INFO] [stdout] --> minebot/src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | let position = client.my_position(); [INFO] [stdout] | -------------------- immutable borrow occurs here [INFO] [stdout] 24 | client.say(format!("My position is: ({}, {}, {})", position.x(), position.y(), position.z())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> minebot-py/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / py_class!(class MinebotClient |py| { [INFO] [stdout] 12 | | data client: RefCell; [INFO] [stdout] 13 | | [INFO] [stdout] 14 | | def listen_for(&self, matchers: &EventMatchers) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] 74 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `py_impl_from_py_object_for_python_object` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> minebot-py/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / py_class!(class MinebotClient |py| { [INFO] [stdout] 12 | | data client: RefCell; [INFO] [stdout] 13 | | [INFO] [stdout] 14 | | def listen_for(&self, matchers: &EventMatchers) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] 74 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `py_impl_from_py_object_for_python_object` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> minebot-py/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / py_class!(class MinebotClient |py| { [INFO] [stdout] 12 | | data client: RefCell; [INFO] [stdout] 13 | | [INFO] [stdout] 14 | | def listen_for(&self, matchers: &EventMatchers) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] 74 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `py_class_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> minebot-py/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / py_class!(class MinebotClient |py| { [INFO] [stdout] 12 | | data client: RefCell; [INFO] [stdout] 13 | | [INFO] [stdout] 14 | | def listen_for(&self, matchers: &EventMatchers) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] 74 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `py_class_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> minebot-py/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / py_class!(class MinebotClient |py| { [INFO] [stdout] 12 | | data client: RefCell; [INFO] [stdout] 13 | | [INFO] [stdout] 14 | | def listen_for(&self, matchers: &EventMatchers) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] 74 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `py_class_init_members` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> minebot-py/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / py_class!(class MinebotClient |py| { [INFO] [stdout] 12 | | data client: RefCell; [INFO] [stdout] 13 | | [INFO] [stdout] 14 | | def listen_for(&self, matchers: &EventMatchers) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] 74 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `py_class_init_members` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> minebot-py/src/lib.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | / py_class!(class EventMatchers |py| { [INFO] [stdout] 77 | | data matchers: RefCell; [INFO] [stdout] 78 | | [INFO] [stdout] 79 | | def __new__(_cls) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 96 | | } [INFO] [stdout] 97 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `py_impl_from_py_object_for_python_object` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> minebot-py/src/lib.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | / py_class!(class EventMatchers |py| { [INFO] [stdout] 77 | | data matchers: RefCell; [INFO] [stdout] 78 | | [INFO] [stdout] 79 | | def __new__(_cls) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 96 | | } [INFO] [stdout] 97 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `py_impl_from_py_object_for_python_object` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> minebot-py/src/lib.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | / py_class!(class EventMatchers |py| { [INFO] [stdout] 77 | | data matchers: RefCell; [INFO] [stdout] 78 | | [INFO] [stdout] 79 | | def __new__(_cls) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 96 | | } [INFO] [stdout] 97 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `py_class_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> minebot-py/src/lib.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | / py_class!(class EventMatchers |py| { [INFO] [stdout] 77 | | data matchers: RefCell; [INFO] [stdout] 78 | | [INFO] [stdout] 79 | | def __new__(_cls) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 96 | | } [INFO] [stdout] 97 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `py_class_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> minebot-py/src/lib.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | / py_class!(class EventMatchers |py| { [INFO] [stdout] 77 | | data matchers: RefCell; [INFO] [stdout] 78 | | [INFO] [stdout] 79 | | def __new__(_cls) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 96 | | } [INFO] [stdout] 97 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `py_class_init_members` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> minebot-py/src/lib.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | / py_class!(class EventMatchers |py| { [INFO] [stdout] 77 | | data matchers: RefCell; [INFO] [stdout] 78 | | [INFO] [stdout] 79 | | def __new__(_cls) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 96 | | } [INFO] [stdout] 97 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `py_class_init_members` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> minebot-py/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | / py_class!(class Event |py| { [INFO] [stdout] 100 | | data event: events::Event; [INFO] [stdout] 101 | | [INFO] [stdout] 102 | | def is_chat(&self) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 164 | | } [INFO] [stdout] 165 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `py_impl_from_py_object_for_python_object` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> minebot-py/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | / py_class!(class Event |py| { [INFO] [stdout] 100 | | data event: events::Event; [INFO] [stdout] 101 | | [INFO] [stdout] 102 | | def is_chat(&self) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 164 | | } [INFO] [stdout] 165 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `py_impl_from_py_object_for_python_object` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> minebot-py/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | / py_class!(class Event |py| { [INFO] [stdout] 100 | | data event: events::Event; [INFO] [stdout] 101 | | [INFO] [stdout] 102 | | def is_chat(&self) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 164 | | } [INFO] [stdout] 165 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `py_class_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> minebot-py/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | / py_class!(class Event |py| { [INFO] [stdout] 100 | | data event: events::Event; [INFO] [stdout] 101 | | [INFO] [stdout] 102 | | def is_chat(&self) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 164 | | } [INFO] [stdout] 165 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `py_class_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> minebot-py/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | / py_class!(class Event |py| { [INFO] [stdout] 100 | | data event: events::Event; [INFO] [stdout] 101 | | [INFO] [stdout] 102 | | def is_chat(&self) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 164 | | } [INFO] [stdout] 165 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `py_class_init_members` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> minebot-py/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | / py_class!(class Event |py| { [INFO] [stdout] 100 | | data event: events::Event; [INFO] [stdout] 101 | | [INFO] [stdout] 102 | | def is_chat(&self) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 164 | | } [INFO] [stdout] 165 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `py_class_init_members` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> minebot-py/src/lib.rs:167:1 [INFO] [stdout] | [INFO] [stdout] 167 | / py_class!(class BlockState |py| { [INFO] [stdout] 168 | | data id: blocks::BlockState; [INFO] [stdout] 169 | | [INFO] [stdout] 170 | | def get_id(&self) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 176 | | } [INFO] [stdout] 177 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `py_impl_from_py_object_for_python_object` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> minebot-py/src/lib.rs:167:1 [INFO] [stdout] | [INFO] [stdout] 167 | / py_class!(class BlockState |py| { [INFO] [stdout] 168 | | data id: blocks::BlockState; [INFO] [stdout] 169 | | [INFO] [stdout] 170 | | def get_id(&self) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 176 | | } [INFO] [stdout] 177 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `py_impl_from_py_object_for_python_object` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> minebot-py/src/lib.rs:167:1 [INFO] [stdout] | [INFO] [stdout] 167 | / py_class!(class BlockState |py| { [INFO] [stdout] 168 | | data id: blocks::BlockState; [INFO] [stdout] 169 | | [INFO] [stdout] 170 | | def get_id(&self) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 176 | | } [INFO] [stdout] 177 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `py_class_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> minebot-py/src/lib.rs:167:1 [INFO] [stdout] | [INFO] [stdout] 167 | / py_class!(class BlockState |py| { [INFO] [stdout] 168 | | data id: blocks::BlockState; [INFO] [stdout] 169 | | [INFO] [stdout] 170 | | def get_id(&self) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 176 | | } [INFO] [stdout] 177 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `py_class_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> minebot-py/src/lib.rs:167:1 [INFO] [stdout] | [INFO] [stdout] 167 | / py_class!(class BlockState |py| { [INFO] [stdout] 168 | | data id: blocks::BlockState; [INFO] [stdout] 169 | | [INFO] [stdout] 170 | | def get_id(&self) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 176 | | } [INFO] [stdout] 177 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `py_class_init_members` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> minebot-py/src/lib.rs:167:1 [INFO] [stdout] | [INFO] [stdout] 167 | / py_class!(class BlockState |py| { [INFO] [stdout] 168 | | data id: blocks::BlockState; [INFO] [stdout] 169 | | [INFO] [stdout] 170 | | def get_id(&self) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 176 | | } [INFO] [stdout] 177 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `py_class_init_members` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 05s [INFO] running `Command { std: "docker" "inspect" "6673b678f4b1ee3acbc5609b097a20c9a86999cc6a66ca53dc1490b5d2de86e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6673b678f4b1ee3acbc5609b097a20c9a86999cc6a66ca53dc1490b5d2de86e5", kill_on_drop: false }` [INFO] [stdout] 6673b678f4b1ee3acbc5609b097a20c9a86999cc6a66ca53dc1490b5d2de86e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48aa6b54138d6c823eccb799451f9b892526e7d62848a05bc84257f4c96575f6 [INFO] running `Command { std: "docker" "start" "-a" "48aa6b54138d6c823eccb799451f9b892526e7d62848a05bc84257f4c96575f6", kill_on_drop: false }` [INFO] [stderr] Compiling nbt v0.1.0 (/opt/rustwide/workdir/nbt) [INFO] [stdout] warning: field is never read: `ty` [INFO] [stdout] --> nbt-derive/src/nbt_encode.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | ty: syn::Type, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `NbtEncodeFieldReceiver` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> nbt-derive/src/nbt_encode.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, FromField)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling nbt-derive v0.1.0 (/opt/rustwide/workdir/nbt-derive) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling packets v0.1.0 (/opt/rustwide/workdir/packets) [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> minebot/src/lib.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | / quick_error! { [INFO] [stdout] 221 | | #[derive(Debug)] [INFO] [stdout] 222 | | pub enum Error { [INFO] [stdout] 223 | | Io(err: std::io::Error) { [INFO] [stdout] ... | [INFO] [stdout] 228 | | } [INFO] [stdout] 229 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> minebot/src/gamestate.rs:273:66 [INFO] [stdout] | [INFO] [stdout] 273 | fn load_single_chunk(chunk: &mut Chunk, y_offset: u8, data: &mut Buf) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 273 - fn load_single_chunk(chunk: &mut Chunk, y_offset: u8, data: &mut Buf) { [INFO] [stdout] 273 + fn load_single_chunk(chunk: &mut Chunk, y_offset: u8, data: &mut dyn Buf) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling minebot v0.1.0 (/opt/rustwide/workdir/minebot) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> minebot/src/gamestate.rs:419:26 [INFO] [stdout] | [INFO] [stdout] 419 | fn read_varint(buf: &mut Buf) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 419 - fn read_varint(buf: &mut Buf) -> i32 { [INFO] [stdout] 419 + fn read_varint(buf: &mut dyn Buf) -> i32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling minebot-py v0.1.0 (/opt/rustwide/workdir/minebot-py) [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> minebot/src/geom.rs:171:31 [INFO] [stdout] | [INFO] [stdout] 171 | ChunkAddr::new(self.x.div_floor(CHUNK_WIDTH as i32), self.z.div_floor(CHUNK_WIDTH as i32)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `div_floor(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> minebot/src/geom.rs:171:69 [INFO] [stdout] | [INFO] [stdout] 171 | ChunkAddr::new(self.x.div_floor(CHUNK_WIDTH as i32), self.z.div_floor(CHUNK_WIDTH as i32)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `div_floor(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> minebot/src/lib.rs:224:29 [INFO] [stdout] | [INFO] [stdout] 224 | description(err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> minebot/src/lib.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 192 | let position = self.gamestate.my_position(); [INFO] [stdout] | ---------------------------- immutable borrow occurs here [INFO] [stdout] 193 | / self.send(ClientPacket::PlayerPositionAndLook { [INFO] [stdout] 194 | | x: position.x(), [INFO] [stdout] | | ------------ immutable borrow later used here [INFO] [stdout] 195 | | y: position.y(), [INFO] [stdout] 196 | | z: position.z(), [INFO] [stdout] ... | [INFO] [stdout] 199 | | on_ground: true [INFO] [stdout] 200 | | }) [INFO] [stdout] | |__________^ mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `damage` [INFO] [stdout] --> minebot/src/gamestate.rs:363:5 [INFO] [stdout] | [INFO] [stdout] 363 | damage: PerBlock, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `damage` [INFO] [stdout] --> minebot/src/gamestate.rs:386:12 [INFO] [stdout] | [INFO] [stdout] 386 | pub fn damage(&self, addr: LocalAddr) -> u8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_damage` [INFO] [stdout] --> minebot/src/gamestate.rs:390:12 [INFO] [stdout] | [INFO] [stdout] 390 | pub fn set_damage(&mut self, addr: LocalAddr, val: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `light_level` [INFO] [stdout] --> minebot/src/gamestate.rs:394:12 [INFO] [stdout] | [INFO] [stdout] 394 | pub fn light_level(&self, addr: LocalAddr) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `skylight_level` [INFO] [stdout] --> minebot/src/gamestate.rs:402:12 [INFO] [stdout] | [INFO] [stdout] 402 | pub fn skylight_level(&self, addr: LocalAddr) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*client` as mutable because it is also borrowed as immutable [INFO] [stdout] --> minebot/src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | let position = client.my_position(); [INFO] [stdout] | -------------------- immutable borrow occurs here [INFO] [stdout] 24 | client.say(format!("My position is: ({}, {}, {})", position.x(), position.y(), position.z())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> minebot/src/lib.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | / quick_error! { [INFO] [stdout] 221 | | #[derive(Debug)] [INFO] [stdout] 222 | | pub enum Error { [INFO] [stdout] 223 | | Io(err: std::io::Error) { [INFO] [stdout] ... | [INFO] [stdout] 228 | | } [INFO] [stdout] 229 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> minebot/src/gamestate.rs:273:66 [INFO] [stdout] | [INFO] [stdout] 273 | fn load_single_chunk(chunk: &mut Chunk, y_offset: u8, data: &mut Buf) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 273 - fn load_single_chunk(chunk: &mut Chunk, y_offset: u8, data: &mut Buf) { [INFO] [stdout] 273 + fn load_single_chunk(chunk: &mut Chunk, y_offset: u8, data: &mut dyn Buf) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> minebot/src/gamestate.rs:419:26 [INFO] [stdout] | [INFO] [stdout] 419 | fn read_varint(buf: &mut Buf) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 419 - fn read_varint(buf: &mut Buf) -> i32 { [INFO] [stdout] 419 + fn read_varint(buf: &mut dyn Buf) -> i32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> minebot/src/geom.rs:171:31 [INFO] [stdout] | [INFO] [stdout] 171 | ChunkAddr::new(self.x.div_floor(CHUNK_WIDTH as i32), self.z.div_floor(CHUNK_WIDTH as i32)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `div_floor(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> minebot/src/geom.rs:171:69 [INFO] [stdout] | [INFO] [stdout] 171 | ChunkAddr::new(self.x.div_floor(CHUNK_WIDTH as i32), self.z.div_floor(CHUNK_WIDTH as i32)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `div_floor(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> minebot-py/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / py_class!(class MinebotClient |py| { [INFO] [stdout] 12 | | data client: RefCell; [INFO] [stdout] 13 | | [INFO] [stdout] 14 | | def listen_for(&self, matchers: &EventMatchers) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] 74 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `py_impl_from_py_object_for_python_object` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> minebot/src/lib.rs:224:29 [INFO] [stdout] | [INFO] [stdout] 224 | description(err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ty` [INFO] [stdout] --> nbt-derive/src/nbt_encode.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | ty: syn::Type, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `NbtEncodeFieldReceiver` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> nbt-derive/src/nbt_encode.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, FromField)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> minebot-py/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / py_class!(class MinebotClient |py| { [INFO] [stdout] 12 | | data client: RefCell; [INFO] [stdout] 13 | | [INFO] [stdout] 14 | | def listen_for(&self, matchers: &EventMatchers) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] 74 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `py_impl_from_py_object_for_python_object` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> minebot/src/lib.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 192 | let position = self.gamestate.my_position(); [INFO] [stdout] | ---------------------------- immutable borrow occurs here [INFO] [stdout] 193 | / self.send(ClientPacket::PlayerPositionAndLook { [INFO] [stdout] 194 | | x: position.x(), [INFO] [stdout] | | ------------ immutable borrow later used here [INFO] [stdout] 195 | | y: position.y(), [INFO] [stdout] 196 | | z: position.z(), [INFO] [stdout] ... | [INFO] [stdout] 199 | | on_ground: true [INFO] [stdout] 200 | | }) [INFO] [stdout] | |__________^ mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `damage` [INFO] [stdout] --> minebot/src/gamestate.rs:363:5 [INFO] [stdout] | [INFO] [stdout] 363 | damage: PerBlock, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `damage` [INFO] [stdout] --> minebot/src/gamestate.rs:386:12 [INFO] [stdout] | [INFO] [stdout] 386 | pub fn damage(&self, addr: LocalAddr) -> u8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_damage` [INFO] [stdout] --> minebot/src/gamestate.rs:390:12 [INFO] [stdout] | [INFO] [stdout] 390 | pub fn set_damage(&mut self, addr: LocalAddr, val: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `light_level` [INFO] [stdout] --> minebot/src/gamestate.rs:394:12 [INFO] [stdout] | [INFO] [stdout] 394 | pub fn light_level(&self, addr: LocalAddr) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `skylight_level` [INFO] [stdout] --> minebot/src/gamestate.rs:402:12 [INFO] [stdout] | [INFO] [stdout] 402 | pub fn skylight_level(&self, addr: LocalAddr) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> minebot-py/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / py_class!(class MinebotClient |py| { [INFO] [stdout] 12 | | data client: RefCell; [INFO] [stdout] 13 | | [INFO] [stdout] 14 | | def listen_for(&self, matchers: &EventMatchers) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] 74 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `py_class_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> minebot-py/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / py_class!(class MinebotClient |py| { [INFO] [stdout] 12 | | data client: RefCell; [INFO] [stdout] 13 | | [INFO] [stdout] 14 | | def listen_for(&self, matchers: &EventMatchers) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] 74 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `py_class_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> minebot-py/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / py_class!(class MinebotClient |py| { [INFO] [stdout] 12 | | data client: RefCell; [INFO] [stdout] 13 | | [INFO] [stdout] 14 | | def listen_for(&self, matchers: &EventMatchers) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] 74 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `py_class_init_members` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> minebot-py/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / py_class!(class MinebotClient |py| { [INFO] [stdout] 12 | | data client: RefCell; [INFO] [stdout] 13 | | [INFO] [stdout] 14 | | def listen_for(&self, matchers: &EventMatchers) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] 74 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `py_class_init_members` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> minebot-py/src/lib.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | / py_class!(class EventMatchers |py| { [INFO] [stdout] 77 | | data matchers: RefCell; [INFO] [stdout] 78 | | [INFO] [stdout] 79 | | def __new__(_cls) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 96 | | } [INFO] [stdout] 97 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `py_impl_from_py_object_for_python_object` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> minebot-py/src/lib.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | / py_class!(class EventMatchers |py| { [INFO] [stdout] 77 | | data matchers: RefCell; [INFO] [stdout] 78 | | [INFO] [stdout] 79 | | def __new__(_cls) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 96 | | } [INFO] [stdout] 97 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `py_impl_from_py_object_for_python_object` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> minebot-py/src/lib.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | / py_class!(class EventMatchers |py| { [INFO] [stdout] 77 | | data matchers: RefCell; [INFO] [stdout] 78 | | [INFO] [stdout] 79 | | def __new__(_cls) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 96 | | } [INFO] [stdout] 97 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `py_class_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> minebot-py/src/lib.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | / py_class!(class EventMatchers |py| { [INFO] [stdout] 77 | | data matchers: RefCell; [INFO] [stdout] 78 | | [INFO] [stdout] 79 | | def __new__(_cls) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 96 | | } [INFO] [stdout] 97 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `py_class_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> minebot-py/src/lib.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | / py_class!(class EventMatchers |py| { [INFO] [stdout] 77 | | data matchers: RefCell; [INFO] [stdout] 78 | | [INFO] [stdout] 79 | | def __new__(_cls) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 96 | | } [INFO] [stdout] 97 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `py_class_init_members` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> minebot-py/src/lib.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | / py_class!(class EventMatchers |py| { [INFO] [stdout] 77 | | data matchers: RefCell; [INFO] [stdout] 78 | | [INFO] [stdout] 79 | | def __new__(_cls) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 96 | | } [INFO] [stdout] 97 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `py_class_init_members` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> minebot-py/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | / py_class!(class Event |py| { [INFO] [stdout] 100 | | data event: events::Event; [INFO] [stdout] 101 | | [INFO] [stdout] 102 | | def is_chat(&self) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 164 | | } [INFO] [stdout] 165 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `py_impl_from_py_object_for_python_object` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> minebot-py/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | / py_class!(class Event |py| { [INFO] [stdout] 100 | | data event: events::Event; [INFO] [stdout] 101 | | [INFO] [stdout] 102 | | def is_chat(&self) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 164 | | } [INFO] [stdout] 165 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `py_impl_from_py_object_for_python_object` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> minebot-py/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | / py_class!(class Event |py| { [INFO] [stdout] 100 | | data event: events::Event; [INFO] [stdout] 101 | | [INFO] [stdout] 102 | | def is_chat(&self) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 164 | | } [INFO] [stdout] 165 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `py_class_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> minebot-py/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | / py_class!(class Event |py| { [INFO] [stdout] 100 | | data event: events::Event; [INFO] [stdout] 101 | | [INFO] [stdout] 102 | | def is_chat(&self) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 164 | | } [INFO] [stdout] 165 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `py_class_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> minebot-py/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | / py_class!(class Event |py| { [INFO] [stdout] 100 | | data event: events::Event; [INFO] [stdout] 101 | | [INFO] [stdout] 102 | | def is_chat(&self) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 164 | | } [INFO] [stdout] 165 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `py_class_init_members` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> minebot-py/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | / py_class!(class Event |py| { [INFO] [stdout] 100 | | data event: events::Event; [INFO] [stdout] 101 | | [INFO] [stdout] 102 | | def is_chat(&self) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 164 | | } [INFO] [stdout] 165 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `py_class_init_members` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> minebot-py/src/lib.rs:167:1 [INFO] [stdout] | [INFO] [stdout] 167 | / py_class!(class BlockState |py| { [INFO] [stdout] 168 | | data id: blocks::BlockState; [INFO] [stdout] 169 | | [INFO] [stdout] 170 | | def get_id(&self) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 176 | | } [INFO] [stdout] 177 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `py_impl_from_py_object_for_python_object` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> minebot-py/src/lib.rs:167:1 [INFO] [stdout] | [INFO] [stdout] 167 | / py_class!(class BlockState |py| { [INFO] [stdout] 168 | | data id: blocks::BlockState; [INFO] [stdout] 169 | | [INFO] [stdout] 170 | | def get_id(&self) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 176 | | } [INFO] [stdout] 177 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `py_impl_from_py_object_for_python_object` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> minebot-py/src/lib.rs:167:1 [INFO] [stdout] | [INFO] [stdout] 167 | / py_class!(class BlockState |py| { [INFO] [stdout] 168 | | data id: blocks::BlockState; [INFO] [stdout] 169 | | [INFO] [stdout] 170 | | def get_id(&self) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 176 | | } [INFO] [stdout] 177 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `py_class_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> minebot-py/src/lib.rs:167:1 [INFO] [stdout] | [INFO] [stdout] 167 | / py_class!(class BlockState |py| { [INFO] [stdout] 168 | | data id: blocks::BlockState; [INFO] [stdout] 169 | | [INFO] [stdout] 170 | | def get_id(&self) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 176 | | } [INFO] [stdout] 177 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `py_class_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> minebot-py/src/lib.rs:167:1 [INFO] [stdout] | [INFO] [stdout] 167 | / py_class!(class BlockState |py| { [INFO] [stdout] 168 | | data id: blocks::BlockState; [INFO] [stdout] 169 | | [INFO] [stdout] 170 | | def get_id(&self) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 176 | | } [INFO] [stdout] 177 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `py_class_init_members` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> minebot-py/src/lib.rs:167:1 [INFO] [stdout] | [INFO] [stdout] 167 | / py_class!(class BlockState |py| { [INFO] [stdout] 168 | | data id: blocks::BlockState; [INFO] [stdout] 169 | | [INFO] [stdout] 170 | | def get_id(&self) -> PyResult { [INFO] [stdout] ... | [INFO] [stdout] 176 | | } [INFO] [stdout] 177 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `py_class_init_members` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.49s [INFO] running `Command { std: "docker" "inspect" "48aa6b54138d6c823eccb799451f9b892526e7d62848a05bc84257f4c96575f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48aa6b54138d6c823eccb799451f9b892526e7d62848a05bc84257f4c96575f6", kill_on_drop: false }` [INFO] [stdout] 48aa6b54138d6c823eccb799451f9b892526e7d62848a05bc84257f4c96575f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 645f3330455ebb328ae24f15d47f6a8b9bf95283e38fdb68892962afcc714fff [INFO] running `Command { std: "docker" "start" "-a" "645f3330455ebb328ae24f15d47f6a8b9bf95283e38fdb68892962afcc714fff", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: field is never read: `ty` [INFO] [stderr] --> nbt-derive/src/nbt_encode.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | ty: syn::Type, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `NbtEncodeFieldReceiver` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> nbt-derive/src/nbt_encode.rs:20:10 [INFO] [stderr] | [INFO] [stderr] 20 | #[derive(Debug, FromField)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `nbt-derive` (lib) generated 1 warning [INFO] [stderr] warning: `nbt-derive` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> minebot/src/lib.rs:220:1 [INFO] [stderr] | [INFO] [stderr] 220 | / quick_error! { [INFO] [stderr] 221 | | #[derive(Debug)] [INFO] [stderr] 222 | | pub enum Error { [INFO] [stderr] 223 | | Io(err: std::io::Error) { [INFO] [stderr] ... | [INFO] [stderr] 228 | | } [INFO] [stderr] 229 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> minebot/src/gamestate.rs:273:66 [INFO] [stderr] | [INFO] [stderr] 273 | fn load_single_chunk(chunk: &mut Chunk, y_offset: u8, data: &mut Buf) { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 273 - fn load_single_chunk(chunk: &mut Chunk, y_offset: u8, data: &mut Buf) { [INFO] [stderr] 273 + fn load_single_chunk(chunk: &mut Chunk, y_offset: u8, data: &mut dyn Buf) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> minebot/src/gamestate.rs:419:26 [INFO] [stderr] | [INFO] [stderr] 419 | fn read_varint(buf: &mut Buf) -> i32 { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 419 - fn read_varint(buf: &mut Buf) -> i32 { [INFO] [stderr] 419 + fn read_varint(buf: &mut dyn Buf) -> i32 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: an associated function with this name may be added to the standard library in the future [INFO] [stderr] --> minebot/src/geom.rs:171:31 [INFO] [stderr] | [INFO] [stderr] 171 | ChunkAddr::new(self.x.div_floor(CHUNK_WIDTH as i32), self.z.div_floor(CHUNK_WIDTH as i32)) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `div_floor(...)` to keep using the current method [INFO] [stderr] [INFO] [stderr] warning: an associated function with this name may be added to the standard library in the future [INFO] [stderr] --> minebot/src/geom.rs:171:69 [INFO] [stderr] | [INFO] [stderr] 171 | ChunkAddr::new(self.x.div_floor(CHUNK_WIDTH as i32), self.z.div_floor(CHUNK_WIDTH as i32)) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `div_floor(...)` to keep using the current method [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> minebot/src/lib.rs:224:29 [INFO] [stderr] | [INFO] [stderr] 224 | description(err.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stderr] --> minebot/src/lib.rs:193:9 [INFO] [stderr] | [INFO] [stderr] 192 | let position = self.gamestate.my_position(); [INFO] [stderr] | ---------------------------- immutable borrow occurs here [INFO] [stderr] 193 | / self.send(ClientPacket::PlayerPositionAndLook { [INFO] [stderr] 194 | | x: position.x(), [INFO] [stderr] | | ------------ immutable borrow later used here [INFO] [stderr] 195 | | y: position.y(), [INFO] [stderr] 196 | | z: position.z(), [INFO] [stderr] ... | [INFO] [stderr] 199 | | on_ground: true [INFO] [stderr] 200 | | }) [INFO] [stderr] | |__________^ mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: field is never read: `damage` [INFO] [stderr] --> minebot/src/gamestate.rs:363:5 [INFO] [stderr] | [INFO] [stderr] 363 | damage: PerBlock, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `damage` [INFO] [stderr] --> minebot/src/gamestate.rs:386:12 [INFO] [stderr] | [INFO] [stderr] 386 | pub fn damage(&self, addr: LocalAddr) -> u8 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_damage` [INFO] [stderr] --> minebot/src/gamestate.rs:390:12 [INFO] [stderr] | [INFO] [stderr] 390 | pub fn set_damage(&mut self, addr: LocalAddr, val: u8) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `light_level` [INFO] [stderr] --> minebot/src/gamestate.rs:394:12 [INFO] [stderr] | [INFO] [stderr] 394 | pub fn light_level(&self, addr: LocalAddr) -> u8 { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `skylight_level` [INFO] [stderr] --> minebot/src/gamestate.rs:402:12 [INFO] [stderr] | [INFO] [stderr] 402 | pub fn skylight_level(&self, addr: LocalAddr) -> u8 { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `minebot` (lib) generated 12 warnings [INFO] [stderr] warning: `minebot` (lib test) generated 12 warnings (12 duplicates) [INFO] [stderr] warning: cannot borrow `*client` as mutable because it is also borrowed as immutable [INFO] [stderr] --> minebot/src/main.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 23 | let position = client.my_position(); [INFO] [stderr] | -------------------- immutable borrow occurs here [INFO] [stderr] 24 | client.say(format!("My position is: ({}, {}, {})", position.x(), position.y(), position.z())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | immutable borrow later used here [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> minebot-py/src/lib.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | / py_class!(class MinebotClient |py| { [INFO] [stderr] 12 | | data client: RefCell; [INFO] [stderr] 13 | | [INFO] [stderr] 14 | | def listen_for(&self, matchers: &EventMatchers) -> PyResult { [INFO] [stderr] ... | [INFO] [stderr] 73 | | } [INFO] [stderr] 74 | | }); [INFO] [stderr] | |__^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `py_impl_from_py_object_for_python_object` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> minebot-py/src/lib.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | / py_class!(class MinebotClient |py| { [INFO] [stderr] 12 | | data client: RefCell; [INFO] [stderr] 13 | | [INFO] [stderr] 14 | | def listen_for(&self, matchers: &EventMatchers) -> PyResult { [INFO] [stderr] ... | [INFO] [stderr] 73 | | } [INFO] [stderr] 74 | | }); [INFO] [stderr] | |__^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `py_impl_from_py_object_for_python_object` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> minebot-py/src/lib.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | / py_class!(class MinebotClient |py| { [INFO] [stderr] 12 | | data client: RefCell; [INFO] [stderr] 13 | | [INFO] [stderr] 14 | | def listen_for(&self, matchers: &EventMatchers) -> PyResult { [INFO] [stderr] ... | [INFO] [stderr] 73 | | } [INFO] [stderr] 74 | | }); [INFO] [stderr] | |__^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `py_class_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> minebot-py/src/lib.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | / py_class!(class MinebotClient |py| { [INFO] [stderr] 12 | | data client: RefCell; [INFO] [stderr] 13 | | [INFO] [stderr] 14 | | def listen_for(&self, matchers: &EventMatchers) -> PyResult { [INFO] [stderr] ... | [INFO] [stderr] 73 | | } [INFO] [stderr] 74 | | }); [INFO] [stderr] | |__^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `py_class_init_members` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> minebot-py/src/lib.rs:76:1 [INFO] [stderr] | [INFO] [stderr] 76 | / py_class!(class EventMatchers |py| { [INFO] [stderr] 77 | | data matchers: RefCell; [INFO] [stderr] 78 | | [INFO] [stderr] 79 | | def __new__(_cls) -> PyResult { [INFO] [stderr] ... | [INFO] [stderr] 96 | | } [INFO] [stderr] 97 | | }); [INFO] [stderr] | |__^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `py_impl_from_py_object_for_python_object` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> minebot-py/src/lib.rs:76:1 [INFO] [stderr] | [INFO] [stderr] 76 | / py_class!(class EventMatchers |py| { [INFO] [stderr] 77 | | data matchers: RefCell; [INFO] [stderr] 78 | | [INFO] [stderr] 79 | | def __new__(_cls) -> PyResult { [INFO] [stderr] ... | [INFO] [stderr] 96 | | } [INFO] [stderr] 97 | | }); [INFO] [stderr] | |__^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `py_class_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> minebot-py/src/lib.rs:76:1 [INFO] [stderr] | [INFO] [stderr] 76 | / py_class!(class EventMatchers |py| { [INFO] [stderr] 77 | | data matchers: RefCell; [INFO] [stderr] 78 | | [INFO] [stderr] 79 | | def __new__(_cls) -> PyResult { [INFO] [stderr] ... | [INFO] [stderr] 96 | | } [INFO] [stderr] 97 | | }); [INFO] [stderr] | |__^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `py_class_init_members` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> minebot-py/src/lib.rs:99:1 [INFO] [stderr] | [INFO] [stderr] 99 | / py_class!(class Event |py| { [INFO] [stderr] 100 | | data event: events::Event; [INFO] [stderr] 101 | | [INFO] [stderr] 102 | | def is_chat(&self) -> PyResult { [INFO] [stderr] ... | [INFO] [stderr] 164 | | } [INFO] [stderr] 165 | | }); [INFO] [stderr] | |__^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `py_impl_from_py_object_for_python_object` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> minebot-py/src/lib.rs:99:1 [INFO] [stderr] | [INFO] [stderr] 99 | / py_class!(class Event |py| { [INFO] [stderr] 100 | | data event: events::Event; [INFO] [stderr] 101 | | [INFO] [stderr] 102 | | def is_chat(&self) -> PyResult { [INFO] [stderr] ... | [INFO] [stderr] 164 | | } [INFO] [stderr] 165 | | }); [INFO] [stderr] | |__^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `py_class_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> minebot-py/src/lib.rs:99:1 [INFO] [stderr] | [INFO] [stderr] 99 | / py_class!(class Event |py| { [INFO] [stderr] 100 | | data event: events::Event; [INFO] [stderr] 101 | | [INFO] [stderr] 102 | | def is_chat(&self) -> PyResult { [INFO] [stderr] ... | [INFO] [stderr] 164 | | } [INFO] [stderr] 165 | | }); [INFO] [stderr] | |__^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `py_class_init_members` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> minebot-py/src/lib.rs:167:1 [INFO] [stderr] | [INFO] [stderr] 167 | / py_class!(class BlockState |py| { [INFO] [stderr] 168 | | data id: blocks::BlockState; [INFO] [stderr] 169 | | [INFO] [stderr] 170 | | def get_id(&self) -> PyResult { [INFO] [stderr] ... | [INFO] [stderr] 176 | | } [INFO] [stderr] 177 | | }); [INFO] [stderr] | |__^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `py_impl_from_py_object_for_python_object` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> minebot-py/src/lib.rs:167:1 [INFO] [stderr] | [INFO] [stderr] 167 | / py_class!(class BlockState |py| { [INFO] [stderr] 168 | | data id: blocks::BlockState; [INFO] [stderr] 169 | | [INFO] [stderr] 170 | | def get_id(&self) -> PyResult { [INFO] [stderr] ... | [INFO] [stderr] 176 | | } [INFO] [stderr] 177 | | }); [INFO] [stderr] | |__^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `py_class_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> minebot-py/src/lib.rs:167:1 [INFO] [stderr] | [INFO] [stderr] 167 | / py_class!(class BlockState |py| { [INFO] [stderr] 168 | | data id: blocks::BlockState; [INFO] [stderr] 169 | | [INFO] [stderr] 170 | | def get_id(&self) -> PyResult { [INFO] [stderr] ... | [INFO] [stderr] 176 | | } [INFO] [stderr] 177 | | }); [INFO] [stderr] | |__^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `py_class_init_members` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `minebot` (bin "minebot" test) generated 1 warning [INFO] [stderr] warning: `minebot-py` (lib test) generated 24 warnings (11 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.54s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/minebot-62fad18409ba806f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/minebot-7614a8dbe90bddf3) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/minebot-99fc9c98bdd75156) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/nbt-cdac60d1d5860a0f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/nbt_derive-c7aaf41fc1570bc5) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/packets-8b388c283b48bb46) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests minebot [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests nbt [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests nbt-derive [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests packets [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "645f3330455ebb328ae24f15d47f6a8b9bf95283e38fdb68892962afcc714fff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "645f3330455ebb328ae24f15d47f6a8b9bf95283e38fdb68892962afcc714fff", kill_on_drop: false }` [INFO] [stdout] 645f3330455ebb328ae24f15d47f6a8b9bf95283e38fdb68892962afcc714fff