[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.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjfrikker%2Fminebot" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jfrikker/minebot on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-12/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-12/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.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ebf765f24837c13ed89396bf02d56e38e307ef72a454a7fe3cf922201110b97 [INFO] running `Command { std: "docker" "start" "-a" "9ebf765f24837c13ed89396bf02d56e38e307ef72a454a7fe3cf922201110b97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ebf765f24837c13ed89396bf02d56e38e307ef72a454a7fe3cf922201110b97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ebf765f24837c13ed89396bf02d56e38e307ef72a454a7fe3cf922201110b97", kill_on_drop: false }` [INFO] [stdout] 9ebf765f24837c13ed89396bf02d56e38e307ef72a454a7fe3cf922201110b97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] efaa4056f75e00e15751ec849798678ddc3ef7ec9d0d2c93ebf30ed87ef30eac [INFO] running `Command { std: "docker" "start" "-a" "efaa4056f75e00e15751ec849798678ddc3ef7ec9d0d2c93ebf30ed87ef30eac", kill_on_drop: false }` [INFO] [stderr] Compiling ucd-util v0.1.5 [INFO] [stderr] Compiling log v0.4.7 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling json v0.11.14 [INFO] [stderr] Compiling indexmap v1.0.2 [INFO] [stderr] Compiling termcolor v0.3.6 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling divrem v0.1.0 [INFO] [stderr] Compiling cpython v0.2.1 [INFO] [stderr] Compiling proc-macro2 v0.2.3 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling itertools v0.8.0 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling regex-syntax v0.6.10 [INFO] [stderr] Compiling nbt v0.1.0 (/opt/rustwide/workdir/nbt) [INFO] [stderr] Compiling pathfinding v1.1.12 [INFO] [stderr] Compiling quote v0.4.2 [INFO] [stderr] Compiling syn v0.12.15 [INFO] [stderr] Compiling chrono v0.4.7 [INFO] [stderr] Compiling stderrlog v0.4.1 [INFO] [stderr] Compiling regex v1.2.0 [INFO] [stderr] Compiling darling_core v0.3.2 [INFO] [stderr] Compiling python27-sys v0.2.1 [INFO] [stderr] Compiling darling_macro v0.3.2 [INFO] [stderr] Compiling darling v0.3.2 [INFO] [stderr] Compiling nbt-derive v0.1.0 (/opt/rustwide/workdir/nbt-derive) [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: 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] | ^^^ help: use `dyn`: `dyn Buf` [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 issue #80165 [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] | ^^^ help: use `dyn`: `dyn Buf` [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 issue #80165 [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: 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] | ^^^^ mutable borrow occurs here [INFO] [stdout] 194 | x: position.x(), [INFO] [stdout] | -------- immutable borrow later used 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: 10 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] | ^^^^^^ mutable borrow occurs here -------- immutable borrow later used 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: 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_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 dev [unoptimized + debuginfo] target(s) in 24.50s [INFO] running `Command { std: "docker" "inspect" "efaa4056f75e00e15751ec849798678ddc3ef7ec9d0d2c93ebf30ed87ef30eac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efaa4056f75e00e15751ec849798678ddc3ef7ec9d0d2c93ebf30ed87ef30eac", kill_on_drop: false }` [INFO] [stdout] efaa4056f75e00e15751ec849798678ddc3ef7ec9d0d2c93ebf30ed87ef30eac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cdade417697fa01b7180728f3d1d747a80529e146104d1994d9c490d16521543 [INFO] running `Command { std: "docker" "start" "-a" "cdade417697fa01b7180728f3d1d747a80529e146104d1994d9c490d16521543", kill_on_drop: false }` [INFO] [stderr] Compiling nbt v0.1.0 (/opt/rustwide/workdir/nbt) [INFO] [stderr] Compiling nbt-derive v0.1.0 (/opt/rustwide/workdir/nbt-derive) [INFO] [stderr] Compiling packets v0.1.0 (/opt/rustwide/workdir/packets) [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] | ^^^ help: use `dyn`: `dyn Buf` [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 issue #80165 [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] | ^^^ help: use `dyn`: `dyn Buf` [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 issue #80165 [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: 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] [stderr] Compiling minebot v0.1.0 (/opt/rustwide/workdir/minebot) [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] | ^^^^ mutable borrow occurs here [INFO] [stdout] 194 | x: position.x(), [INFO] [stdout] | -------- immutable borrow later used 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] [stderr] Compiling minebot-py v0.1.0 (/opt/rustwide/workdir/minebot-py) [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: 10 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] | ^^^^^^ mutable borrow occurs here -------- immutable borrow later used 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: 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] | ^^^ help: use `dyn`: `dyn Buf` [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 issue #80165 [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] | ^^^ help: use `dyn`: `dyn Buf` [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 issue #80165 [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: 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 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] | ^^^^ mutable borrow occurs here [INFO] [stdout] 194 | x: position.x(), [INFO] [stdout] | -------- immutable borrow later used 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: 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: 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: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: 10 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: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: 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_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.74s [INFO] running `Command { std: "docker" "inspect" "cdade417697fa01b7180728f3d1d747a80529e146104d1994d9c490d16521543", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdade417697fa01b7180728f3d1d747a80529e146104d1994d9c490d16521543", kill_on_drop: false }` [INFO] [stdout] cdade417697fa01b7180728f3d1d747a80529e146104d1994d9c490d16521543 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e0d5245fb950f21b33ffa2555e0ae02ee3d1f45faa264ce9b682fcb0b487fee3 [INFO] running `Command { std: "docker" "start" "-a" "e0d5245fb950f21b33ffa2555e0ae02ee3d1f45faa264ce9b682fcb0b487fee3", kill_on_drop: false }` [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] | ^^^ help: use `dyn`: `dyn Buf` [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 issue #80165 [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] | ^^^ help: use `dyn`: `dyn Buf` [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 issue #80165 [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: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: 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] | ^^^^ mutable borrow occurs here [INFO] [stderr] 194 | x: position.x(), [INFO] [stderr] | -------- immutable borrow later used 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 10 warnings [INFO] [stderr] warning: `minebot` (lib test) generated 10 warnings (10 duplicates) [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] [stdout] [INFO] [stderr] warning: cannot borrow `*client` as mutable because it is also borrowed as immutable [INFO] [stdout] running 0 tests [INFO] [stderr] --> minebot/src/main.rs:24:5 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 23 | let position = client.my_position(); [INFO] [stdout] [INFO] [stderr] | ------ immutable borrow occurs here [INFO] [stderr] 24 | client.say(format!("My position is: ({}, {}, {})", position.x(), position.y(), position.z())) [INFO] [stderr] | ^^^^^^ mutable borrow occurs here -------- immutable borrow later used 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: `minebot-py` (lib test) generated 24 warnings (11 duplicates) [INFO] [stderr] warning: `minebot` (bin "minebot" test) generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/minebot-f1de9fcd89153a28) [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/minebot-f1cf28ffe3736166) [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/minebot-b2ad9a9519a382ee) [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-96be5b7423892419) [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] [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-a952fc947478dd8b) [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-ce5b5f359331f167) [INFO] [stdout] [INFO] [stderr] Doc-tests minebot [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] [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] [stderr] Doc-tests nbt-derive [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] [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" "e0d5245fb950f21b33ffa2555e0ae02ee3d1f45faa264ce9b682fcb0b487fee3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0d5245fb950f21b33ffa2555e0ae02ee3d1f45faa264ce9b682fcb0b487fee3", kill_on_drop: false }` [INFO] [stdout] e0d5245fb950f21b33ffa2555e0ae02ee3d1f45faa264ce9b682fcb0b487fee3