[INFO] cloning repository https://github.com/stevebob/gws [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stevebob/gws" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstevebob%2Fgws", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstevebob%2Fgws'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 572761ac06ef57b6cabfc5ae06a55c555f836e5a [INFO] testing stevebob/gws against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstevebob%2Fgws" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/stevebob/gws on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/stevebob/gws [INFO] finished tweaking git repo https://github.com/stevebob/gws [INFO] tweaked toml for git repo https://github.com/stevebob/gws written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/stevebob/gws already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded png v0.14.1 [INFO] [stderr] Downloaded rayon-core v1.6.0 [INFO] [stderr] Downloaded glutin_egl_sys v0.1.3 [INFO] [stderr] Downloaded whoami v0.5.3 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.53 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.53 [INFO] [stderr] Downloaded glyph_brush v0.4.3 [INFO] [stderr] Downloaded grid_2d v0.12.5 [INFO] [stderr] Downloaded coord_2d v0.2.12 [INFO] [stderr] Downloaded rayon v1.2.0 [INFO] [stderr] Downloaded wfc v0.8.1 [INFO] [stderr] Downloaded num_cpus v1.11.0 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.53 [INFO] [stderr] Downloaded wasm-bindgen v0.2.53 [INFO] [stderr] Downloaded synstructure v0.12.2 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.53 [INFO] [stderr] Downloaded memoffset v0.5.2 [INFO] [stderr] Downloaded image v0.21.3 [INFO] [stderr] Downloaded prototty_storage v0.27.0 [INFO] [stderr] Downloaded prototty_unix v0.27.0 [INFO] [stderr] Downloaded prototty_menu v0.27.0 [INFO] [stderr] Downloaded prototty_wasm_render v0.27.0 [INFO] [stderr] Downloaded prototty_monolithic_storage v0.27.0 [INFO] [stderr] Downloaded prototty_wasm_storage v0.27.0 [INFO] [stderr] Downloaded prototty_text v0.27.0 [INFO] [stderr] Downloaded shadowcast v0.5.6 [INFO] [stderr] Downloaded prototty_input v0.27.0 [INFO] [stderr] Downloaded prototty_wasm v0.27.0 [INFO] [stderr] Downloaded prototty_wasm_input v0.27.0 [INFO] [stderr] Downloaded prototty_glutin v0.27.0 [INFO] [stderr] Downloaded prototty_grid v0.27.0 [INFO] [stderr] Downloaded prototty_render v0.27.0 [INFO] [stderr] Downloaded direction v0.17.7 [INFO] [stderr] Downloaded simon v0.2.3 [INFO] [stderr] Downloaded prototty_file_storage v0.27.0 [INFO] [stderr] Downloaded bincode v1.2.0 [INFO] [stderr] Downloaded ansi_colour v0.5.3 [INFO] [stderr] Downloaded rgb24 v0.1.5 [INFO] [stderr] Downloaded grid_search v0.15.1 [INFO] [stderr] Downloaded prototty v0.27.0 [INFO] [stderr] Downloaded line_2d v0.1.1 [INFO] [stderr] Downloaded prototty_decorator v0.27.0 [INFO] [stderr] Downloaded best v0.13.0 [INFO] [stderr] Downloaded gfx_glyph v0.14.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4402ba76e84753df96d71db7185568a47a33ef0376581287c3c63e25772aeb18 [INFO] running `Command { std: "docker" "start" "-a" "4402ba76e84753df96d71db7185568a47a33ef0376581287c3c63e25772aeb18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4402ba76e84753df96d71db7185568a47a33ef0376581287c3c63e25772aeb18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4402ba76e84753df96d71db7185568a47a33ef0376581287c3c63e25772aeb18", kill_on_drop: false }` [INFO] [stdout] 4402ba76e84753df96d71db7185568a47a33ef0376581287c3c63e25772aeb18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a590b607cef69d347b4ffc5d70eb5eaed18312a989497a199258fc73f1f3d0e [INFO] running `Command { std: "docker" "start" "-a" "4a590b607cef69d347b4ffc5d70eb5eaed18312a989497a199258fc73f1f3d0e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.7 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.53 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling bumpalo v2.6.0 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling downcast-rs v1.1.1 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.53 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling rayon-core v1.6.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling xi-unicode v0.2.0 [INFO] [stderr] Compiling hashbrown v0.3.1 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling whoami v0.5.3 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling num_cpus v1.11.0 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling raw-window-handle v0.3.1 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling lock_api v0.3.1 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling bincode v1.2.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling simon v0.2.3 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling x11-dl v2.18.4 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling stb_truetype v0.3.0 [INFO] [stderr] Compiling rustc-hash v1.0.1 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling gl_generator v0.11.0 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling gfx_core v0.9.2 [INFO] [stderr] Compiling wayland-sys v0.21.13 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling memoffset v0.5.2 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling backtrace v0.3.40 [INFO] [stderr] Compiling glutin_egl_sys v0.1.3 [INFO] [stderr] Compiling glutin_glx_sys v0.1.5 [INFO] [stderr] Compiling gfx_gl v0.6.0 [INFO] [stderr] Compiling twox-hash v1.5.0 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling gfx v0.18.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling rusttype v0.8.1 [INFO] [stderr] Compiling png v0.14.1 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling glyph_brush_layout v0.1.8 [INFO] [stderr] Compiling rayon v1.2.0 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling glyph_brush v0.4.3 [INFO] [stderr] Compiling wayland-commons v0.21.13 [INFO] [stderr] Compiling gfx_glyph v0.14.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.16 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.53 [INFO] [stderr] Compiling tiff v0.2.2 [INFO] [stderr] Compiling image v0.21.3 [INFO] [stderr] Compiling gfx_device_gl v0.16.2 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.53 [INFO] [stderr] Compiling serde_derive v1.0.102 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.53 [INFO] [stderr] Compiling image-to-text v0.1.0 (/opt/rustwide/workdir/image-to-text) [INFO] [stderr] Compiling coord_2d v0.2.12 [INFO] [stderr] Compiling rgb24 v0.1.5 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling prototty_storage v0.27.0 [INFO] [stderr] Compiling hashbrown v0.1.8 [INFO] [stderr] Compiling best v0.13.0 [INFO] [stderr] Compiling ansi_colour v0.5.3 [INFO] [stderr] Compiling prototty_file_storage v0.27.0 [INFO] [stderr] Compiling prototty_monolithic_storage v0.27.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling prototty_render v0.27.0 [INFO] [stderr] Compiling grid_2d v0.12.5 [INFO] [stderr] Compiling prototty_input v0.27.0 [INFO] [stderr] Compiling direction v0.17.7 [INFO] [stderr] Compiling line_2d v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling prototty_wasm_storage v0.27.0 [INFO] [stderr] Compiling prototty_decorator v0.27.0 [INFO] [stderr] Compiling prototty_text v0.27.0 [INFO] [stderr] Compiling prototty_wasm_render v0.27.0 [INFO] [stderr] Compiling prototty_grid v0.27.0 [INFO] [stderr] Compiling prototty_menu v0.27.0 [INFO] [stderr] Compiling prototty_wasm_input v0.27.0 [INFO] [stderr] Compiling prototty_unix v0.27.0 [INFO] [stderr] Compiling grid_search v0.15.1 [INFO] [stderr] Compiling shadowcast v0.5.6 [INFO] [stderr] Compiling prototty_wasm v0.27.0 [INFO] [stderr] Compiling prototty v0.27.0 [INFO] [stderr] Compiling wfc v0.8.1 [INFO] [stderr] Compiling gws v0.1.0 (/opt/rustwide/workdir/gws) [INFO] [stderr] Compiling gws_prototty v0.1.0 (/opt/rustwide/workdir/prototty) [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> prototty/src/menus.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | / NORMAL_VIEW [INFO] [stdout] 44 | | .view_reporting_intended_size(string, context, grid) [INFO] [stdout] | |____________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prototty_render-0.27.0/src/view.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | / fn view_reporting_intended_size( [INFO] [stdout] 90 | | &mut self, [INFO] [stdout] 91 | | data: T, [INFO] [stdout] 92 | | context: ViewContext, [INFO] [stdout] 93 | | grid: &mut G, [INFO] [stdout] 94 | | ) -> Size { [INFO] [stdout] | |_____________^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> prototty/src/menus.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / const NORMAL_VIEW: StringViewSingleLine = [INFO] [stdout] 11 | | StringViewSingleLine::new(Style::new().with_foreground(NORMAL_COLOUR)); [INFO] [stdout] | |___________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> prototty/src/menus.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | / SELECTED_VIEW [INFO] [stdout] 60 | | .view_reporting_intended_size(string, context, grid) [INFO] [stdout] | |____________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prototty_render-0.27.0/src/view.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | / fn view_reporting_intended_size( [INFO] [stdout] 90 | | &mut self, [INFO] [stdout] 91 | | data: T, [INFO] [stdout] 92 | | context: ViewContext, [INFO] [stdout] 93 | | grid: &mut G, [INFO] [stdout] 94 | | ) -> Size { [INFO] [stdout] | |_____________^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> prototty/src/menus.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / const SELECTED_VIEW: StringViewSingleLine = [INFO] [stdout] 9 | | StringViewSingleLine::new(Style::new().with_foreground(SELECTED_COLOUR)); [INFO] [stdout] | |_____________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> prototty/src/menus.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | / NORMAL_VIEW [INFO] [stdout] 153 | | .view_reporting_intended_size(&string, context, grid) [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prototty_render-0.27.0/src/view.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | / fn view_reporting_intended_size( [INFO] [stdout] 90 | | &mut self, [INFO] [stdout] 91 | | data: T, [INFO] [stdout] 92 | | context: ViewContext, [INFO] [stdout] 93 | | grid: &mut G, [INFO] [stdout] 94 | | ) -> Size { [INFO] [stdout] | |_____________^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> prototty/src/menus.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / const NORMAL_VIEW: StringViewSingleLine = [INFO] [stdout] 11 | | StringViewSingleLine::new(Style::new().with_foreground(NORMAL_COLOUR)); [INFO] [stdout] | |___________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> prototty/src/menus.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | / SELECTED_VIEW [INFO] [stdout] 165 | | .view_reporting_intended_size(&string, context, grid) [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prototty_render-0.27.0/src/view.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | / fn view_reporting_intended_size( [INFO] [stdout] 90 | | &mut self, [INFO] [stdout] 91 | | data: T, [INFO] [stdout] 92 | | context: ViewContext, [INFO] [stdout] 93 | | grid: &mut G, [INFO] [stdout] 94 | | ) -> Size { [INFO] [stdout] | |_____________^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> prototty/src/menus.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / const SELECTED_VIEW: StringViewSingleLine = [INFO] [stdout] 9 | | StringViewSingleLine::new(Style::new().with_foreground(SELECTED_COLOUR)); [INFO] [stdout] | |_____________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> prototty/src/menus.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | / NORMAL_VIEW [INFO] [stdout] 218 | | .view_reporting_intended_size(&text, context, grid) [INFO] [stdout] | |___________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prototty_render-0.27.0/src/view.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | / fn view_reporting_intended_size( [INFO] [stdout] 90 | | &mut self, [INFO] [stdout] 91 | | data: T, [INFO] [stdout] 92 | | context: ViewContext, [INFO] [stdout] 93 | | grid: &mut G, [INFO] [stdout] 94 | | ) -> Size { [INFO] [stdout] | |_____________^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> prototty/src/menus.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / const NORMAL_VIEW: StringViewSingleLine = [INFO] [stdout] 11 | | StringViewSingleLine::new(Style::new().with_foreground(NORMAL_COLOUR)); [INFO] [stdout] | |___________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> prototty/src/menus.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | / SELECTED_VIEW [INFO] [stdout] 234 | | .view_reporting_intended_size(&text, context, grid) [INFO] [stdout] | |___________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prototty_render-0.27.0/src/view.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | / fn view_reporting_intended_size( [INFO] [stdout] 90 | | &mut self, [INFO] [stdout] 91 | | data: T, [INFO] [stdout] 92 | | context: ViewContext, [INFO] [stdout] 93 | | grid: &mut G, [INFO] [stdout] 94 | | ) -> Size { [INFO] [stdout] | |_____________^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> prototty/src/menus.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / const SELECTED_VIEW: StringViewSingleLine = [INFO] [stdout] 9 | | StringViewSingleLine::new(Style::new().with_foreground(SELECTED_COLOUR)); [INFO] [stdout] | |_____________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> prototty/src/menus.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | / NORMAL_VIEW [INFO] [stdout] 274 | | .view_reporting_intended_size(&text, context, grid) [INFO] [stdout] | |___________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prototty_render-0.27.0/src/view.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | / fn view_reporting_intended_size( [INFO] [stdout] 90 | | &mut self, [INFO] [stdout] 91 | | data: T, [INFO] [stdout] 92 | | context: ViewContext, [INFO] [stdout] 93 | | grid: &mut G, [INFO] [stdout] 94 | | ) -> Size { [INFO] [stdout] | |_____________^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> prototty/src/menus.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / const NORMAL_VIEW: StringViewSingleLine = [INFO] [stdout] 11 | | StringViewSingleLine::new(Style::new().with_foreground(NORMAL_COLOUR)); [INFO] [stdout] | |___________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> prototty/src/menus.rs:285:13 [INFO] [stdout] | [INFO] [stdout] 285 | / SELECTED_VIEW [INFO] [stdout] 286 | | .view_reporting_intended_size(&text, context, grid) [INFO] [stdout] | |___________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prototty_render-0.27.0/src/view.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | / fn view_reporting_intended_size( [INFO] [stdout] 90 | | &mut self, [INFO] [stdout] 91 | | data: T, [INFO] [stdout] 92 | | context: ViewContext, [INFO] [stdout] 93 | | grid: &mut G, [INFO] [stdout] 94 | | ) -> Size { [INFO] [stdout] | |_____________^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> prototty/src/menus.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / const SELECTED_VIEW: StringViewSingleLine = [INFO] [stdout] 9 | | StringViewSingleLine::new(Style::new().with_foreground(SELECTED_COLOUR)); [INFO] [stdout] | |_____________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> prototty/src/lib.rs:402:21 [INFO] [stdout] | [INFO] [stdout] 402 | TITLE_VIEW.view(TITLE, context.add_offset(Coord::new(1, 1)), grid); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> prototty/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / const TITLE_VIEW: StringViewSingleLine = [INFO] [stdout] 33 | | StringViewSingleLine::new(Style::new().with_foreground(TITLE_COLOUR).with_bold(true)); [INFO] [stdout] | |__________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gws_native v0.1.0 (/opt/rustwide/workdir/native) [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gws_wasm v0.1.0 (/opt/rustwide/workdir/wasm) [INFO] [stderr] Compiling gws_unix v0.1.0 (/opt/rustwide/workdir/unix) [INFO] [stderr] Compiling smithay-client-toolkit v0.4.6 [INFO] [stderr] Compiling winit v0.19.5 [INFO] [stderr] Compiling glutin v0.20.1 [INFO] [stderr] Compiling gfx_window_glutin v0.30.0 [INFO] [stderr] Compiling prototty_glutin v0.27.0 [INFO] [stderr] Compiling gws_glutin v0.1.0 (/opt/rustwide/workdir/glutin) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 10s [INFO] running `Command { std: "docker" "inspect" "4a590b607cef69d347b4ffc5d70eb5eaed18312a989497a199258fc73f1f3d0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a590b607cef69d347b4ffc5d70eb5eaed18312a989497a199258fc73f1f3d0e", kill_on_drop: false }` [INFO] [stdout] 4a590b607cef69d347b4ffc5d70eb5eaed18312a989497a199258fc73f1f3d0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f14579d326563a232c0ce5c2d5504df5dad5202aeefa18d7c23b2db996af787 [INFO] running `Command { std: "docker" "start" "-a" "1f14579d326563a232c0ce5c2d5504df5dad5202aeefa18d7c23b2db996af787", kill_on_drop: false }` [INFO] [stderr] Compiling image-to-text v0.1.0 (/opt/rustwide/workdir/image-to-text) [INFO] [stderr] Compiling gws v0.1.0 (/opt/rustwide/workdir/gws) [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> prototty/src/menus.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | / NORMAL_VIEW [INFO] [stdout] 44 | | .view_reporting_intended_size(string, context, grid) [INFO] [stdout] | |____________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prototty_render-0.27.0/src/view.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | / fn view_reporting_intended_size( [INFO] [stdout] 90 | | &mut self, [INFO] [stdout] 91 | | data: T, [INFO] [stdout] 92 | | context: ViewContext, [INFO] [stdout] 93 | | grid: &mut G, [INFO] [stdout] 94 | | ) -> Size { [INFO] [stdout] | |_____________^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> prototty/src/menus.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / const NORMAL_VIEW: StringViewSingleLine = [INFO] [stdout] 11 | | StringViewSingleLine::new(Style::new().with_foreground(NORMAL_COLOUR)); [INFO] [stdout] | |___________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> prototty/src/menus.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | / SELECTED_VIEW [INFO] [stdout] 60 | | .view_reporting_intended_size(string, context, grid) [INFO] [stdout] | |____________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prototty_render-0.27.0/src/view.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | / fn view_reporting_intended_size( [INFO] [stdout] 90 | | &mut self, [INFO] [stdout] 91 | | data: T, [INFO] [stdout] 92 | | context: ViewContext, [INFO] [stdout] 93 | | grid: &mut G, [INFO] [stdout] 94 | | ) -> Size { [INFO] [stdout] | |_____________^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> prototty/src/menus.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / const SELECTED_VIEW: StringViewSingleLine = [INFO] [stdout] 9 | | StringViewSingleLine::new(Style::new().with_foreground(SELECTED_COLOUR)); [INFO] [stdout] | |_____________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> prototty/src/menus.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | / NORMAL_VIEW [INFO] [stdout] 153 | | .view_reporting_intended_size(&string, context, grid) [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prototty_render-0.27.0/src/view.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | / fn view_reporting_intended_size( [INFO] [stdout] 90 | | &mut self, [INFO] [stdout] 91 | | data: T, [INFO] [stdout] 92 | | context: ViewContext, [INFO] [stdout] 93 | | grid: &mut G, [INFO] [stdout] 94 | | ) -> Size { [INFO] [stdout] | |_____________^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> prototty/src/menus.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / const NORMAL_VIEW: StringViewSingleLine = [INFO] [stdout] 11 | | StringViewSingleLine::new(Style::new().with_foreground(NORMAL_COLOUR)); [INFO] [stdout] | |___________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> prototty/src/menus.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | / SELECTED_VIEW [INFO] [stdout] 165 | | .view_reporting_intended_size(&string, context, grid) [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prototty_render-0.27.0/src/view.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | / fn view_reporting_intended_size( [INFO] [stdout] 90 | | &mut self, [INFO] [stdout] 91 | | data: T, [INFO] [stdout] 92 | | context: ViewContext, [INFO] [stdout] 93 | | grid: &mut G, [INFO] [stdout] 94 | | ) -> Size { [INFO] [stdout] | |_____________^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> prototty/src/menus.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / const SELECTED_VIEW: StringViewSingleLine = [INFO] [stdout] 9 | | StringViewSingleLine::new(Style::new().with_foreground(SELECTED_COLOUR)); [INFO] [stdout] | |_____________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> prototty/src/menus.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | / NORMAL_VIEW [INFO] [stdout] 218 | | .view_reporting_intended_size(&text, context, grid) [INFO] [stdout] | |___________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prototty_render-0.27.0/src/view.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | / fn view_reporting_intended_size( [INFO] [stdout] 90 | | &mut self, [INFO] [stdout] 91 | | data: T, [INFO] [stdout] 92 | | context: ViewContext, [INFO] [stdout] 93 | | grid: &mut G, [INFO] [stdout] 94 | | ) -> Size { [INFO] [stdout] | |_____________^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> prototty/src/menus.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / const NORMAL_VIEW: StringViewSingleLine = [INFO] [stdout] 11 | | StringViewSingleLine::new(Style::new().with_foreground(NORMAL_COLOUR)); [INFO] [stdout] | |___________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> prototty/src/menus.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | / SELECTED_VIEW [INFO] [stdout] 234 | | .view_reporting_intended_size(&text, context, grid) [INFO] [stdout] | |___________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prototty_render-0.27.0/src/view.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | / fn view_reporting_intended_size( [INFO] [stdout] 90 | | &mut self, [INFO] [stdout] 91 | | data: T, [INFO] [stdout] 92 | | context: ViewContext, [INFO] [stdout] 93 | | grid: &mut G, [INFO] [stdout] 94 | | ) -> Size { [INFO] [stdout] | |_____________^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> prototty/src/menus.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / const SELECTED_VIEW: StringViewSingleLine = [INFO] [stdout] 9 | | StringViewSingleLine::new(Style::new().with_foreground(SELECTED_COLOUR)); [INFO] [stdout] | |_____________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> prototty/src/menus.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | / NORMAL_VIEW [INFO] [stdout] 274 | | .view_reporting_intended_size(&text, context, grid) [INFO] [stdout] | |___________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prototty_render-0.27.0/src/view.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | / fn view_reporting_intended_size( [INFO] [stdout] 90 | | &mut self, [INFO] [stdout] 91 | | data: T, [INFO] [stdout] 92 | | context: ViewContext, [INFO] [stdout] 93 | | grid: &mut G, [INFO] [stdout] 94 | | ) -> Size { [INFO] [stdout] | |_____________^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> prototty/src/menus.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / const NORMAL_VIEW: StringViewSingleLine = [INFO] [stdout] 11 | | StringViewSingleLine::new(Style::new().with_foreground(NORMAL_COLOUR)); [INFO] [stdout] | |___________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> prototty/src/menus.rs:285:13 [INFO] [stdout] | [INFO] [stdout] 285 | / SELECTED_VIEW [INFO] [stdout] 286 | | .view_reporting_intended_size(&text, context, grid) [INFO] [stdout] | |___________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prototty_render-0.27.0/src/view.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | / fn view_reporting_intended_size( [INFO] [stdout] 90 | | &mut self, [INFO] [stdout] 91 | | data: T, [INFO] [stdout] 92 | | context: ViewContext, [INFO] [stdout] 93 | | grid: &mut G, [INFO] [stdout] 94 | | ) -> Size { [INFO] [stdout] | |_____________^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> prototty/src/menus.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / const SELECTED_VIEW: StringViewSingleLine = [INFO] [stdout] 9 | | StringViewSingleLine::new(Style::new().with_foreground(SELECTED_COLOUR)); [INFO] [stdout] | |_____________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> prototty/src/lib.rs:402:21 [INFO] [stdout] | [INFO] [stdout] 402 | TITLE_VIEW.view(TITLE, context.add_offset(Coord::new(1, 1)), grid); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> prototty/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / const TITLE_VIEW: StringViewSingleLine = [INFO] [stdout] 33 | | StringViewSingleLine::new(Style::new().with_foreground(TITLE_COLOUR).with_bold(true)); [INFO] [stdout] | |__________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gws_prototty v0.1.0 (/opt/rustwide/workdir/prototty) [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gws_native v0.1.0 (/opt/rustwide/workdir/native) [INFO] [stderr] Compiling gws_wasm v0.1.0 (/opt/rustwide/workdir/wasm) [INFO] [stderr] Compiling gws_unix v0.1.0 (/opt/rustwide/workdir/unix) [INFO] [stderr] Compiling gws_glutin v0.1.0 (/opt/rustwide/workdir/glutin) [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> prototty/src/menus.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | / NORMAL_VIEW [INFO] [stdout] 44 | | .view_reporting_intended_size(string, context, grid) [INFO] [stdout] | |____________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prototty_render-0.27.0/src/view.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | / fn view_reporting_intended_size( [INFO] [stdout] 90 | | &mut self, [INFO] [stdout] 91 | | data: T, [INFO] [stdout] 92 | | context: ViewContext, [INFO] [stdout] 93 | | grid: &mut G, [INFO] [stdout] 94 | | ) -> Size { [INFO] [stdout] | |_____________^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> prototty/src/menus.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / const NORMAL_VIEW: StringViewSingleLine = [INFO] [stdout] 11 | | StringViewSingleLine::new(Style::new().with_foreground(NORMAL_COLOUR)); [INFO] [stdout] | |___________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> prototty/src/menus.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | / SELECTED_VIEW [INFO] [stdout] 60 | | .view_reporting_intended_size(string, context, grid) [INFO] [stdout] | |____________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prototty_render-0.27.0/src/view.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | / fn view_reporting_intended_size( [INFO] [stdout] 90 | | &mut self, [INFO] [stdout] 91 | | data: T, [INFO] [stdout] 92 | | context: ViewContext, [INFO] [stdout] 93 | | grid: &mut G, [INFO] [stdout] 94 | | ) -> Size { [INFO] [stdout] | |_____________^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> prototty/src/menus.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / const SELECTED_VIEW: StringViewSingleLine = [INFO] [stdout] 9 | | StringViewSingleLine::new(Style::new().with_foreground(SELECTED_COLOUR)); [INFO] [stdout] | |_____________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> prototty/src/menus.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | / NORMAL_VIEW [INFO] [stdout] 153 | | .view_reporting_intended_size(&string, context, grid) [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prototty_render-0.27.0/src/view.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | / fn view_reporting_intended_size( [INFO] [stdout] 90 | | &mut self, [INFO] [stdout] 91 | | data: T, [INFO] [stdout] 92 | | context: ViewContext, [INFO] [stdout] 93 | | grid: &mut G, [INFO] [stdout] 94 | | ) -> Size { [INFO] [stdout] | |_____________^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> prototty/src/menus.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / const NORMAL_VIEW: StringViewSingleLine = [INFO] [stdout] 11 | | StringViewSingleLine::new(Style::new().with_foreground(NORMAL_COLOUR)); [INFO] [stdout] | |___________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> prototty/src/menus.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | / SELECTED_VIEW [INFO] [stdout] 165 | | .view_reporting_intended_size(&string, context, grid) [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prototty_render-0.27.0/src/view.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | / fn view_reporting_intended_size( [INFO] [stdout] 90 | | &mut self, [INFO] [stdout] 91 | | data: T, [INFO] [stdout] 92 | | context: ViewContext, [INFO] [stdout] 93 | | grid: &mut G, [INFO] [stdout] 94 | | ) -> Size { [INFO] [stdout] | |_____________^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> prototty/src/menus.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / const SELECTED_VIEW: StringViewSingleLine = [INFO] [stdout] 9 | | StringViewSingleLine::new(Style::new().with_foreground(SELECTED_COLOUR)); [INFO] [stdout] | |_____________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> prototty/src/menus.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | / NORMAL_VIEW [INFO] [stdout] 218 | | .view_reporting_intended_size(&text, context, grid) [INFO] [stdout] | |___________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prototty_render-0.27.0/src/view.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | / fn view_reporting_intended_size( [INFO] [stdout] 90 | | &mut self, [INFO] [stdout] 91 | | data: T, [INFO] [stdout] 92 | | context: ViewContext, [INFO] [stdout] 93 | | grid: &mut G, [INFO] [stdout] 94 | | ) -> Size { [INFO] [stdout] | |_____________^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> prototty/src/menus.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / const NORMAL_VIEW: StringViewSingleLine = [INFO] [stdout] 11 | | StringViewSingleLine::new(Style::new().with_foreground(NORMAL_COLOUR)); [INFO] [stdout] | |___________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> prototty/src/menus.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | / SELECTED_VIEW [INFO] [stdout] 234 | | .view_reporting_intended_size(&text, context, grid) [INFO] [stdout] | |___________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prototty_render-0.27.0/src/view.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | / fn view_reporting_intended_size( [INFO] [stdout] 90 | | &mut self, [INFO] [stdout] 91 | | data: T, [INFO] [stdout] 92 | | context: ViewContext, [INFO] [stdout] 93 | | grid: &mut G, [INFO] [stdout] 94 | | ) -> Size { [INFO] [stdout] | |_____________^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> prototty/src/menus.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / const SELECTED_VIEW: StringViewSingleLine = [INFO] [stdout] 9 | | StringViewSingleLine::new(Style::new().with_foreground(SELECTED_COLOUR)); [INFO] [stdout] | |_____________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> prototty/src/menus.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | / NORMAL_VIEW [INFO] [stdout] 274 | | .view_reporting_intended_size(&text, context, grid) [INFO] [stdout] | |___________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prototty_render-0.27.0/src/view.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | / fn view_reporting_intended_size( [INFO] [stdout] 90 | | &mut self, [INFO] [stdout] 91 | | data: T, [INFO] [stdout] 92 | | context: ViewContext, [INFO] [stdout] 93 | | grid: &mut G, [INFO] [stdout] 94 | | ) -> Size { [INFO] [stdout] | |_____________^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> prototty/src/menus.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / const NORMAL_VIEW: StringViewSingleLine = [INFO] [stdout] 11 | | StringViewSingleLine::new(Style::new().with_foreground(NORMAL_COLOUR)); [INFO] [stdout] | |___________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> prototty/src/menus.rs:285:13 [INFO] [stdout] | [INFO] [stdout] 285 | / SELECTED_VIEW [INFO] [stdout] 286 | | .view_reporting_intended_size(&text, context, grid) [INFO] [stdout] | |___________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prototty_render-0.27.0/src/view.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | / fn view_reporting_intended_size( [INFO] [stdout] 90 | | &mut self, [INFO] [stdout] 91 | | data: T, [INFO] [stdout] 92 | | context: ViewContext, [INFO] [stdout] 93 | | grid: &mut G, [INFO] [stdout] 94 | | ) -> Size { [INFO] [stdout] | |_____________^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> prototty/src/menus.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / const SELECTED_VIEW: StringViewSingleLine = [INFO] [stdout] 9 | | StringViewSingleLine::new(Style::new().with_foreground(SELECTED_COLOUR)); [INFO] [stdout] | |_____________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> prototty/src/lib.rs:402:21 [INFO] [stdout] | [INFO] [stdout] 402 | TITLE_VIEW.view(TITLE, context.add_offset(Coord::new(1, 1)), grid); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> prototty/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / const TITLE_VIEW: StringViewSingleLine = [INFO] [stdout] 33 | | StringViewSingleLine::new(Style::new().with_foreground(TITLE_COLOUR).with_bold(true)); [INFO] [stdout] | |__________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.85s [INFO] running `Command { std: "docker" "inspect" "1f14579d326563a232c0ce5c2d5504df5dad5202aeefa18d7c23b2db996af787", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f14579d326563a232c0ce5c2d5504df5dad5202aeefa18d7c23b2db996af787", kill_on_drop: false }` [INFO] [stdout] 1f14579d326563a232c0ce5c2d5504df5dad5202aeefa18d7c23b2db996af787 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 043ae6d1512b37a7d2e8d2ec61174bc918ec1ae74acc8483eecd10d74797fdaf [INFO] running `Command { std: "docker" "start" "-a" "043ae6d1512b37a7d2e8d2ec61174bc918ec1ae74acc8483eecd10d74797fdaf", kill_on_drop: false }` [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> prototty/src/menus.rs:43:13 [INFO] [stderr] | [INFO] [stderr] 43 | / NORMAL_VIEW [INFO] [stderr] 44 | | .view_reporting_intended_size(string, context, grid) [INFO] [stderr] | |____________________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: mutable reference created due to call to this method [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prototty_render-0.27.0/src/view.rs:89:5 [INFO] [stderr] | [INFO] [stderr] 89 | / fn view_reporting_intended_size( [INFO] [stderr] 90 | | &mut self, [INFO] [stderr] 91 | | data: T, [INFO] [stderr] 92 | | context: ViewContext, [INFO] [stderr] 93 | | grid: &mut G, [INFO] [stderr] 94 | | ) -> Size { [INFO] [stderr] | |_____________^ [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> prototty/src/menus.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | / const NORMAL_VIEW: StringViewSingleLine = [INFO] [stderr] 11 | | StringViewSingleLine::new(Style::new().with_foreground(NORMAL_COLOUR)); [INFO] [stderr] | |___________________________________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> prototty/src/menus.rs:59:13 [INFO] [stderr] | [INFO] [stderr] 59 | / SELECTED_VIEW [INFO] [stderr] 60 | | .view_reporting_intended_size(string, context, grid) [INFO] [stderr] | |____________________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: mutable reference created due to call to this method [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prototty_render-0.27.0/src/view.rs:89:5 [INFO] [stderr] | [INFO] [stderr] 89 | / fn view_reporting_intended_size( [INFO] [stderr] 90 | | &mut self, [INFO] [stderr] 91 | | data: T, [INFO] [stderr] 92 | | context: ViewContext, [INFO] [stderr] 93 | | grid: &mut G, [INFO] [stderr] 94 | | ) -> Size { [INFO] [stderr] | |_____________^ [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> prototty/src/menus.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / const SELECTED_VIEW: StringViewSingleLine = [INFO] [stderr] 9 | | StringViewSingleLine::new(Style::new().with_foreground(SELECTED_COLOUR)); [INFO] [stderr] | |_____________________________________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> prototty/src/menus.rs:152:13 [INFO] [stderr] | [INFO] [stderr] 152 | / NORMAL_VIEW [INFO] [stderr] 153 | | .view_reporting_intended_size(&string, context, grid) [INFO] [stderr] | |_____________________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: mutable reference created due to call to this method [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prototty_render-0.27.0/src/view.rs:89:5 [INFO] [stderr] | [INFO] [stderr] 89 | / fn view_reporting_intended_size( [INFO] [stderr] 90 | | &mut self, [INFO] [stderr] 91 | | data: T, [INFO] [stderr] 92 | | context: ViewContext, [INFO] [stderr] 93 | | grid: &mut G, [INFO] [stderr] 94 | | ) -> Size { [INFO] [stderr] | |_____________^ [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> prototty/src/menus.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | / const NORMAL_VIEW: StringViewSingleLine = [INFO] [stderr] 11 | | StringViewSingleLine::new(Style::new().with_foreground(NORMAL_COLOUR)); [INFO] [stderr] | |___________________________________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> prototty/src/menus.rs:164:13 [INFO] [stderr] | [INFO] [stderr] 164 | / SELECTED_VIEW [INFO] [stderr] 165 | | .view_reporting_intended_size(&string, context, grid) [INFO] [stderr] | |_____________________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: mutable reference created due to call to this method [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prototty_render-0.27.0/src/view.rs:89:5 [INFO] [stderr] | [INFO] [stderr] 89 | / fn view_reporting_intended_size( [INFO] [stderr] 90 | | &mut self, [INFO] [stderr] 91 | | data: T, [INFO] [stderr] 92 | | context: ViewContext, [INFO] [stderr] 93 | | grid: &mut G, [INFO] [stderr] 94 | | ) -> Size { [INFO] [stderr] | |_____________^ [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> prototty/src/menus.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / const SELECTED_VIEW: StringViewSingleLine = [INFO] [stderr] 9 | | StringViewSingleLine::new(Style::new().with_foreground(SELECTED_COLOUR)); [INFO] [stderr] | |_____________________________________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> prototty/src/menus.rs:217:13 [INFO] [stderr] | [INFO] [stderr] 217 | / NORMAL_VIEW [INFO] [stderr] 218 | | .view_reporting_intended_size(&text, context, grid) [INFO] [stderr] | |___________________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: mutable reference created due to call to this method [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prototty_render-0.27.0/src/view.rs:89:5 [INFO] [stderr] | [INFO] [stderr] 89 | / fn view_reporting_intended_size( [INFO] [stderr] 90 | | &mut self, [INFO] [stderr] 91 | | data: T, [INFO] [stderr] 92 | | context: ViewContext, [INFO] [stderr] 93 | | grid: &mut G, [INFO] [stderr] 94 | | ) -> Size { [INFO] [stderr] | |_____________^ [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> prototty/src/menus.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | / const NORMAL_VIEW: StringViewSingleLine = [INFO] [stderr] 11 | | StringViewSingleLine::new(Style::new().with_foreground(NORMAL_COLOUR)); [INFO] [stderr] | |___________________________________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> prototty/src/menus.rs:233:13 [INFO] [stderr] | [INFO] [stderr] 233 | / SELECTED_VIEW [INFO] [stderr] 234 | | .view_reporting_intended_size(&text, context, grid) [INFO] [stderr] | |___________________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: mutable reference created due to call to this method [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prototty_render-0.27.0/src/view.rs:89:5 [INFO] [stderr] | [INFO] [stderr] 89 | / fn view_reporting_intended_size( [INFO] [stderr] 90 | | &mut self, [INFO] [stderr] 91 | | data: T, [INFO] [stderr] 92 | | context: ViewContext, [INFO] [stderr] 93 | | grid: &mut G, [INFO] [stderr] 94 | | ) -> Size { [INFO] [stderr] | |_____________^ [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> prototty/src/menus.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / const SELECTED_VIEW: StringViewSingleLine = [INFO] [stderr] 9 | | StringViewSingleLine::new(Style::new().with_foreground(SELECTED_COLOUR)); [INFO] [stderr] | |_____________________________________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> prototty/src/menus.rs:273:13 [INFO] [stderr] | [INFO] [stderr] 273 | / NORMAL_VIEW [INFO] [stderr] 274 | | .view_reporting_intended_size(&text, context, grid) [INFO] [stderr] | |___________________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: mutable reference created due to call to this method [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prototty_render-0.27.0/src/view.rs:89:5 [INFO] [stderr] | [INFO] [stderr] 89 | / fn view_reporting_intended_size( [INFO] [stderr] 90 | | &mut self, [INFO] [stderr] 91 | | data: T, [INFO] [stderr] 92 | | context: ViewContext, [INFO] [stderr] 93 | | grid: &mut G, [INFO] [stderr] 94 | | ) -> Size { [INFO] [stderr] | |_____________^ [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> prototty/src/menus.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | / const NORMAL_VIEW: StringViewSingleLine = [INFO] [stderr] 11 | | StringViewSingleLine::new(Style::new().with_foreground(NORMAL_COLOUR)); [INFO] [stderr] | |___________________________________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> prototty/src/menus.rs:285:13 [INFO] [stderr] | [INFO] [stderr] 285 | / SELECTED_VIEW [INFO] [stderr] 286 | | .view_reporting_intended_size(&text, context, grid) [INFO] [stderr] | |___________________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: mutable reference created due to call to this method [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/prototty_render-0.27.0/src/view.rs:89:5 [INFO] [stderr] | [INFO] [stderr] 89 | / fn view_reporting_intended_size( [INFO] [stderr] 90 | | &mut self, [INFO] [stderr] 91 | | data: T, [INFO] [stderr] 92 | | context: ViewContext, [INFO] [stderr] 93 | | grid: &mut G, [INFO] [stderr] 94 | | ) -> Size { [INFO] [stderr] | |_____________^ [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> prototty/src/menus.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / const SELECTED_VIEW: StringViewSingleLine = [INFO] [stderr] 9 | | StringViewSingleLine::new(Style::new().with_foreground(SELECTED_COLOUR)); [INFO] [stderr] | |_____________________________________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> prototty/src/lib.rs:402:21 [INFO] [stderr] | [INFO] [stderr] 402 | TITLE_VIEW.view(TITLE, context.add_offset(Coord::new(1, 1)), grid); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> prototty/src/lib.rs:32:1 [INFO] [stderr] | [INFO] [stderr] 32 | / const TITLE_VIEW: StringViewSingleLine = [INFO] [stderr] 33 | | StringViewSingleLine::new(Style::new().with_foreground(TITLE_COLOUR).with_bold(true)); [INFO] [stderr] | |__________________________________________________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: `gws_prototty` (lib) generated 9 warnings [INFO] [stderr] warning: `gws_prototty` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/gws-4836f2a4154bbe77) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/gws_glutin-1afc1406321bf3f2) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/gws_native-4de2e6c25168eb09) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/gws_prototty-73aa354420f49f56) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/gws_unix-e49dcc25533e10ad) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/gws_wasm-06921ba83c529ff1) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/image_to_text-e4eb61d9878cbba9) [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 gws [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 gws_native [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 gws_prototty [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" "043ae6d1512b37a7d2e8d2ec61174bc918ec1ae74acc8483eecd10d74797fdaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "043ae6d1512b37a7d2e8d2ec61174bc918ec1ae74acc8483eecd10d74797fdaf", kill_on_drop: false }` [INFO] [stdout] 043ae6d1512b37a7d2e8d2ec61174bc918ec1ae74acc8483eecd10d74797fdaf