[INFO] fetching crate learnwell 0.2.1... [INFO] testing learnwell-0.2.1 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate learnwell 0.2.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate learnwell 0.2.1 [INFO] finished tweaking crates.io crate learnwell 0.2.1 [INFO] tweaked toml for crates.io crate learnwell 0.2.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate learnwell 0.2.1 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate learnwell 0.2.1 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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f1bfaa9c7d66378c8a8c67fa6de5ca81c1809e946bb7350f2d06f24bebb93155 [INFO] running `Command { std: "docker" "start" "-a" "f1bfaa9c7d66378c8a8c67fa6de5ca81c1809e946bb7350f2d06f24bebb93155", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1bfaa9c7d66378c8a8c67fa6de5ca81c1809e946bb7350f2d06f24bebb93155", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1bfaa9c7d66378c8a8c67fa6de5ca81c1809e946bb7350f2d06f24bebb93155", kill_on_drop: false }` [INFO] [stdout] f1bfaa9c7d66378c8a8c67fa6de5ca81c1809e946bb7350f2d06f24bebb93155 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7e67ae6c177e7dfca930f7b4a1cbddee0ca535263a50cff751f4b67f394d32a [INFO] running `Command { std: "docker" "start" "-a" "f7e67ae6c177e7dfca930f7b4a1cbddee0ca535263a50cff751f4b67f394d32a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling proc-macro2 v1.0.49 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling once_cell v1.17.0 [INFO] [stderr] Compiling cc v1.0.78 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling parking_lot_core v0.9.5 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling cmake v0.1.49 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling semver v1.0.16 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling ash v0.37.2+1.3.238 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling bytemuck v1.12.3 [INFO] [stderr] Compiling nom v7.1.2 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.0 [INFO] [stderr] Compiling crossfont v0.5.1 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.1 [INFO] [stderr] Compiling gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling foreign-types-shared v0.3.1 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling futures-sink v0.3.25 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling tiny-skia-path v0.7.0 [INFO] [stderr] Compiling wgpu-core v0.13.2 [INFO] [stderr] Compiling png v0.17.7 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling gpu-alloc v0.5.3 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling x11-dl v2.20.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling wgpu-types v0.13.2 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling servo-fontconfig v0.5.1 [INFO] [stderr] Compiling freetype-rs v0.26.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling memmap2 v0.5.8 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling glow v0.11.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling profiling v1.0.7 [INFO] [stderr] Compiling renderdoc-sys v0.7.1 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling rustversion v1.0.11 [INFO] [stderr] Compiling inplace_it v0.3.5 [INFO] [stderr] Compiling futures-io v0.3.25 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling gpu-descriptor v0.2.3 [INFO] [stderr] Compiling tiny-skia v0.7.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling matrixmultiply v0.3.2 [INFO] [stderr] Compiling show-image v0.13.1 [INFO] [stderr] Compiling num-complex v0.4.3 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Compiling raw-window-handle v0.5.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling glam v0.21.3 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling foreign-types-macros v0.2.2 [INFO] [stderr] Compiling show-image-macros v0.12.3 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling futures-executor v0.3.25 [INFO] [stderr] Compiling futures v0.3.25 [INFO] [stderr] Compiling naga v0.9.0 [INFO] [stderr] Compiling calloop v0.10.5 [INFO] [stderr] Compiling foreign-types v0.5.0 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling runnt v0.6.0 [INFO] [stderr] Compiling wgpu-hal v0.13.2 [INFO] [stderr] Compiling wgpu v0.13.1 [INFO] [stderr] Compiling sctk-adwaita v0.4.3 [INFO] [stderr] Compiling winit v0.27.5 [INFO] [stderr] Compiling learnwell v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/agent/deepqlearning.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | strategy: Box<(dyn ExploreStrategy + Send)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 17 - strategy: Box<(dyn ExploreStrategy + Send)>, [INFO] [stdout] 17 + strategy: Box + Send>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/agent/qlearning.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | strategy: Box<(dyn ExploreStrategy + Send)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 13 - strategy: Box<(dyn ExploreStrategy + Send)>, [INFO] [stdout] 13 + strategy: Box + Send>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/environment.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | fn get_image(&mut self) -> ImageView; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 15 | fn get_image(&mut self) -> ImageView<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 46s [INFO] running `Command { std: "docker" "inspect" "f7e67ae6c177e7dfca930f7b4a1cbddee0ca535263a50cff751f4b67f394d32a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7e67ae6c177e7dfca930f7b4a1cbddee0ca535263a50cff751f4b67f394d32a", kill_on_drop: false }` [INFO] [stdout] f7e67ae6c177e7dfca930f7b4a1cbddee0ca535263a50cff751f4b67f394d32a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 99eef1a7b25719ead2a398fd7e260be89ecedca2cbe987969bd6d46b914dbcd2 [INFO] running `Command { std: "docker" "start" "-a" "99eef1a7b25719ead2a398fd7e260be89ecedca2cbe987969bd6d46b914dbcd2", kill_on_drop: false }` [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/agent/deepqlearning.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | strategy: Box<(dyn ExploreStrategy + Send)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 17 - strategy: Box<(dyn ExploreStrategy + Send)>, [INFO] [stdout] 17 + strategy: Box + Send>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/agent/qlearning.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | strategy: Box<(dyn ExploreStrategy + Send)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 13 - strategy: Box<(dyn ExploreStrategy + Send)>, [INFO] [stdout] 13 + strategy: Box + Send>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/environment.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | fn get_image(&mut self) -> ImageView; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 15 | fn get_image(&mut self) -> ImageView<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling learnwell v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/agent/deepqlearning.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | strategy: Box<(dyn ExploreStrategy + Send)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 17 - strategy: Box<(dyn ExploreStrategy + Send)>, [INFO] [stdout] 17 + strategy: Box + Send>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/agent/qlearning.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | strategy: Box<(dyn ExploreStrategy + Send)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 13 - strategy: Box<(dyn ExploreStrategy + Send)>, [INFO] [stdout] 13 + strategy: Box + Send>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/environment.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | fn get_image(&mut self) -> ImageView; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 15 | fn get_image(&mut self) -> ImageView<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX` is never used [INFO] [stdout] --> examples/environments/hike.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const MAX: usize = 650; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Hike` is never constructed [INFO] [stdout] --> examples/environments/hike.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Hike { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GridVal` is never constructed [INFO] [stdout] --> examples/environments/hike.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | struct GridVal { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> examples/environments/hike.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MyAction` is never used [INFO] [stdout] --> examples/environments/hike.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | pub enum MyAction { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyState` is never constructed [INFO] [stdout] --> examples/environments/hike.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct MyState { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `valid_actions`, and `update_pixels` are never used [INFO] [stdout] --> examples/environments/hike.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl Hike { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 76 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | fn valid_actions(&self, grid: &Vec>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | fn update_pixels(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_grid` is never used [INFO] [stdout] --> examples/environments/hike.rs:182:4 [INFO] [stdout] | [INFO] [stdout] 182 | fn load_grid() -> Vec>{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dis` is never used [INFO] [stdout] --> examples/environments/hike.rs:274:4 [INFO] [stdout] | [INFO] [stdout] 274 | fn dis(a: &Point, b: &Point) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `on_finish` is never used [INFO] [stdout] --> examples/environments/hike.rs:278:4 [INFO] [stdout] | [INFO] [stdout] 278 | fn on_finish(env: &mut Hike, step: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `GRID_RAW` is never used [INFO] [stdout] --> examples/environments/hike.rs:306:8 [INFO] [stdout] | [INFO] [stdout] 306 | static GRID_RAW: &str = [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> examples/environments/mouse.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MouseState` is never constructed [INFO] [stdout] --> examples/environments/mouse.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct MouseState { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MouseAction` is never used [INFO] [stdout] --> examples/environments/mouse.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | pub enum MouseAction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MouseEnvironment` is never constructed [INFO] [stdout] --> examples/environments/mouse.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct MouseEnvironment { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `save_image` is never used [INFO] [stdout] --> examples/environments/mouse.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 55 | impl MouseEnvironment { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 56 | fn save_image(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> examples/environments/hike.rs:266:18 [INFO] [stdout] | [INFO] [stdout] 266 | fn get_image(&mut self) -> ImageView { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 266 | fn get_image(&mut self) -> ImageView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> examples/environments/mouse.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MouseState` is never constructed [INFO] [stdout] --> examples/environments/mouse.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct MouseState { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MouseAction` is never used [INFO] [stdout] --> examples/environments/mouse.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | pub enum MouseAction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MouseEnvironment` is never constructed [INFO] [stdout] --> examples/environments/mouse.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct MouseEnvironment { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `save_image` is never used [INFO] [stdout] --> examples/environments/mouse.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 55 | impl MouseEnvironment { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 56 | fn save_image(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaxiState` is never constructed [INFO] [stdout] --> examples/environments/taxi.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct TaxiState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> examples/environments/taxi.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TaxiAction` is never used [INFO] [stdout] --> examples/environments/taxi.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | pub enum TaxiAction { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaxiEnvironment` is never constructed [INFO] [stdout] --> examples/environments/taxi.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct TaxiEnvironment { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_finished` and `save_image` are never used [INFO] [stdout] --> examples/environments/taxi.rs:203:8 [INFO] [stdout] | [INFO] [stdout] 202 | impl TaxiEnvironment { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 203 | fn is_finished(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | fn save_image(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> examples/environments/hike.rs:266:18 [INFO] [stdout] | [INFO] [stdout] 266 | fn get_image(&mut self) -> ImageView { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 266 | fn get_image(&mut self) -> ImageView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> examples/environments/mouse.rs:175:18 [INFO] [stdout] | [INFO] [stdout] 175 | fn get_image(&mut self) -> show_image::ImageView { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 175 | fn get_image(&mut self) -> show_image::ImageView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> examples/environments/taxi.rs:195:18 [INFO] [stdout] | [INFO] [stdout] 195 | fn get_image(&mut self) -> show_image::ImageView { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 195 | fn get_image(&mut self) -> show_image::ImageView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> examples/environments/mouse.rs:175:18 [INFO] [stdout] | [INFO] [stdout] 175 | fn get_image(&mut self) -> show_image::ImageView { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 175 | fn get_image(&mut self) -> show_image::ImageView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> examples/environments/taxi.rs:195:18 [INFO] [stdout] | [INFO] [stdout] 195 | fn get_image(&mut self) -> show_image::ImageView { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 195 | fn get_image(&mut self) -> show_image::ImageView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX` is never used [INFO] [stdout] --> examples/environments/hike.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const MAX: usize = 650; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Hike` is never constructed [INFO] [stdout] --> examples/environments/hike.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Hike { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GridVal` is never constructed [INFO] [stdout] --> examples/environments/hike.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | struct GridVal { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> examples/environments/hike.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MyAction` is never used [INFO] [stdout] --> examples/environments/hike.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | pub enum MyAction { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyState` is never constructed [INFO] [stdout] --> examples/environments/hike.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct MyState { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `valid_actions`, and `update_pixels` are never used [INFO] [stdout] --> examples/environments/hike.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl Hike { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 76 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | fn valid_actions(&self, grid: &Vec>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | fn update_pixels(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_grid` is never used [INFO] [stdout] --> examples/environments/hike.rs:182:4 [INFO] [stdout] | [INFO] [stdout] 182 | fn load_grid() -> Vec>{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dis` is never used [INFO] [stdout] --> examples/environments/hike.rs:274:4 [INFO] [stdout] | [INFO] [stdout] 274 | fn dis(a: &Point, b: &Point) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `on_finish` is never used [INFO] [stdout] --> examples/environments/hike.rs:278:4 [INFO] [stdout] | [INFO] [stdout] 278 | fn on_finish(env: &mut Hike, step: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `GRID_RAW` is never used [INFO] [stdout] --> examples/environments/hike.rs:306:8 [INFO] [stdout] | [INFO] [stdout] 306 | static GRID_RAW: &str = [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaxiState` is never constructed [INFO] [stdout] --> examples/environments/taxi.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct TaxiState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> examples/environments/taxi.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TaxiAction` is never used [INFO] [stdout] --> examples/environments/taxi.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | pub enum TaxiAction { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaxiEnvironment` is never constructed [INFO] [stdout] --> examples/environments/taxi.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct TaxiEnvironment { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_finished` and `save_image` are never used [INFO] [stdout] --> examples/environments/taxi.rs:203:8 [INFO] [stdout] | [INFO] [stdout] 202 | impl TaxiEnvironment { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 203 | fn is_finished(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | fn save_image(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> examples/environments/hike.rs:266:18 [INFO] [stdout] | [INFO] [stdout] 266 | fn get_image(&mut self) -> ImageView { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 266 | fn get_image(&mut self) -> ImageView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> examples/environments/mouse.rs:175:18 [INFO] [stdout] | [INFO] [stdout] 175 | fn get_image(&mut self) -> show_image::ImageView { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 175 | fn get_image(&mut self) -> show_image::ImageView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> examples/environments/taxi.rs:195:18 [INFO] [stdout] | [INFO] [stdout] 195 | fn get_image(&mut self) -> show_image::ImageView { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 195 | fn get_image(&mut self) -> show_image::ImageView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX` is never used [INFO] [stdout] --> examples/environments/hike.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const MAX: usize = 650; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Hike` is never constructed [INFO] [stdout] --> examples/environments/hike.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Hike { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GridVal` is never constructed [INFO] [stdout] --> examples/environments/hike.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | struct GridVal { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> examples/environments/hike.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MyAction` is never used [INFO] [stdout] --> examples/environments/hike.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | pub enum MyAction { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyState` is never constructed [INFO] [stdout] --> examples/environments/hike.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct MyState { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `valid_actions`, and `update_pixels` are never used [INFO] [stdout] --> examples/environments/hike.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl Hike { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 76 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | fn valid_actions(&self, grid: &Vec>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | fn update_pixels(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_grid` is never used [INFO] [stdout] --> examples/environments/hike.rs:182:4 [INFO] [stdout] | [INFO] [stdout] 182 | fn load_grid() -> Vec>{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dis` is never used [INFO] [stdout] --> examples/environments/hike.rs:274:4 [INFO] [stdout] | [INFO] [stdout] 274 | fn dis(a: &Point, b: &Point) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `on_finish` is never used [INFO] [stdout] --> examples/environments/hike.rs:278:4 [INFO] [stdout] | [INFO] [stdout] 278 | fn on_finish(env: &mut Hike, step: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `GRID_RAW` is never used [INFO] [stdout] --> examples/environments/hike.rs:306:8 [INFO] [stdout] | [INFO] [stdout] 306 | static GRID_RAW: &str = [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> examples/environments/mouse.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MouseState` is never constructed [INFO] [stdout] --> examples/environments/mouse.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct MouseState { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MouseAction` is never used [INFO] [stdout] --> examples/environments/mouse.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | pub enum MouseAction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MouseEnvironment` is never constructed [INFO] [stdout] --> examples/environments/mouse.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct MouseEnvironment { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `save_image` is never used [INFO] [stdout] --> examples/environments/mouse.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 55 | impl MouseEnvironment { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 56 | fn save_image(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> examples/environments/hike.rs:266:18 [INFO] [stdout] | [INFO] [stdout] 266 | fn get_image(&mut self) -> ImageView { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 266 | fn get_image(&mut self) -> ImageView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> examples/environments/mouse.rs:175:18 [INFO] [stdout] | [INFO] [stdout] 175 | fn get_image(&mut self) -> show_image::ImageView { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 175 | fn get_image(&mut self) -> show_image::ImageView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> examples/environments/taxi.rs:195:18 [INFO] [stdout] | [INFO] [stdout] 195 | fn get_image(&mut self) -> show_image::ImageView { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 195 | fn get_image(&mut self) -> show_image::ImageView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX` is never used [INFO] [stdout] --> examples/environments/hike.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const MAX: usize = 650; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Hike` is never constructed [INFO] [stdout] --> examples/environments/hike.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Hike { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GridVal` is never constructed [INFO] [stdout] --> examples/environments/hike.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | struct GridVal { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> examples/environments/hike.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MyAction` is never used [INFO] [stdout] --> examples/environments/hike.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | pub enum MyAction { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyState` is never constructed [INFO] [stdout] --> examples/environments/hike.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct MyState { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `valid_actions`, and `update_pixels` are never used [INFO] [stdout] --> examples/environments/hike.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl Hike { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 76 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | fn valid_actions(&self, grid: &Vec>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | fn update_pixels(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_grid` is never used [INFO] [stdout] --> examples/environments/hike.rs:182:4 [INFO] [stdout] | [INFO] [stdout] 182 | fn load_grid() -> Vec>{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dis` is never used [INFO] [stdout] --> examples/environments/hike.rs:274:4 [INFO] [stdout] | [INFO] [stdout] 274 | fn dis(a: &Point, b: &Point) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `on_finish` is never used [INFO] [stdout] --> examples/environments/hike.rs:278:4 [INFO] [stdout] | [INFO] [stdout] 278 | fn on_finish(env: &mut Hike, step: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `GRID_RAW` is never used [INFO] [stdout] --> examples/environments/hike.rs:306:8 [INFO] [stdout] | [INFO] [stdout] 306 | static GRID_RAW: &str = [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaxiState` is never constructed [INFO] [stdout] --> examples/environments/taxi.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct TaxiState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> examples/environments/taxi.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TaxiAction` is never used [INFO] [stdout] --> examples/environments/taxi.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | pub enum TaxiAction { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaxiEnvironment` is never constructed [INFO] [stdout] --> examples/environments/taxi.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct TaxiEnvironment { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_finished` and `save_image` are never used [INFO] [stdout] --> examples/environments/taxi.rs:203:8 [INFO] [stdout] | [INFO] [stdout] 202 | impl TaxiEnvironment { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 203 | fn is_finished(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | fn save_image(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> examples/environments/hike.rs:266:18 [INFO] [stdout] | [INFO] [stdout] 266 | fn get_image(&mut self) -> ImageView { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 266 | fn get_image(&mut self) -> ImageView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> examples/environments/mouse.rs:175:18 [INFO] [stdout] | [INFO] [stdout] 175 | fn get_image(&mut self) -> show_image::ImageView { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 175 | fn get_image(&mut self) -> show_image::ImageView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> examples/environments/taxi.rs:195:18 [INFO] [stdout] | [INFO] [stdout] 195 | fn get_image(&mut self) -> show_image::ImageView { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 195 | fn get_image(&mut self) -> show_image::ImageView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.64s [INFO] running `Command { std: "docker" "inspect" "99eef1a7b25719ead2a398fd7e260be89ecedca2cbe987969bd6d46b914dbcd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99eef1a7b25719ead2a398fd7e260be89ecedca2cbe987969bd6d46b914dbcd2", kill_on_drop: false }` [INFO] [stdout] 99eef1a7b25719ead2a398fd7e260be89ecedca2cbe987969bd6d46b914dbcd2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 137b3334268cc3154e7064e405142f668693b653e268ffdd58f6a1ca1a517c29 [INFO] running `Command { std: "docker" "start" "-a" "137b3334268cc3154e7064e405142f668693b653e268ffdd58f6a1ca1a517c29", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/agent/deepqlearning.rs:17:19 [INFO] [stderr] | [INFO] [stderr] 17 | strategy: Box<(dyn ExploreStrategy + Send)>, [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 17 - strategy: Box<(dyn ExploreStrategy + Send)>, [INFO] [stderr] 17 + strategy: Box + Send>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/agent/qlearning.rs:13:19 [INFO] [stderr] | [INFO] [stderr] 13 | strategy: Box<(dyn ExploreStrategy + Send)>, [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 13 - strategy: Box<(dyn ExploreStrategy + Send)>, [INFO] [stderr] 13 + strategy: Box + Send>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/environment.rs:15:18 [INFO] [stderr] | [INFO] [stderr] 15 | fn get_image(&mut self) -> ImageView; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 15 | fn get_image(&mut self) -> ImageView<'_>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `learnwell` (lib) generated 3 warnings (run `cargo fix --lib -p learnwell` to apply 3 suggestions) [INFO] [stderr] warning: `learnwell` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] warning: constant `MAX` is never used [INFO] [stderr] --> examples/environments/hike.rs:19:7 [INFO] [stderr] | [INFO] [stderr] 19 | const MAX: usize = 650; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Hike` is never constructed [INFO] [stderr] --> examples/environments/hike.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 21 | pub struct Hike { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `GridVal` is never constructed [INFO] [stderr] --> examples/environments/hike.rs:36:8 [INFO] [stderr] | [INFO] [stderr] 36 | struct GridVal { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Point` is never constructed [INFO] [stderr] --> examples/environments/hike.rs:42:8 [INFO] [stderr] | [INFO] [stderr] 42 | struct Point { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `MyAction` is never used [INFO] [stderr] --> examples/environments/hike.rs:48:10 [INFO] [stderr] | [INFO] [stderr] 48 | pub enum MyAction { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `MyState` is never constructed [INFO] [stderr] --> examples/environments/hike.rs:56:12 [INFO] [stderr] | [INFO] [stderr] 56 | pub struct MyState { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `valid_actions`, and `update_pixels` are never used [INFO] [stderr] --> examples/environments/hike.rs:76:12 [INFO] [stderr] | [INFO] [stderr] 75 | impl Hike { [INFO] [stderr] | --------- associated items in this implementation [INFO] [stderr] 76 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 100 | fn valid_actions(&self, grid: &Vec>) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 143 | fn update_pixels(&mut self){ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `load_grid` is never used [INFO] [stderr] --> examples/environments/hike.rs:182:4 [INFO] [stderr] | [INFO] [stderr] 182 | fn load_grid() -> Vec>{ [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `dis` is never used [INFO] [stderr] --> examples/environments/hike.rs:274:4 [INFO] [stderr] | [INFO] [stderr] 274 | fn dis(a: &Point, b: &Point) -> f64 { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `on_finish` is never used [INFO] [stderr] --> examples/environments/hike.rs:278:4 [INFO] [stderr] | [INFO] [stderr] 278 | fn on_finish(env: &mut Hike, step: usize) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: static `GRID_RAW` is never used [INFO] [stderr] --> examples/environments/hike.rs:306:8 [INFO] [stderr] | [INFO] [stderr] 306 | static GRID_RAW: &str = [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `TaxiState` is never constructed [INFO] [stderr] --> examples/environments/taxi.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 26 | pub struct TaxiState { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Point` is never constructed [INFO] [stderr] --> examples/environments/taxi.rs:65:12 [INFO] [stderr] | [INFO] [stderr] 65 | pub struct Point { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `TaxiAction` is never used [INFO] [stderr] --> examples/environments/taxi.rs:73:10 [INFO] [stderr] | [INFO] [stderr] 73 | pub enum TaxiAction { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `TaxiEnvironment` is never constructed [INFO] [stderr] --> examples/environments/taxi.rs:93:12 [INFO] [stderr] | [INFO] [stderr] 93 | pub struct TaxiEnvironment { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `is_finished` and `save_image` are never used [INFO] [stderr] --> examples/environments/taxi.rs:203:8 [INFO] [stderr] | [INFO] [stderr] 202 | impl TaxiEnvironment { [INFO] [stderr] | -------------------- methods in this implementation [INFO] [stderr] 203 | fn is_finished(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 216 | fn save_image(&mut self) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> examples/environments/hike.rs:266:18 [INFO] [stderr] | [INFO] [stderr] 266 | fn get_image(&mut self) -> ImageView { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 266 | fn get_image(&mut self) -> ImageView<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> examples/environments/mouse.rs:175:18 [INFO] [stderr] | [INFO] [stderr] 175 | fn get_image(&mut self) -> show_image::ImageView { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 175 | fn get_image(&mut self) -> show_image::ImageView<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> examples/environments/taxi.rs:195:18 [INFO] [stderr] | [INFO] [stderr] 195 | fn get_image(&mut self) -> show_image::ImageView { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 195 | fn get_image(&mut self) -> show_image::ImageView<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: struct `Point` is never constructed [INFO] [stderr] --> examples/environments/mouse.rs:13:8 [INFO] [stderr] | [INFO] [stderr] 13 | struct Point { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `MouseState` is never constructed [INFO] [stderr] --> examples/environments/mouse.rs:19:12 [INFO] [stderr] | [INFO] [stderr] 19 | pub struct MouseState { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `MouseAction` is never used [INFO] [stderr] --> examples/environments/mouse.rs:40:10 [INFO] [stderr] | [INFO] [stderr] 40 | pub enum MouseAction { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `MouseEnvironment` is never constructed [INFO] [stderr] --> examples/environments/mouse.rs:48:12 [INFO] [stderr] | [INFO] [stderr] 48 | pub struct MouseEnvironment { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `save_image` is never used [INFO] [stderr] --> examples/environments/mouse.rs:56:8 [INFO] [stderr] | [INFO] [stderr] 55 | impl MouseEnvironment { [INFO] [stderr] | --------------------- method in this implementation [INFO] [stderr] 56 | fn save_image(&mut self) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Point` is never constructed [INFO] [stderr] --> examples/environments/mouse.rs:13:8 [INFO] [stderr] | [INFO] [stderr] 13 | struct Point { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `learnwell` (example "mouse") generated 19 warnings (run `cargo fix --example "mouse"` to apply 3 suggestions) [INFO] [stderr] warning: `learnwell` (example "mouseimage") generated 19 warnings (19 duplicates) [INFO] [stderr] warning: `learnwell` (example "taxiimage") generated 19 warnings (14 duplicates) [INFO] [stderr] warning: `learnwell` (example "taxi") generated 19 warnings (19 duplicates) [INFO] [stderr] warning: `learnwell` (example "hike") generated 13 warnings (12 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/learnwell-f7099591241edbab) [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 learnwell [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/agent/deepqlearning.rs:17:19 [INFO] [stderr] | [INFO] [stderr] 17 | strategy: Box<(dyn ExploreStrategy + Send)>, [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 17 - strategy: Box<(dyn ExploreStrategy + Send)>, [INFO] [stderr] 17 + strategy: Box + Send>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/agent/qlearning.rs:13:19 [INFO] [stderr] | [INFO] [stderr] 13 | strategy: Box<(dyn ExploreStrategy + Send)>, [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 13 - strategy: Box<(dyn ExploreStrategy + Send)>, [INFO] [stderr] 13 + strategy: Box + Send>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [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" "137b3334268cc3154e7064e405142f668693b653e268ffdd58f6a1ca1a517c29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "137b3334268cc3154e7064e405142f668693b653e268ffdd58f6a1ca1a517c29", kill_on_drop: false }` [INFO] [stdout] 137b3334268cc3154e7064e405142f668693b653e268ffdd58f6a1ca1a517c29