[INFO] cloning repository https://github.com/jimblandy/rbattle [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jimblandy/rbattle" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimblandy%2Frbattle", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimblandy%2Frbattle'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d4325460d27418dd8aae04a785067fc730f6cf0b [INFO] testing jimblandy/rbattle against 1.90.0 for beta-1.91-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimblandy%2Frbattle" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jimblandy/rbattle [INFO] finished tweaking git repo https://github.com/jimblandy/rbattle [INFO] tweaked toml for git repo https://github.com/jimblandy/rbattle written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jimblandy/rbattle on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jimblandy/rbattle already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.40 [INFO] [stderr] Downloaded unicode-ident v1.0.1 [INFO] [stderr] Downloaded addr2line v0.17.0 [INFO] [stderr] Downloaded serde_derive v1.0.137 [INFO] [stderr] Downloaded x11-dl v2.19.1 [INFO] [stderr] Downloaded backtrace v0.3.65 [INFO] [stderr] Downloaded serde_json v1.0.81 [INFO] [stderr] Downloaded gimli v0.26.1 [INFO] [stderr] Downloaded glium v0.22.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f45740905c931abf50c641f15f5971a8c3c5bd7f8699c91e4c4765d7ce78fce [INFO] running `Command { std: "docker" "start" "-a" "9f45740905c931abf50c641f15f5971a8c3c5bd7f8699c91e4c4765d7ce78fce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f45740905c931abf50c641f15f5971a8c3c5bd7f8699c91e4c4765d7ce78fce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f45740905c931abf50c641f15f5971a8c3c5bd7f8699c91e4c4765d7ce78fce", kill_on_drop: false }` [INFO] [stdout] 9f45740905c931abf50c641f15f5971a8c3c5bd7f8699c91e4c4765d7ce78fce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee8009938502199bdb33dcf66af5b50f1ab3fd510bcf1a8e1c91331aca62787f [INFO] running `Command { std: "docker" "start" "-a" "ee8009938502199bdb33dcf66af5b50f1ab3fd510bcf1a8e1c91331aca62787f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling nix v0.11.1 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling wayland-sys v0.20.12 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling wayland-commons v0.20.12 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling wayland-scanner v0.20.12 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling object v0.28.4 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling wayland-client v0.20.12 [INFO] [stderr] Compiling wayland-protocols v0.20.12 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling backtrace v0.3.65 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling memmap v0.6.2 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling glutin v0.17.0 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling glium v0.22.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling tokio-core v0.1.18 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling take v0.1.0 [INFO] [stderr] Compiling smallvec v0.2.1 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling tokio-proto v0.1.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.2.6 [INFO] [stderr] Compiling winit v0.16.2 [INFO] [stderr] Compiling rbattle v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stdout] --> src/errors.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / error_chain! { [INFO] [stdout] 3 | | links { } [INFO] [stdout] 4 | | foreign_links { [INFO] [stdout] 5 | | Io(::std::io::Error); [INFO] [stdout] 6 | | } [INFO] [stdout] 7 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/math.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | fn from([f32; 3]) -> Self; [INFO] [stdout] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: [f32; 3]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/math.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | (m[0][0] * (m[1][1] * m[2][2] - m[2][1] * m[1][2]) - [INFO] [stdout] | ^ [INFO] [stdout] 124 | m[1][0] * (m[0][1] * m[2][2] - m[2][1] * m[0][2]) + [INFO] [stdout] 125 | m[2][0] * (m[0][1] * m[1][2] - m[1][1] * m[0][2])) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 123 ~ m[0][0] * (m[1][1] * m[2][2] - m[2][1] * m[1][2]) - [INFO] [stdout] 124 | m[1][0] * (m[0][1] * m[2][2] - m[2][1] * m[0][2]) + [INFO] [stdout] 125 ~ m[2][0] * (m[0][1] * m[1][2] - m[1][1] * m[0][2]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/visible_graph.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 81 | fn edge_hit(&self, &GraphPt) -> Option<(Node, Node)>; [INFO] [stdout] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &GraphPt` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/drawer.rs:224:1 [INFO] [stdout] | [INFO] [stdout] 224 | implement_vertex!(GraphVertex, point); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/drawer.rs:315:1 [INFO] [stdout] | [INFO] [stdout] 315 | implement_vertex!(UVVertex, vertex_uv); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (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] --> src/scheduler.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | pending_actions: Vec)>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | pending_actions: Vec)>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/protocol.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | type Future = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 96 | type Future = Box>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/drawer.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn new(display: &Facade, map: &Map) -> Result [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 72 | pub fn new(display: &dyn Facade, map: &Map) -> Result [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/drawer.rs:155:22 [INFO] [stdout] | [INFO] [stdout] 155 | fn new(display: &Facade, map: &Map) -> Result [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 155 | fn new(display: &dyn Facade, map: &Map) -> Result [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/drawer.rs:238:22 [INFO] [stdout] | [INFO] [stdout] 238 | fn new(display: &Facade, map: &Map) -> Result [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 238 | fn new(display: &dyn Facade, map: &Map) -> Result [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/drawer.rs:402:22 [INFO] [stdout] | [INFO] [stdout] 402 | fn new(display: &Facade, map: &Map) -> Result [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 402 | fn new(display: &dyn Facade, map: &Map) -> Result [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/drawer.rs:522:22 [INFO] [stdout] | [INFO] [stdout] 522 | fn new(display: &Facade, _map: &Map) -> Result [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 522 | fn new(display: &dyn Facade, _map: &Map) -> Result [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scheduler.rs:67:41 [INFO] [stdout] | [INFO] [stdout] 67 | reply_to: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 | reply_to: Box) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `neighbors` is never used [INFO] [stdout] --> src/graph.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Graph { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] ... [INFO] [stdout] 16 | fn neighbors(&self, node: Node) -> Vec; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.63s [INFO] running `Command { std: "docker" "inspect" "ee8009938502199bdb33dcf66af5b50f1ab3fd510bcf1a8e1c91331aca62787f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee8009938502199bdb33dcf66af5b50f1ab3fd510bcf1a8e1c91331aca62787f", kill_on_drop: false }` [INFO] [stdout] ee8009938502199bdb33dcf66af5b50f1ab3fd510bcf1a8e1c91331aca62787f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56022d1408524050da8303fea101437aa056c07e48fc32890fa2c702c534abb6 [INFO] running `Command { std: "docker" "start" "-a" "56022d1408524050da8303fea101437aa056c07e48fc32890fa2c702c534abb6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling rbattle v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/test_utils.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | (EqPoint(self.line.start) == EqPoint(other.line.start) && [INFO] [stdout] | ^ [INFO] [stdout] 157 | EqPoint(self.line.end) == EqPoint(other.line.end) && [INFO] [stdout] 158 | self.neighbor == other.neighbor) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 156 ~ EqPoint(self.line.start) == EqPoint(other.line.start) && [INFO] [stdout] 157 | EqPoint(self.line.end) == EqPoint(other.line.end) && [INFO] [stdout] 158 ~ self.neighbor == other.neighbor [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stdout] --> src/errors.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / error_chain! { [INFO] [stdout] 3 | | links { } [INFO] [stdout] 4 | | foreign_links { [INFO] [stdout] 5 | | Io(::std::io::Error); [INFO] [stdout] 6 | | } [INFO] [stdout] 7 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/math.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | fn from([f32; 3]) -> Self; [INFO] [stdout] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: [f32; 3]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/math.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | (m[0][0] * (m[1][1] * m[2][2] - m[2][1] * m[1][2]) - [INFO] [stdout] | ^ [INFO] [stdout] 124 | m[1][0] * (m[0][1] * m[2][2] - m[2][1] * m[0][2]) + [INFO] [stdout] 125 | m[2][0] * (m[0][1] * m[1][2] - m[1][1] * m[0][2])) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 123 ~ m[0][0] * (m[1][1] * m[2][2] - m[2][1] * m[1][2]) - [INFO] [stdout] 124 | m[1][0] * (m[0][1] * m[2][2] - m[2][1] * m[0][2]) + [INFO] [stdout] 125 ~ m[2][0] * (m[0][1] * m[1][2] - m[1][1] * m[0][2]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/visible_graph.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 81 | fn edge_hit(&self, &GraphPt) -> Option<(Node, Node)>; [INFO] [stdout] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &GraphPt` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/drawer.rs:224:1 [INFO] [stdout] | [INFO] [stdout] 224 | implement_vertex!(GraphVertex, point); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/drawer.rs:315:1 [INFO] [stdout] | [INFO] [stdout] 315 | implement_vertex!(UVVertex, vertex_uv); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (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] --> src/scheduler.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 31 | pending_actions: Vec)>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | pending_actions: Vec)>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/protocol.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | type Future = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 96 | type Future = Box>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/drawer.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn new(display: &Facade, map: &Map) -> Result [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 72 | pub fn new(display: &dyn Facade, map: &Map) -> Result [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/drawer.rs:155:22 [INFO] [stdout] | [INFO] [stdout] 155 | fn new(display: &Facade, map: &Map) -> Result [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 155 | fn new(display: &dyn Facade, map: &Map) -> Result [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/drawer.rs:238:22 [INFO] [stdout] | [INFO] [stdout] 238 | fn new(display: &Facade, map: &Map) -> Result [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 238 | fn new(display: &dyn Facade, map: &Map) -> Result [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/drawer.rs:402:22 [INFO] [stdout] | [INFO] [stdout] 402 | fn new(display: &Facade, map: &Map) -> Result [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 402 | fn new(display: &dyn Facade, map: &Map) -> Result [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/drawer.rs:522:22 [INFO] [stdout] | [INFO] [stdout] 522 | fn new(display: &Facade, _map: &Map) -> Result [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 522 | fn new(display: &dyn Facade, _map: &Map) -> Result [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scheduler.rs:67:41 [INFO] [stdout] | [INFO] [stdout] 67 | reply_to: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 | reply_to: Box) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/test_utils.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | ::std::mem::transmute::(f) [INFO] [stdout] | ---------------------------------^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_bits` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.65s [INFO] running `Command { std: "docker" "inspect" "56022d1408524050da8303fea101437aa056c07e48fc32890fa2c702c534abb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56022d1408524050da8303fea101437aa056c07e48fc32890fa2c702c534abb6", kill_on_drop: false }` [INFO] [stdout] 56022d1408524050da8303fea101437aa056c07e48fc32890fa2c702c534abb6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 212f05f6261c2925bb6aa3ef7153d6b8514c0dee035e9a3eff6ee8491b33172d [INFO] running `Command { std: "docker" "start" "-a" "212f05f6261c2925bb6aa3ef7153d6b8514c0dee035e9a3eff6ee8491b33172d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/test_utils.rs:156:9 [INFO] [stderr] | [INFO] [stderr] 156 | (EqPoint(self.line.start) == EqPoint(other.line.start) && [INFO] [stderr] | ^ [INFO] [stderr] 157 | EqPoint(self.line.end) == EqPoint(other.line.end) && [INFO] [stderr] 158 | self.neighbor == other.neighbor) [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 156 ~ EqPoint(self.line.start) == EqPoint(other.line.start) && [INFO] [stderr] 157 | EqPoint(self.line.end) == EqPoint(other.line.end) && [INFO] [stderr] 158 ~ self.neighbor == other.neighbor [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stderr] --> src/errors.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | / error_chain! { [INFO] [stderr] 3 | | links { } [INFO] [stderr] 4 | | foreign_links { [INFO] [stderr] 5 | | Io(::std::io::Error); [INFO] [stderr] 6 | | } [INFO] [stderr] 7 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/math.rs:49:13 [INFO] [stderr] | [INFO] [stderr] 49 | fn from([f32; 3]) -> Self; [INFO] [stderr] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: [f32; 3]` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/math.rs:123:5 [INFO] [stderr] | [INFO] [stderr] 123 | (m[0][0] * (m[1][1] * m[2][2] - m[2][1] * m[1][2]) - [INFO] [stderr] | ^ [INFO] [stderr] 124 | m[1][0] * (m[0][1] * m[2][2] - m[2][1] * m[0][2]) + [INFO] [stderr] 125 | m[2][0] * (m[0][1] * m[1][2] - m[1][1] * m[0][2])) [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 123 ~ m[0][0] * (m[1][1] * m[2][2] - m[2][1] * m[1][2]) - [INFO] [stderr] 124 | m[1][0] * (m[0][1] * m[2][2] - m[2][1] * m[0][2]) + [INFO] [stderr] 125 ~ m[2][0] * (m[0][1] * m[1][2] - m[1][1] * m[0][2]) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/visible_graph.rs:81:24 [INFO] [stderr] | [INFO] [stderr] 81 | fn edge_hit(&self, &GraphPt) -> Option<(Node, Node)>; [INFO] [stderr] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &GraphPt` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/drawer.rs:224:1 [INFO] [stderr] | [INFO] [stderr] 224 | implement_vertex!(GraphVertex, point); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/drawer.rs:315:1 [INFO] [stderr] | [INFO] [stderr] 315 | implement_vertex!(UVVertex, vertex_uv); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `implement_vertex` (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] --> src/scheduler.rs:31:53 [INFO] [stderr] | [INFO] [stderr] 31 | pending_actions: Vec)>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 31 | pending_actions: Vec)>>, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/protocol.rs:96:23 [INFO] [stderr] | [INFO] [stderr] 96 | type Future = Box>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 96 | type Future = Box>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/drawer.rs:72:26 [INFO] [stderr] | [INFO] [stderr] 72 | pub fn new(display: &Facade, map: &Map) -> Result [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 72 | pub fn new(display: &dyn Facade, map: &Map) -> Result [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/drawer.rs:155:22 [INFO] [stderr] | [INFO] [stderr] 155 | fn new(display: &Facade, map: &Map) -> Result [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 155 | fn new(display: &dyn Facade, map: &Map) -> Result [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/drawer.rs:238:22 [INFO] [stderr] | [INFO] [stderr] 238 | fn new(display: &Facade, map: &Map) -> Result [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 238 | fn new(display: &dyn Facade, map: &Map) -> Result [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/drawer.rs:402:22 [INFO] [stderr] | [INFO] [stderr] 402 | fn new(display: &Facade, map: &Map) -> Result [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 402 | fn new(display: &dyn Facade, map: &Map) -> Result [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/drawer.rs:522:22 [INFO] [stderr] | [INFO] [stderr] 522 | fn new(display: &Facade, _map: &Map) -> Result [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 522 | fn new(display: &dyn Facade, _map: &Map) -> Result [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/scheduler.rs:67:41 [INFO] [stderr] | [INFO] [stderr] 67 | reply_to: Box) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 67 | reply_to: Box) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/test_utils.rs:57:9 [INFO] [stderr] | [INFO] [stderr] 57 | ::std::mem::transmute::(f) [INFO] [stderr] | ---------------------------------^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `f32::to_bits` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rbattle` (bin "rbattle" test) generated 16 warnings (run `cargo fix --bin "rbattle" --tests` to apply 13 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rbattle-44a9eb947c74e0dc) [INFO] [stdout] [INFO] [stdout] running 24 tests [INFO] [stdout] test math::test::test_scale_transform ... ok [INFO] [stdout] test math::test::test_inverse ... ok [INFO] [stdout] test math::test::test_translate_transform ... ok [INFO] [stdout] test math::test::test_compose ... ok [INFO] [stdout] test square::square_grid_as_graph::edges ... ok [INFO] [stdout] test square::square_grid_as_graph::neighbors ... ok [INFO] [stdout] test square::square_grid_as_visible_graph::boundary ... ok [INFO] [stdout] test square::square_grid_as_graph::nodes ... ok [INFO] [stdout] test square::square_grid_as_visible_graph::center ... ok [INFO] [stdout] test square::square_grid_as_visible_graph::boundary_hit ... ok [INFO] [stdout] test square::square_grid_as_visible_graph::endpoints ... ok [INFO] [stdout] test square::square_grid_as_visible_graph::radius ... ok [INFO] [stdout] test state::test_attack_empty_cell ... ok [INFO] [stdout] test state::test_attack_occupied_cell ... ok [INFO] [stdout] test square::square_grid_as_visible_graph::bounds ... ok [INFO] [stdout] test state::test_attack_occupied_cell_losing ... ok [INFO] [stdout] test state::test_flow_empties_cell ... ok [INFO] [stdout] test state::test_flow_into_unoccupied_cell ... ok [INFO] [stdout] test state::test_friendly_flow_empties_cell ... ok [INFO] [stdout] test state::test_friendly_flow ... ok [INFO] [stdout] test state::test_no_flow_from_empty_cell ... ok [INFO] [stdout] test xorshift::simple ... ok [INFO] [stdout] test state::test_friendly_flow_max_goop ... ok [INFO] [stdout] test state::test_flow_from_unoccupied_cell - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 24 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "212f05f6261c2925bb6aa3ef7153d6b8514c0dee035e9a3eff6ee8491b33172d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "212f05f6261c2925bb6aa3ef7153d6b8514c0dee035e9a3eff6ee8491b33172d", kill_on_drop: false }` [INFO] [stdout] 212f05f6261c2925bb6aa3ef7153d6b8514c0dee035e9a3eff6ee8491b33172d