[INFO] cloning repository https://github.com/bvinc/gxi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bvinc/gxi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbvinc%2Fgxi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbvinc%2Fgxi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 47d52cb536e6fa9b3c6ca2b6efb49e0efea30054 [INFO] checking bvinc/gxi against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbvinc%2Fgxi" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bvinc/gxi on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bvinc/gxi [INFO] finished tweaking git repo https://github.com/bvinc/gxi [INFO] tweaked toml for git repo https://github.com/bvinc/gxi written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/bvinc/gxi already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/google/xi-editor` [INFO] [stderr] Updating git submodule `https://github.com/xi-editor/syntect-resources` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded chashmap v2.2.2 [INFO] [stderr] Downloaded servo-fontconfig v0.5.0 [INFO] [stderr] Downloaded mio v0.7.0 [INFO] [stderr] Downloaded dirs-sys-next v0.1.0 [INFO] [stderr] Downloaded pangocairo-sys v0.10.1 [INFO] [stderr] Downloaded backtrace v0.3.41 [INFO] [stderr] Downloaded ntapi v0.3.4 [INFO] [stderr] Downloaded notify v5.0.0-pre.1 [INFO] [stderr] Downloaded pangocairo v0.9.0 [INFO] [stderr] Downloaded parking_lot v0.4.8 [INFO] [stderr] Downloaded dirs-next v1.0.0 [INFO] [stderr] Downloaded servo-fontconfig-sys v5.0.2 [INFO] [stderr] Downloaded freetype-sys v0.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca9a71f2dc0887de506a782e22c673365ae4034de3992126acce2241bfc6138f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ca9a71f2dc0887de506a782e22c673365ae4034de3992126acce2241bfc6138f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca9a71f2dc0887de506a782e22c673365ae4034de3992126acce2241bfc6138f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca9a71f2dc0887de506a782e22c673365ae4034de3992126acce2241bfc6138f", kill_on_drop: false }` [INFO] [stdout] ca9a71f2dc0887de506a782e22c673365ae4034de3992126acce2241bfc6138f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b2271baac9b25785a36b95efefdb324b27c1c18b56425f971b798a9b42e33c4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6b2271baac9b25785a36b95efefdb324b27c1c18b56425f971b798a9b42e33c4", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.22 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling cairo-rs v0.8.1 [INFO] [stderr] Compiling gio v0.8.1 [INFO] [stderr] Compiling pango v0.8.0 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Compiling gdk-pixbuf v0.8.0 [INFO] [stderr] Compiling atk v0.8.0 [INFO] [stderr] Compiling gdk v0.12.1 [INFO] [stderr] Checking bytecount v0.6.0 [INFO] [stderr] Compiling pangocairo v0.9.0 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling gtk v0.8.1 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking xi-unicode v0.2.0 (https://github.com/google/xi-editor?rev=65911d9#65911d91) [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Compiling cmake v0.1.44 [INFO] [stderr] Compiling backtrace-sys v0.1.37 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Checking line-wrap v0.1.1 [INFO] [stderr] Compiling proc-macro2 v1.0.13 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking inotify-sys v0.1.3 [INFO] [stderr] Checking filetime v0.2.10 [INFO] [stderr] Checking dirs-sys-next v0.1.0 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling glib-sys v0.9.1 [INFO] [stderr] Compiling gobject-sys v0.9.1 [INFO] [stderr] Compiling gio-sys v0.9.1 [INFO] [stderr] Compiling pango-sys v0.9.1 [INFO] [stderr] Compiling cairo-sys-rs v0.9.2 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.9.1 [INFO] [stderr] Compiling atk-sys v0.9.1 [INFO] [stderr] Compiling gdk-sys v0.9.1 [INFO] [stderr] Compiling gtk-sys v0.9.2 [INFO] [stderr] Compiling pangocairo-sys v0.10.1 [INFO] [stderr] Compiling servo-fontconfig-sys v5.0.2 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking mio v0.7.0 [INFO] [stderr] Checking inotify v0.7.0 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Checking dirs-next v1.0.0 [INFO] [stderr] Compiling freetype-sys v0.12.0 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Checking flate2 v1.0.14 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking parking_lot_core v0.2.14 [INFO] [stderr] Checking parking_lot v0.4.8 [INFO] [stderr] Checking backtrace v0.3.41 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking chashmap v2.2.2 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Checking notify v5.0.0-pre.1 [INFO] [stderr] Checking servo-fontconfig v0.5.0 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling pin-project-internal v0.4.17 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking pin-project v0.4.17 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking glib v0.9.3 [INFO] [stderr] Checking serde_json v1.0.53 [INFO] [stderr] Checking plist v0.4.2 [INFO] [stderr] Checking bincode v1.2.1 [INFO] [stderr] Checking xi-rope v0.3.0 (https://github.com/google/xi-editor?rev=65911d9#65911d91) [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking xi-trace v0.2.0 (https://github.com/google/xi-editor?rev=65911d9#65911d91) [INFO] [stderr] Checking syntect v3.3.0 [INFO] [stderr] Checking xi-rpc v0.3.0 (https://github.com/google/xi-editor?rev=65911d9#65911d91) [INFO] [stderr] Checking xi-core-lib v0.3.0 (https://github.com/google/xi-editor?rev=65911d9#65911d91) [INFO] [stderr] Checking gxi v0.2.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/prefs_win.rs (2 fixes) [INFO] [stderr] Fixed src/scrollable_drawing_area.rs (25 fixes) [INFO] [stderr] Fixed src/main.rs (6 fixes) [INFO] [stderr] Fixed src/edit_view.rs (9 fixes) [INFO] [stderr] Fixed src/main_win.rs (1 fix) [INFO] [stdout] warning: use of deprecated associated function `gtk::AdjustmentExt::value_changed` [INFO] [stdout] --> src/edit_view.rs:702:18 [INFO] [stdout] | [INFO] [stdout] 702 | hadj.value_changed(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `gtk::AdjustmentExt::value_changed` [INFO] [stdout] --> src/edit_view.rs:702:18 [INFO] [stdout] | [INFO] [stdout] 702 | hadj.value_changed(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `source_get` [INFO] [stdout] --> src/channel/source.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn source_get(source: &Source) -> &T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `observers` [INFO] [stdout] --> src/channel/mod.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | observers: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_callback` [INFO] [stdout] --> src/channel/mod.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | fn get_callback(&self) -> Rc>>> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_stream` [INFO] [stdout] --> src/channel/mod.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | fn get_stream(&self) -> Rc>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/channel/mod.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `close` [INFO] [stdout] --> src/channel/mod.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn close(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `emit` [INFO] [stdout] --> src/channel/mod.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn emit(&self, event: MSG) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lock` [INFO] [stdout] --> src/channel/mod.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn lock(&self) -> Lock { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `observe` [INFO] [stdout] --> src/channel/mod.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn observe(&self, callback: CALLBACK) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_callback` [INFO] [stdout] --> src/channel/mod.rs:246:12 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn set_callback(&self, callback: CALLBACK) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `save` [INFO] [stdout] --> src/controller.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn save(&self, view_id: &str, file_path: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_missing` [INFO] [stdout] --> src/linecache.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn get_missing(&self, first: u64, last: u64) -> Vec<(u64, u64)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `builder` [INFO] [stdout] --> src/main_win.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | builder: Builder, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `controller` [INFO] [stdout] --> src/prefs_win.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | controller: ControllerRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `window` [INFO] [stdout] --> src/prefs_win.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | window: Window, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_theme` [INFO] [stdout] --> src/rpc.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn set_theme(&self, theme_name: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `gesture_multi_line_select` [INFO] [stdout] --> src/rpc.rs:340:12 [INFO] [stdout] | [INFO] [stdout] 340 | pub fn gesture_multi_line_select(&self, view_id: &str, line: u64, col: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `gesture_multi_word_select` [INFO] [stdout] --> src/rpc.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | pub fn gesture_multi_word_select(&self, view_id: &str, line: u64, col: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `highlight_find` [INFO] [stdout] --> src/rpc.rs:473:12 [INFO] [stdout] | [INFO] [stdout] 473 | pub fn highlight_find(&self, view_id: &str, visible: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `hadjustment` [INFO] [stdout] --> src/scrollable_drawing_area.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | hadjustment = 1u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `hscroll_policy` [INFO] [stdout] --> src/scrollable_drawing_area.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | hscroll_policy = 2u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `vadjustment` [INFO] [stdout] --> src/scrollable_drawing_area.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | vadjustment = 3u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `vscroll_policy` [INFO] [stdout] --> src/scrollable_drawing_area.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | vscroll_policy = 4u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scrollable_drawing_area.rs:326:58 [INFO] [stdout] | [INFO] [stdout] 326 | CString::new("hadjustment").unwrap().as_ptr(), [INFO] [stdout] | ------------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scrollable_drawing_area.rs:327:58 [INFO] [stdout] | [INFO] [stdout] 327 | CString::new("hadjustment").unwrap().as_ptr(), [INFO] [stdout] | ------------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scrollable_drawing_area.rs:328:58 [INFO] [stdout] | [INFO] [stdout] 328 | CString::new("hadjustment").unwrap().as_ptr(), [INFO] [stdout] | ------------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scrollable_drawing_area.rs:333:61 [INFO] [stdout] | [INFO] [stdout] 333 | CString::new("hscroll-policy").unwrap().as_ptr(), [INFO] [stdout] | --------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scrollable_drawing_area.rs:334:61 [INFO] [stdout] | [INFO] [stdout] 334 | CString::new("hscroll-policy").unwrap().as_ptr(), [INFO] [stdout] | --------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scrollable_drawing_area.rs:335:61 [INFO] [stdout] | [INFO] [stdout] 335 | CString::new("hscroll-policy").unwrap().as_ptr(), [INFO] [stdout] | --------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scrollable_drawing_area.rs:341:58 [INFO] [stdout] | [INFO] [stdout] 341 | CString::new("vadjustment").unwrap().as_ptr(), [INFO] [stdout] | ------------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scrollable_drawing_area.rs:342:58 [INFO] [stdout] | [INFO] [stdout] 342 | CString::new("vadjustment").unwrap().as_ptr(), [INFO] [stdout] | ------------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scrollable_drawing_area.rs:343:58 [INFO] [stdout] | [INFO] [stdout] 343 | CString::new("vadjustment").unwrap().as_ptr(), [INFO] [stdout] | ------------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scrollable_drawing_area.rs:348:61 [INFO] [stdout] | [INFO] [stdout] 348 | CString::new("vscroll-policy").unwrap().as_ptr(), [INFO] [stdout] | --------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scrollable_drawing_area.rs:349:61 [INFO] [stdout] | [INFO] [stdout] 349 | CString::new("vscroll-policy").unwrap().as_ptr(), [INFO] [stdout] | --------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scrollable_drawing_area.rs:350:61 [INFO] [stdout] | [INFO] [stdout] 350 | CString::new("vscroll-policy").unwrap().as_ptr(), [INFO] [stdout] | --------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | / self.sender.send(CoreMsg::Notification { [INFO] [stdout] 108 | | method: method2, [INFO] [stdout] 109 | | params: params2, [INFO] [stdout] 110 | | }); [INFO] [stdout] | |___________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `source_get` [INFO] [stdout] --> src/channel/source.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn source_get(source: &Source) -> &T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `observers` [INFO] [stdout] --> src/channel/mod.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | observers: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_callback` [INFO] [stdout] --> src/channel/mod.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | fn get_callback(&self) -> Rc>>> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_stream` [INFO] [stdout] --> src/channel/mod.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | fn get_stream(&self) -> Rc>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/channel/mod.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `close` [INFO] [stdout] --> src/channel/mod.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn close(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `emit` [INFO] [stdout] --> src/channel/mod.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn emit(&self, event: MSG) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lock` [INFO] [stdout] --> src/channel/mod.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn lock(&self) -> Lock { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `observe` [INFO] [stdout] --> src/channel/mod.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn observe(&self, callback: CALLBACK) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_callback` [INFO] [stdout] --> src/channel/mod.rs:246:12 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn set_callback(&self, callback: CALLBACK) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `save` [INFO] [stdout] --> src/controller.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn save(&self, view_id: &str, file_path: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_missing` [INFO] [stdout] --> src/linecache.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn get_missing(&self, first: u64, last: u64) -> Vec<(u64, u64)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `builder` [INFO] [stdout] --> src/main_win.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | builder: Builder, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `controller` [INFO] [stdout] --> src/prefs_win.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | controller: ControllerRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `window` [INFO] [stdout] --> src/prefs_win.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | window: Window, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_theme` [INFO] [stdout] --> src/rpc.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn set_theme(&self, theme_name: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `gesture_multi_line_select` [INFO] [stdout] --> src/rpc.rs:340:12 [INFO] [stdout] | [INFO] [stdout] 340 | pub fn gesture_multi_line_select(&self, view_id: &str, line: u64, col: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `gesture_multi_word_select` [INFO] [stdout] --> src/rpc.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | pub fn gesture_multi_word_select(&self, view_id: &str, line: u64, col: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `highlight_find` [INFO] [stdout] --> src/rpc.rs:473:12 [INFO] [stdout] | [INFO] [stdout] 473 | pub fn highlight_find(&self, view_id: &str, visible: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `hadjustment` [INFO] [stdout] --> src/scrollable_drawing_area.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | hadjustment = 1u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `hscroll_policy` [INFO] [stdout] --> src/scrollable_drawing_area.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | hscroll_policy = 2u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `vadjustment` [INFO] [stdout] --> src/scrollable_drawing_area.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | vadjustment = 3u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `vscroll_policy` [INFO] [stdout] --> src/scrollable_drawing_area.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | vscroll_policy = 4u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scrollable_drawing_area.rs:326:58 [INFO] [stdout] | [INFO] [stdout] 326 | CString::new("hadjustment").unwrap().as_ptr(), [INFO] [stdout] | ------------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scrollable_drawing_area.rs:327:58 [INFO] [stdout] | [INFO] [stdout] 327 | CString::new("hadjustment").unwrap().as_ptr(), [INFO] [stdout] | ------------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scrollable_drawing_area.rs:328:58 [INFO] [stdout] | [INFO] [stdout] 328 | CString::new("hadjustment").unwrap().as_ptr(), [INFO] [stdout] | ------------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scrollable_drawing_area.rs:333:61 [INFO] [stdout] | [INFO] [stdout] 333 | CString::new("hscroll-policy").unwrap().as_ptr(), [INFO] [stdout] | --------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scrollable_drawing_area.rs:334:61 [INFO] [stdout] | [INFO] [stdout] 334 | CString::new("hscroll-policy").unwrap().as_ptr(), [INFO] [stdout] | --------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scrollable_drawing_area.rs:335:61 [INFO] [stdout] | [INFO] [stdout] 335 | CString::new("hscroll-policy").unwrap().as_ptr(), [INFO] [stdout] | --------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scrollable_drawing_area.rs:341:58 [INFO] [stdout] | [INFO] [stdout] 341 | CString::new("vadjustment").unwrap().as_ptr(), [INFO] [stdout] | ------------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scrollable_drawing_area.rs:342:58 [INFO] [stdout] | [INFO] [stdout] 342 | CString::new("vadjustment").unwrap().as_ptr(), [INFO] [stdout] | ------------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scrollable_drawing_area.rs:343:58 [INFO] [stdout] | [INFO] [stdout] 343 | CString::new("vadjustment").unwrap().as_ptr(), [INFO] [stdout] | ------------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scrollable_drawing_area.rs:348:61 [INFO] [stdout] | [INFO] [stdout] 348 | CString::new("vscroll-policy").unwrap().as_ptr(), [INFO] [stdout] | --------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scrollable_drawing_area.rs:349:61 [INFO] [stdout] | [INFO] [stdout] 349 | CString::new("vscroll-policy").unwrap().as_ptr(), [INFO] [stdout] | --------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scrollable_drawing_area.rs:350:61 [INFO] [stdout] | [INFO] [stdout] 350 | CString::new("vscroll-policy").unwrap().as_ptr(), [INFO] [stdout] | --------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | / self.sender.send(CoreMsg::Notification { [INFO] [stdout] 108 | | method: method2, [INFO] [stdout] 109 | | params: params2, [INFO] [stdout] 110 | | }); [INFO] [stdout] | |___________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 22s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] Checking gxi v0.2.0 (/tmp/fixit) [INFO] [stdout] warning: use of deprecated associated function `gtk::AdjustmentExt::value_changed` [INFO] [stdout] --> src/edit_view.rs:702:18 [INFO] [stdout] | [INFO] [stdout] 702 | hadj.value_changed(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `gtk::AdjustmentExt::value_changed` [INFO] [stdout] --> src/edit_view.rs:702:18 [INFO] [stdout] | [INFO] [stdout] 702 | hadj.value_changed(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `source_get` [INFO] [stdout] --> src/channel/source.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn source_get(source: &Source) -> &T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `observers` [INFO] [stdout] --> src/channel/mod.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | observers: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_callback` [INFO] [stdout] --> src/channel/mod.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | fn get_callback(&self) -> Rc>>> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_stream` [INFO] [stdout] --> src/channel/mod.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | fn get_stream(&self) -> Rc>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/channel/mod.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `close` [INFO] [stdout] --> src/channel/mod.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn close(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `emit` [INFO] [stdout] --> src/channel/mod.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn emit(&self, event: MSG) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lock` [INFO] [stdout] --> src/channel/mod.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn lock(&self) -> Lock { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `observe` [INFO] [stdout] --> src/channel/mod.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn observe(&self, callback: CALLBACK) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_callback` [INFO] [stdout] --> src/channel/mod.rs:246:12 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn set_callback(&self, callback: CALLBACK) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `save` [INFO] [stdout] --> src/controller.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn save(&self, view_id: &str, file_path: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_missing` [INFO] [stdout] --> src/linecache.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn get_missing(&self, first: u64, last: u64) -> Vec<(u64, u64)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `builder` [INFO] [stdout] --> src/main_win.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | builder: Builder, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `controller` [INFO] [stdout] --> src/prefs_win.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | controller: ControllerRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `window` [INFO] [stdout] --> src/prefs_win.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | window: Window, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_theme` [INFO] [stdout] --> src/rpc.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn set_theme(&self, theme_name: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `gesture_multi_line_select` [INFO] [stdout] --> src/rpc.rs:340:12 [INFO] [stdout] | [INFO] [stdout] 340 | pub fn gesture_multi_line_select(&self, view_id: &str, line: u64, col: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `gesture_multi_word_select` [INFO] [stdout] --> src/rpc.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | pub fn gesture_multi_word_select(&self, view_id: &str, line: u64, col: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `highlight_find` [INFO] [stdout] --> src/rpc.rs:473:12 [INFO] [stdout] | [INFO] [stdout] 473 | pub fn highlight_find(&self, view_id: &str, visible: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `hadjustment` [INFO] [stdout] --> src/scrollable_drawing_area.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | hadjustment = 1u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `hscroll_policy` [INFO] [stdout] --> src/scrollable_drawing_area.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | hscroll_policy = 2u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `vadjustment` [INFO] [stdout] --> src/scrollable_drawing_area.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | vadjustment = 3u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `vscroll_policy` [INFO] [stdout] --> src/scrollable_drawing_area.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | vscroll_policy = 4u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `source_get` [INFO] [stdout] --> src/channel/source.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn source_get(source: &Source) -> &T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `observers` [INFO] [stdout] --> src/channel/mod.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | observers: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_callback` [INFO] [stdout] --> src/channel/mod.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | fn get_callback(&self) -> Rc>>> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_stream` [INFO] [stdout] --> src/channel/mod.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | fn get_stream(&self) -> Rc>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/channel/mod.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `close` [INFO] [stdout] --> src/channel/mod.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn close(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `emit` [INFO] [stdout] --> src/channel/mod.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn emit(&self, event: MSG) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lock` [INFO] [stdout] --> src/channel/mod.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn lock(&self) -> Lock { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `observe` [INFO] [stdout] --> src/channel/mod.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn observe(&self, callback: CALLBACK) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_callback` [INFO] [stdout] --> src/channel/mod.rs:246:12 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn set_callback(&self, callback: CALLBACK) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `save` [INFO] [stdout] --> src/controller.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn save(&self, view_id: &str, file_path: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_missing` [INFO] [stdout] --> src/linecache.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn get_missing(&self, first: u64, last: u64) -> Vec<(u64, u64)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `builder` [INFO] [stdout] --> src/main_win.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | builder: Builder, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `controller` [INFO] [stdout] --> src/prefs_win.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | controller: ControllerRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `window` [INFO] [stdout] --> src/prefs_win.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | window: Window, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_theme` [INFO] [stdout] --> src/rpc.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn set_theme(&self, theme_name: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `gesture_multi_line_select` [INFO] [stdout] --> src/rpc.rs:340:12 [INFO] [stdout] | [INFO] [stdout] 340 | pub fn gesture_multi_line_select(&self, view_id: &str, line: u64, col: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `gesture_multi_word_select` [INFO] [stdout] --> src/rpc.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | pub fn gesture_multi_word_select(&self, view_id: &str, line: u64, col: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `highlight_find` [INFO] [stdout] --> src/rpc.rs:473:12 [INFO] [stdout] | [INFO] [stdout] 473 | pub fn highlight_find(&self, view_id: &str, visible: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `hadjustment` [INFO] [stdout] --> src/scrollable_drawing_area.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | hadjustment = 1u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `hscroll_policy` [INFO] [stdout] --> src/scrollable_drawing_area.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | hscroll_policy = 2u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `vadjustment` [INFO] [stdout] --> src/scrollable_drawing_area.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | vadjustment = 3u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `vscroll_policy` [INFO] [stdout] --> src/scrollable_drawing_area.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | vscroll_policy = 4u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scrollable_drawing_area.rs:326:58 [INFO] [stdout] | [INFO] [stdout] 326 | CString::new("hadjustment").unwrap().as_ptr(), [INFO] [stdout] | ------------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scrollable_drawing_area.rs:327:58 [INFO] [stdout] | [INFO] [stdout] 327 | CString::new("hadjustment").unwrap().as_ptr(), [INFO] [stdout] | ------------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scrollable_drawing_area.rs:328:58 [INFO] [stdout] | [INFO] [stdout] 328 | CString::new("hadjustment").unwrap().as_ptr(), [INFO] [stdout] | ------------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scrollable_drawing_area.rs:333:61 [INFO] [stdout] | [INFO] [stdout] 333 | CString::new("hscroll-policy").unwrap().as_ptr(), [INFO] [stdout] | --------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scrollable_drawing_area.rs:334:61 [INFO] [stdout] | [INFO] [stdout] 334 | CString::new("hscroll-policy").unwrap().as_ptr(), [INFO] [stdout] | --------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scrollable_drawing_area.rs:335:61 [INFO] [stdout] | [INFO] [stdout] 335 | CString::new("hscroll-policy").unwrap().as_ptr(), [INFO] [stdout] | --------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scrollable_drawing_area.rs:341:58 [INFO] [stdout] | [INFO] [stdout] 341 | CString::new("vadjustment").unwrap().as_ptr(), [INFO] [stdout] | ------------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scrollable_drawing_area.rs:342:58 [INFO] [stdout] | [INFO] [stdout] 342 | CString::new("vadjustment").unwrap().as_ptr(), [INFO] [stdout] | ------------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scrollable_drawing_area.rs:343:58 [INFO] [stdout] | [INFO] [stdout] 343 | CString::new("vadjustment").unwrap().as_ptr(), [INFO] [stdout] | ------------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scrollable_drawing_area.rs:348:61 [INFO] [stdout] | [INFO] [stdout] 348 | CString::new("vscroll-policy").unwrap().as_ptr(), [INFO] [stdout] | --------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scrollable_drawing_area.rs:349:61 [INFO] [stdout] | [INFO] [stdout] 349 | CString::new("vscroll-policy").unwrap().as_ptr(), [INFO] [stdout] | --------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scrollable_drawing_area.rs:350:61 [INFO] [stdout] | [INFO] [stdout] 350 | CString::new("vscroll-policy").unwrap().as_ptr(), [INFO] [stdout] | --------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scrollable_drawing_area.rs:326:58 [INFO] [stdout] | [INFO] [stdout] 326 | CString::new("hadjustment").unwrap().as_ptr(), [INFO] [stdout] | ------------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scrollable_drawing_area.rs:327:58 [INFO] [stdout] | [INFO] [stdout] 327 | CString::new("hadjustment").unwrap().as_ptr(), [INFO] [stdout] | ------------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scrollable_drawing_area.rs:328:58 [INFO] [stdout] | [INFO] [stdout] 328 | CString::new("hadjustment").unwrap().as_ptr(), [INFO] [stdout] | ------------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scrollable_drawing_area.rs:333:61 [INFO] [stdout] | [INFO] [stdout] 333 | CString::new("hscroll-policy").unwrap().as_ptr(), [INFO] [stdout] | --------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scrollable_drawing_area.rs:334:61 [INFO] [stdout] | [INFO] [stdout] 334 | CString::new("hscroll-policy").unwrap().as_ptr(), [INFO] [stdout] | --------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scrollable_drawing_area.rs:335:61 [INFO] [stdout] | [INFO] [stdout] 335 | CString::new("hscroll-policy").unwrap().as_ptr(), [INFO] [stdout] | --------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scrollable_drawing_area.rs:341:58 [INFO] [stdout] | [INFO] [stdout] 341 | CString::new("vadjustment").unwrap().as_ptr(), [INFO] [stdout] | ------------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scrollable_drawing_area.rs:342:58 [INFO] [stdout] | [INFO] [stdout] 342 | CString::new("vadjustment").unwrap().as_ptr(), [INFO] [stdout] | ------------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scrollable_drawing_area.rs:343:58 [INFO] [stdout] | [INFO] [stdout] 343 | CString::new("vadjustment").unwrap().as_ptr(), [INFO] [stdout] | ------------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scrollable_drawing_area.rs:348:61 [INFO] [stdout] | [INFO] [stdout] 348 | CString::new("vscroll-policy").unwrap().as_ptr(), [INFO] [stdout] | --------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scrollable_drawing_area.rs:349:61 [INFO] [stdout] | [INFO] [stdout] 349 | CString::new("vscroll-policy").unwrap().as_ptr(), [INFO] [stdout] | --------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scrollable_drawing_area.rs:350:61 [INFO] [stdout] | [INFO] [stdout] 350 | CString::new("vscroll-policy").unwrap().as_ptr(), [INFO] [stdout] | --------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | / self.sender.send(CoreMsg::Notification { [INFO] [stdout] 108 | | method: method2, [INFO] [stdout] 109 | | params: params2, [INFO] [stdout] 110 | | }); [INFO] [stdout] | |___________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | / self.sender.send(CoreMsg::Notification { [INFO] [stdout] 108 | | method: method2, [INFO] [stdout] 109 | | params: params2, [INFO] [stdout] 110 | | }); [INFO] [stdout] | |___________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.25s [INFO] running `Command { std: "docker" "inspect" "6b2271baac9b25785a36b95efefdb324b27c1c18b56425f971b798a9b42e33c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b2271baac9b25785a36b95efefdb324b27c1c18b56425f971b798a9b42e33c4", kill_on_drop: false }` [INFO] [stdout] 6b2271baac9b25785a36b95efefdb324b27c1c18b56425f971b798a9b42e33c4