[INFO] cloning repository https://github.com/Jeffrey-P-McAteer/Theia [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jeffrey-P-McAteer/Theia" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJeffrey-P-McAteer%2FTheia", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJeffrey-P-McAteer%2FTheia'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9f10f110cc4a44c178a543c2c870d73b65f80e3a [INFO] checking Jeffrey-P-McAteer/Theia against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJeffrey-P-McAteer%2FTheia" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Jeffrey-P-McAteer/Theia on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Jeffrey-P-McAteer/Theia [INFO] finished tweaking git repo https://github.com/Jeffrey-P-McAteer/Theia [INFO] tweaked toml for git repo https://github.com/Jeffrey-P-McAteer/Theia written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Jeffrey-P-McAteer/Theia already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded app_dirs v1.2.1 [INFO] [stderr] Downloaded webview-sys v0.3.3 [INFO] [stderr] Downloaded web-view v0.5.4 [INFO] [stderr] Downloaded nfd v0.0.4 [INFO] [stderr] Downloaded vlc-rs v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7bdfe21c5fe43fbdf0a09d076fcfc6d41f6a55be9920a273902a3d77eba9869 [INFO] running `Command { std: "docker" "start" "-a" "b7bdfe21c5fe43fbdf0a09d076fcfc6d41f6a55be9920a273902a3d77eba9869", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7bdfe21c5fe43fbdf0a09d076fcfc6d41f6a55be9920a273902a3d77eba9869", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7bdfe21c5fe43fbdf0a09d076fcfc6d41f6a55be9920a273902a3d77eba9869", kill_on_drop: false }` [INFO] [stdout] b7bdfe21c5fe43fbdf0a09d076fcfc6d41f6a55be9920a273902a3d77eba9869 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6ccc99605a1c8fc9d4f43fb8f14c7c5d777cf78887b003ad27d543d0feed4f7 [INFO] running `Command { std: "docker" "start" "-a" "a6ccc99605a1c8fc9d4f43fb8f14c7c5d777cf78887b003ad27d543d0feed4f7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling serde v1.0.103 [INFO] [stderr] Compiling cc v1.0.48 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking smallvec v1.0.0 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking unicode-normalization v0.1.11 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking boxfnonce v0.1.1 [INFO] [stderr] Compiling webview-sys v0.3.3 [INFO] [stderr] Compiling nfd v0.0.4 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking urlencoding v1.0.0 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Checking app_dirs v1.2.1 [INFO] [stderr] Checking vlc-rs v0.3.0 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking url v2.1.0 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking web-view v0.5.4 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Compiling serde_derive v1.0.103 [INFO] [stderr] Compiling structopt-derive v0.3.5 [INFO] [stderr] Checking structopt v0.3.5 [INFO] [stderr] Checking serde_json v1.0.44 [INFO] [stderr] Checking toml v0.5.5 [INFO] [stderr] Checking theia v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `unk` [INFO] [stdout] --> src/gui.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | unk => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_unk` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unk` [INFO] [stdout] --> src/gui.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | unk => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_unk` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unk` [INFO] [stdout] --> src/gui.rs:280:4 [INFO] [stdout] | [INFO] [stdout] 280 | unk => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_unk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unk` [INFO] [stdout] --> src/gui.rs:280:4 [INFO] [stdout] | [INFO] [stdout] 280 | unk => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_unk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_key` is never used [INFO] [stdout] --> src/config.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 67 | impl Config { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 68 | pub fn get_key(&self, service: &str) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_key` is never used [INFO] [stdout] --> src/config.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 67 | impl Config { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 68 | pub fn get_key(&self, service: &str) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/gui.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | for cap in video_id_regex.captures(yt_url) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 68 | while let Some(cap) = video_id_regex.captures(yt_url) { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 68 | if let Some(cap) = video_id_regex.captures(yt_url) { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/gui.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | for cap in video_id_regex.captures(yt_url) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 68 | while let Some(cap) = video_id_regex.captures(yt_url) { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 68 | if let Some(cap) = video_id_regex.captures(yt_url) { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/gui.rs:143:4 [INFO] [stdout] | [INFO] [stdout] 143 | / handle.dispatch(|webview| { [INFO] [stdout] 144 | | webview.eval(r#" [INFO] [stdout] 145 | | // Define once, and only once, any utility functions. [INFO] [stdout] 146 | | if (!window.addStyleString) { [INFO] [stdout] ... | [INFO] [stdout] 213 | | Ok(()) [INFO] [stdout] 214 | | }); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 143 | let _ = handle.dispatch(|webview| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/gui.rs:143:4 [INFO] [stdout] | [INFO] [stdout] 143 | / handle.dispatch(|webview| { [INFO] [stdout] 144 | | webview.eval(r#" [INFO] [stdout] 145 | | // Define once, and only once, any utility functions. [INFO] [stdout] 146 | | if (!window.addStyleString) { [INFO] [stdout] ... | [INFO] [stdout] 213 | | Ok(()) [INFO] [stdout] 214 | | }); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 143 | let _ = handle.dispatch(|webview| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/gui.rs:144:4 [INFO] [stdout] | [INFO] [stdout] 144 | / webview.eval(r#" [INFO] [stdout] 145 | | // Define once, and only once, any utility functions. [INFO] [stdout] 146 | | if (!window.addStyleString) { [INFO] [stdout] 147 | | window.addStyleString = function (str) { [INFO] [stdout] ... | [INFO] [stdout] 211 | | } [INFO] [stdout] 212 | | "#); [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 144 | let _ = webview.eval(r#" [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/gui.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 218 | webview.run(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 218 | let _ = webview.run(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/gui.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | webview.eval(&format!("window.location = \"https://youtube.com/results?search_query=\"+atob(\"{}\");", &b64_query)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 232 | let _ = webview.eval(&format!("window.location = \"https://youtube.com/results?search_query=\"+atob(\"{}\");", &b64_query)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/gui.rs:313:3 [INFO] [stdout] | [INFO] [stdout] 313 | webview.eval(&format!("window.location = \"https://youtube.com/results?search_query=\"+atob(\"{}\");", &b64_query)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 313 | let _ = webview.eval(&format!("window.location = \"https://youtube.com/results?search_query=\"+atob(\"{}\");", &b64_query)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/gui.rs:144:4 [INFO] [stdout] | [INFO] [stdout] 144 | / webview.eval(r#" [INFO] [stdout] 145 | | // Define once, and only once, any utility functions. [INFO] [stdout] 146 | | if (!window.addStyleString) { [INFO] [stdout] 147 | | window.addStyleString = function (str) { [INFO] [stdout] ... | [INFO] [stdout] 211 | | } [INFO] [stdout] 212 | | "#); [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 144 | let _ = webview.eval(r#" [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/gui.rs:324:2 [INFO] [stdout] | [INFO] [stdout] 324 | / webview.eval(&format!(r#" [INFO] [stdout] 325 | | document.body.innerHTML = ""; [INFO] [stdout] 326 | | var range = document.createRange(); [INFO] [stdout] 327 | | document.body.appendChild( [INFO] [stdout] 328 | | range.createContextualFragment(atob("{}")) [INFO] [stdout] 329 | | ); [INFO] [stdout] 330 | | "#, b64_html)); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 324 | let _ = webview.eval(&format!(r#" [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/gui.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 218 | webview.run(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 218 | let _ = webview.run(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/gui.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | webview.eval(&format!("window.location = \"https://youtube.com/results?search_query=\"+atob(\"{}\");", &b64_query)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 232 | let _ = webview.eval(&format!("window.location = \"https://youtube.com/results?search_query=\"+atob(\"{}\");", &b64_query)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/gui.rs:313:3 [INFO] [stdout] | [INFO] [stdout] 313 | webview.eval(&format!("window.location = \"https://youtube.com/results?search_query=\"+atob(\"{}\");", &b64_query)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 313 | let _ = webview.eval(&format!("window.location = \"https://youtube.com/results?search_query=\"+atob(\"{}\");", &b64_query)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/gui.rs:324:2 [INFO] [stdout] | [INFO] [stdout] 324 | / webview.eval(&format!(r#" [INFO] [stdout] 325 | | document.body.innerHTML = ""; [INFO] [stdout] 326 | | var range = document.createRange(); [INFO] [stdout] 327 | | document.body.appendChild( [INFO] [stdout] 328 | | range.createContextualFragment(atob("{}")) [INFO] [stdout] 329 | | ); [INFO] [stdout] 330 | | "#, b64_html)); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 324 | let _ = webview.eval(&format!(r#" [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.90s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nfd v0.0.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "a6ccc99605a1c8fc9d4f43fb8f14c7c5d777cf78887b003ad27d543d0feed4f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6ccc99605a1c8fc9d4f43fb8f14c7c5d777cf78887b003ad27d543d0feed4f7", kill_on_drop: false }` [INFO] [stdout] a6ccc99605a1c8fc9d4f43fb8f14c7c5d777cf78887b003ad27d543d0feed4f7 [INFO] checking Jeffrey-P-McAteer/Theia against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJeffrey-P-McAteer%2FTheia" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Jeffrey-P-McAteer/Theia on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Jeffrey-P-McAteer/Theia [INFO] finished tweaking git repo https://github.com/Jeffrey-P-McAteer/Theia [INFO] tweaked toml for git repo https://github.com/Jeffrey-P-McAteer/Theia written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Jeffrey-P-McAteer/Theia already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6ead51f7bd650b81af52a8dcf073deeaab507a523ebcd4c037902bef1af57b2 [INFO] running `Command { std: "docker" "start" "-a" "c6ead51f7bd650b81af52a8dcf073deeaab507a523ebcd4c037902bef1af57b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6ead51f7bd650b81af52a8dcf073deeaab507a523ebcd4c037902bef1af57b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6ead51f7bd650b81af52a8dcf073deeaab507a523ebcd4c037902bef1af57b2", kill_on_drop: false }` [INFO] [stdout] c6ead51f7bd650b81af52a8dcf073deeaab507a523ebcd4c037902bef1af57b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dnon_local_definitions" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba21870e23ac9078945d1b25098947bbe7d49dff23761b3d38c4e51b4d84740e [INFO] running `Command { std: "docker" "start" "-a" "ba21870e23ac9078945d1b25098947bbe7d49dff23761b3d38c4e51b4d84740e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling cc v1.0.48 [INFO] [stderr] Compiling serde v1.0.103 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking smallvec v1.0.0 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking unicode-normalization v0.1.11 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling nfd v0.0.4 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling webview-sys v0.3.3 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking boxfnonce v0.1.1 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking urlencoding v1.0.0 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking vlc-rs v0.3.0 [INFO] [stderr] Checking app_dirs v1.2.1 [INFO] [stderr] Checking url v2.1.0 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking web-view v0.5.4 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Compiling serde_derive v1.0.103 [INFO] [stderr] Compiling structopt-derive v0.3.5 [INFO] [stderr] Checking structopt v0.3.5 [INFO] [stderr] Checking toml v0.5.5 [INFO] [stderr] Checking serde_json v1.0.44 [INFO] [stderr] Checking theia v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `unk` [INFO] [stdout] --> src/gui.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | unk => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_unk` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unk` [INFO] [stdout] --> src/gui.rs:280:4 [INFO] [stdout] | [INFO] [stdout] 280 | unk => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_unk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_key` is never used [INFO] [stdout] --> src/config.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 67 | impl Config { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 68 | pub fn get_key(&self, service: &str) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/config.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Serialize, Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Config` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/config.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Serialize, Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/config.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(Serialize, Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_ApiKey` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unk` [INFO] [stdout] --> src/gui.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | unk => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_unk` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/config.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(Serialize, Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_ApiKey` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/gui.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | for cap in video_id_regex.captures(yt_url) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 68 | while let Some(cap) = video_id_regex.captures(yt_url) { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 68 | if let Some(cap) = video_id_regex.captures(yt_url) { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unk` [INFO] [stdout] --> src/gui.rs:280:4 [INFO] [stdout] | [INFO] [stdout] 280 | unk => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_unk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_key` is never used [INFO] [stdout] --> src/config.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 67 | impl Config { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 68 | pub fn get_key(&self, service: &str) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/config.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Serialize, Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Config` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/config.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Serialize, Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/config.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(Serialize, Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_ApiKey` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/config.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(Serialize, Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_ApiKey` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/gui.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | for cap in video_id_regex.captures(yt_url) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 68 | while let Some(cap) = video_id_regex.captures(yt_url) { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 68 | if let Some(cap) = video_id_regex.captures(yt_url) { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/gui.rs:143:4 [INFO] [stdout] | [INFO] [stdout] 143 | / handle.dispatch(|webview| { [INFO] [stdout] 144 | | webview.eval(r#" [INFO] [stdout] 145 | | // Define once, and only once, any utility functions. [INFO] [stdout] 146 | | if (!window.addStyleString) { [INFO] [stdout] ... | [INFO] [stdout] 213 | | Ok(()) [INFO] [stdout] 214 | | }); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 143 | let _ = handle.dispatch(|webview| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/gui.rs:144:4 [INFO] [stdout] | [INFO] [stdout] 144 | / webview.eval(r#" [INFO] [stdout] 145 | | // Define once, and only once, any utility functions. [INFO] [stdout] 146 | | if (!window.addStyleString) { [INFO] [stdout] 147 | | window.addStyleString = function (str) { [INFO] [stdout] ... | [INFO] [stdout] 211 | | } [INFO] [stdout] 212 | | "#); [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 144 | let _ = webview.eval(r#" [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/gui.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 218 | webview.run(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 218 | let _ = webview.run(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/gui.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | webview.eval(&format!("window.location = \"https://youtube.com/results?search_query=\"+atob(\"{}\");", &b64_query)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 232 | let _ = webview.eval(&format!("window.location = \"https://youtube.com/results?search_query=\"+atob(\"{}\");", &b64_query)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/gui.rs:313:3 [INFO] [stdout] | [INFO] [stdout] 313 | webview.eval(&format!("window.location = \"https://youtube.com/results?search_query=\"+atob(\"{}\");", &b64_query)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 313 | let _ = webview.eval(&format!("window.location = \"https://youtube.com/results?search_query=\"+atob(\"{}\");", &b64_query)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/gui.rs:324:2 [INFO] [stdout] | [INFO] [stdout] 324 | / webview.eval(&format!(r#" [INFO] [stdout] 325 | | document.body.innerHTML = ""; [INFO] [stdout] 326 | | var range = document.createRange(); [INFO] [stdout] 327 | | document.body.appendChild( [INFO] [stdout] 328 | | range.createContextualFragment(atob("{}")) [INFO] [stdout] 329 | | ); [INFO] [stdout] 330 | | "#, b64_html)); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 324 | let _ = webview.eval(&format!(r#" [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/gui.rs:143:4 [INFO] [stdout] | [INFO] [stdout] 143 | / handle.dispatch(|webview| { [INFO] [stdout] 144 | | webview.eval(r#" [INFO] [stdout] 145 | | // Define once, and only once, any utility functions. [INFO] [stdout] 146 | | if (!window.addStyleString) { [INFO] [stdout] ... | [INFO] [stdout] 213 | | Ok(()) [INFO] [stdout] 214 | | }); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 143 | let _ = handle.dispatch(|webview| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/gui.rs:144:4 [INFO] [stdout] | [INFO] [stdout] 144 | / webview.eval(r#" [INFO] [stdout] 145 | | // Define once, and only once, any utility functions. [INFO] [stdout] 146 | | if (!window.addStyleString) { [INFO] [stdout] 147 | | window.addStyleString = function (str) { [INFO] [stdout] ... | [INFO] [stdout] 211 | | } [INFO] [stdout] 212 | | "#); [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 144 | let _ = webview.eval(r#" [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/gui.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 218 | webview.run(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 218 | let _ = webview.run(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/gui.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | webview.eval(&format!("window.location = \"https://youtube.com/results?search_query=\"+atob(\"{}\");", &b64_query)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 232 | let _ = webview.eval(&format!("window.location = \"https://youtube.com/results?search_query=\"+atob(\"{}\");", &b64_query)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/gui.rs:313:3 [INFO] [stdout] | [INFO] [stdout] 313 | webview.eval(&format!("window.location = \"https://youtube.com/results?search_query=\"+atob(\"{}\");", &b64_query)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 313 | let _ = webview.eval(&format!("window.location = \"https://youtube.com/results?search_query=\"+atob(\"{}\");", &b64_query)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/gui.rs:324:2 [INFO] [stdout] | [INFO] [stdout] 324 | / webview.eval(&format!(r#" [INFO] [stdout] 325 | | document.body.innerHTML = ""; [INFO] [stdout] 326 | | var range = document.createRange(); [INFO] [stdout] 327 | | document.body.appendChild( [INFO] [stdout] 328 | | range.createContextualFragment(atob("{}")) [INFO] [stdout] 329 | | ); [INFO] [stdout] 330 | | "#, b64_html)); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 324 | let _ = webview.eval(&format!(r#" [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `theia` (bin "theia" test) due to 5 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `theia` (bin "theia") due to 5 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ba21870e23ac9078945d1b25098947bbe7d49dff23761b3d38c4e51b4d84740e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba21870e23ac9078945d1b25098947bbe7d49dff23761b3d38c4e51b4d84740e", kill_on_drop: false }` [INFO] [stdout] ba21870e23ac9078945d1b25098947bbe7d49dff23761b3d38c4e51b4d84740e