[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] building stevebob/gws against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstevebob%2Fgws" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/stevebob/gws on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "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-4/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" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0283b91cafa5205b9ae6c2af82ba7531171e42e111b9c8f4947f790c90aafcd3 [INFO] running `Command { std: "docker" "start" "-a" "0283b91cafa5205b9ae6c2af82ba7531171e42e111b9c8f4947f790c90aafcd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0283b91cafa5205b9ae6c2af82ba7531171e42e111b9c8f4947f790c90aafcd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0283b91cafa5205b9ae6c2af82ba7531171e42e111b9c8f4947f790c90aafcd3", kill_on_drop: false }` [INFO] [stdout] 0283b91cafa5205b9ae6c2af82ba7531171e42e111b9c8f4947f790c90aafcd3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=forbid" "-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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f70daa4fba09dee5d64ea3453226eba9451de6af05cb9d1a8357e706d84d7816 [INFO] running `Command { std: "docker" "start" "-a" "f70daa4fba09dee5d64ea3453226eba9451de6af05cb9d1a8357e706d84d7816", kill_on_drop: false }` [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 libc v0.2.65 [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 proc-macro2 v0.4.30 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling cc v1.0.47 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [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 void v1.0.2 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling bumpalo v2.6.0 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling downcast-rs v1.1.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.53 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling rayon-core v1.6.0 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling xi-unicode v0.2.0 [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 either v1.5.3 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling hashbrown v0.3.1 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [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 lock_api v0.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling simon v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling bincode v1.2.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [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 smallvec v0.6.13 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling rustc-hash v1.0.1 [INFO] [stderr] Compiling stb_truetype v0.3.0 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [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 gl_generator v0.11.0 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling gfx_core v0.9.2 [INFO] [stderr] Compiling x11-dl v2.18.4 [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 shared_library v0.1.9 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling wayland-sys v0.21.13 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling gfx v0.18.2 [INFO] [stderr] Compiling twox-hash v1.5.0 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling rayon v1.2.0 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling rusttype v0.8.1 [INFO] [stderr] Compiling png v0.14.1 [INFO] [stderr] Compiling wayland-commons v0.21.13 [INFO] [stderr] Compiling glutin_glx_sys v0.1.5 [INFO] [stderr] Compiling gfx_gl v0.6.0 [INFO] [stderr] Compiling glutin_egl_sys v0.1.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.53 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling glyph_brush_layout v0.1.8 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling backtrace v0.3.40 [INFO] [stderr] Compiling jpeg-decoder v0.1.16 [INFO] [stderr] Compiling glyph_brush v0.4.3 [INFO] [stderr] Compiling gfx_glyph v0.14.1 [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 tiff v0.2.2 [INFO] [stderr] Compiling image v0.21.3 [INFO] [stderr] Compiling gfx_device_gl v0.16.2 [INFO] [stderr] Compiling image-to-text v0.1.0 (/opt/rustwide/workdir/image-to-text) [INFO] [stderr] Compiling smithay-client-toolkit v0.4.6 [INFO] [stderr] Compiling winit v0.19.5 [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 best v0.13.0 [INFO] [stderr] Compiling hashbrown v0.1.8 [INFO] [stderr] Compiling ansi_colour v0.5.3 [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 prototty_input v0.27.0 [INFO] [stderr] Compiling grid_2d v0.12.5 [INFO] [stderr] Compiling direction v0.17.7 [INFO] [stderr] Compiling line_2d v0.1.1 [INFO] [stderr] Compiling glutin v0.20.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_file_storage v0.27.0 [INFO] [stderr] Compiling prototty_monolithic_storage v0.27.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 prototty_wasm v0.27.0 [INFO] [stderr] Compiling shadowcast v0.5.6 [INFO] [stderr] Compiling grid_search v0.15.1 [INFO] [stderr] Compiling gfx_window_glutin v0.30.0 [INFO] [stderr] Compiling prototty_glutin 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 gws_glutin v0.1.0 (/opt/rustwide/workdir/glutin) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 24s [INFO] running `Command { std: "docker" "inspect" "f70daa4fba09dee5d64ea3453226eba9451de6af05cb9d1a8357e706d84d7816", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f70daa4fba09dee5d64ea3453226eba9451de6af05cb9d1a8357e706d84d7816", kill_on_drop: false }` [INFO] [stdout] f70daa4fba09dee5d64ea3453226eba9451de6af05cb9d1a8357e706d84d7816 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=forbid" "-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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 77e9a7eebd2785fa5907e82b908523df17777fe58994d4816a1a451f17225a32 [INFO] running `Command { std: "docker" "start" "-a" "77e9a7eebd2785fa5907e82b908523df17777fe58994d4816a1a451f17225a32", 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] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gws_prototty v0.1.0 (/opt/rustwide/workdir/prototty) [INFO] [stderr] Compiling gws_wasm v0.1.0 (/opt/rustwide/workdir/wasm) [INFO] [stderr] Compiling gws_native v0.1.0 (/opt/rustwide/workdir/native) [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 5.00s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/gws-2161d2df5f6476f1) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/gws_glutin-1c5e19da53cd391f) [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/gws_native-fc9536bc1a238c07) [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/gws_prototty-c00f6c99b12527fd) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/gws_unix-34c41c0c06186e54) [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/gws_wasm-15b79a418900ed0f) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/image_to_text-610573573c1dff68) [INFO] running `Command { std: "docker" "inspect" "77e9a7eebd2785fa5907e82b908523df17777fe58994d4816a1a451f17225a32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77e9a7eebd2785fa5907e82b908523df17777fe58994d4816a1a451f17225a32", kill_on_drop: false }` [INFO] [stdout] 77e9a7eebd2785fa5907e82b908523df17777fe58994d4816a1a451f17225a32